Datasheet
ST10F269 9 - CAPTURE/COMPARE (CAPCOM) UNITS
51/184
Table 9 : Compare Modes
Compare Modes Function
Mode 0 Interrupt-only compare mode; several compare interrupts per timer period are possible
Mode 1 Pin toggles on each compare match; several compare events per timer period are possible
Mode 2 Interrupt-only compare mode; only one compare interrupt per timer period is generated
Mode 3 Pin set ‘1’ on match; pin reset ‘0’ on compare time overflow; only one compare event per timer
period is generated
Double Register
Mode
Two registers operate on one pin; pin toggles on each compare match; several compare events
per timer period are possible.
Table 10 : CAPCOM Timer Input Frequencies, Resolution and Periods (PQFP144 devices)
f
CPU
= 40MHz
Timer Input Selection TxI
000b 001b 010b 011b 100b 101b 110b 111b
Pre-scaler for
f
CPU
8 16 32 64 128 256 512 1024
Input Frequency 5MHz 2.5MHz 1.25MHz 625kHz 312.5kHz 156.25kHz 78.125kHz 39.1kHz
Resolution 200ns 400ns 0.8µs 1.6µs 3.2µs 6.4µs 12.8µs 25.6µs
Period 13.1ms 26.2ms 52.4ms 104.8ms 209.7ms 419.4ms 838.9ms 1.678s
Table 11 : CAPCOM Timer Input Frequencies, Resolution and Periods (TQFP144 devices)
f
CPU
= 32MHz
Timer Input Selection TxI
000b 001b 010b 011b 100b 101b 110b 111b
Pre-scaler for
f
CPU
8 16 32 64 128 256 512 1024
Input Frequency 4MHz 2MHz 1MHz 500KHz 250KHz 125KHz 62.5KHz 31.125KHz
Resolution 250ns 500ns 1µs2µs4µs8µs16µs32µs
Period 16.4ms 32.8ms 65.5ms 131ms 262.1ms 524.3ms 1.05s 2.1s