These timer peripherals provide multiple channels and allow several modes of operation.
The RS08 contains only one device of such kind:
TPM
(Timer/PWM modules) Processor Expert shows each of these timer peripherals as multiple devices that can be used by the components.
The name of such device (shown in the peripheral selection list) consists of the peripheral and a suffix specifying the part of the peripheral or it's specific function. These named devices represent the whole peripheral or parts of the peripheral set to work in a specific mode. Using only a part of the timer allows to share the timer by multiple components.
The following devices are usually defined for the complex timer peripherals (the examples are for MC9RS08SA12 processor):
- TPM ( for example, TPM) - Whole timer including all channels and control registers. (Sometimes the 'x' is omitted if there is only one such timer on the chip). This device blocks all other devices defined for this timer.
- TPMxy ( for example, TPM1) - Channel 'y' of the timer 'x'. (Sometimes the 'x' is omitted if there is only one timer on the chip)
- TPMx_PPG ( for example, TPM_PPG) - Whole timer in a programmable pulse generation mode (Sometimes the 'x' is omitted if there is only one timer on the chip)
- TPMxPP ( for example, TPMPP) - Modulo register of the timer in a programmable pulse generation mode (Sometimes the 'x' is omitted if there is only one timer on the chip)
- TPMxyPPG ( for example, TPMPPG) - Channel 'y' of the timer 'x' in the programmable pulse generation mode (Sometimes the 'x' is omitted if there is only one timer on the chip)
- TPMxfree ( for example, TPMfree) - This device represents the overflow flag and interrupt capabilities of the counter. The range is of the counter is not limited and it is determined by the size of the counter register so the timing is controlled only by the prescaler selection (Sometimes the 'x' is omitted if there is only one timer on the chip)
Note: Even though the multiple devices defined for a timer are configured independently, they can be mutually dependent. For example, they share one common prescaler.
Processor Expert instantly checks components configuration and only valid combinations are allowed. For details, see
Timing settings topic.