mc9s12c32mpb16 Freescale Semiconductor, Inc, mc9s12c32mpb16 Datasheet - Page 446

no-image

mc9s12c32mpb16

Manufacturer Part Number
mc9s12c32mpb16
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 15 Timer Module (TIM16B8CV1) Block Description
15.3.2.7
Read: Anytime
Write: Anytime
15.3.2.8
446
Module Base + 0x0007
Module Base + 0x0008
TOV[7:0]
TSFRZ
TFFCA
Reset
Reset
Field
Field
7:0
5
4
W
W
R
R
TOV7
OM7
Timer Stops While in Freeze Mode
0 Allows the timer counter to continue running while in freeze mode.
1 Disables the timer counter whenever the MCU is in freeze mode. This is useful for emulation.
TSFRZ does not stop the pulse accumulator.
Timer Fast Flag Clear All
0 Allows the timer flag clearing to function normally.
1 For TFLG1(0x000E), a read from an input capture or a write to the output compare channel (0x0010–0x001F)
Toggle On Overflow Bits — TOVx toggles output compare pin on overflow. This feature only takes effect when
in output compare mode. When set, it takes precedence over forced output compare but not channel 7 override
events.
0 Toggle output compare pin on overflow feature disabled.
1 Toggle output compare pin on overflow feature enabled.
Timer Toggle On Overflow Register 1 (TTOV)
Timer Control Register 1/Timer Control Register 2 (TCTL1/TCTL2)
0
0
7
7
causes the corresponding channel flag, CnF, to be cleared. For TFLG2 (0x000F), any access to the TCNT
register (0x0004, 0x0005) clears the TOF flag. Any access to the PACNT registers (0x0022, 0x0023) clears
the PAOVF and PAIF flags in the PAFLG register (0x0021). This has the advantage of eliminating software
overhead in a separate clear sequence. Extra care is required to avoid accidental flag clearing due to
unintended accesses.
Figure 15-13. Timer Toggle On Overflow Register 1 (TTOV)
TOV6
OL7
0
0
6
6
Table 15-6. TSCR1 Field Descriptions (continued)
Figure 15-14. Timer Control Register 1 (TCTL1)
Table 15-7. TTOV Field Descriptions
TOV5
MC9S12C-Family / MC9S12GC-Family
OM6
0
0
5
5
Rev 01.23
TOV4
OL6
0
0
4
4
Description
Description
TOV3
OM5
0
0
3
3
TOV2
OL5
0
0
2
2
Freescale Semiconductor
TOV1
OM4
0
0
1
1
TOV0
OL4
0
0
0
0

Related parts for mc9s12c32mpb16