Using the component property
processor clock/speed selection, it is possible to define the speed modes supported by the component.
Some components allow to set two values of the processor clock/speed selection property:
- Supported
- The processor clock/speed selection group contains properties defining which speed modes are supported for the component.
- Ignored
- The speed mode settings are ignored and there are no action is performed when a speed mode is changed, that is the peripheral continues to run with the same configuration for all speed modes. No speed mode handling code is generated for this component. The component timing values are valid only for high-speed mode.
The following features are available for high-level components, if the processor clock/speed selection is not set to ignored:
- During the design, all the timing-related settings for such a component are checked to be correct in all the speed modes that the component supports and the component is enabled in these modes.
- If the speed mode is changed, the current timing components are preserved (recalculated to be the same in the new speed mode), except the timing that is set at runtime from interval. If the processor speed mode is changed to a mode that the component does not support for any reason, the component is disabled right after the processor speed mode is changed. Otherwise, the component is enabled.
- Before or after the speed mode is changed, the BeforeNewSpeed and AfterNewSpeed event functions are called.