mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 382

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Module (TIM16B8CV3)
12.3.2.7
Read: Anytime
Write: Anytime
Note: Bits related to available channels have functional significance. Writing to unavailable bits has no effect. Read from
382
Module Base + 0x0007
TOV[7:0]
TFFCA
Reset
PRNT
Field
Field
7:0
unavailable bits return a zero.
4
3
W
R
TOV7
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)
Precision Timer
0 Enables legacy timer. PR0, PR1, and PR2 bits of the TSCR2 register are used for timer counter prescaler
1 Enables precision timer. All bits of the PTPSR register are used for Precision Timer Prescaler Selection, and
This bit is writable only once out of reset.
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)
0
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) if channel 7 exists. 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.
selection.
all bits.
Figure 12-13. Timer Toggle On Overflow Register 1 (TTOV)
TOV6
0
6
Table 12-6. TSCR1 Field Descriptions (continued)
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Table 12-7. TTOV Field Descriptions
TOV5
0
5
TOV4
0
4
Description
Description
TOV3
0
3
Rev. 2.2
TOV2
0
2
Freescale Semiconductor
TOV1
0
1
TOV0
0
0

Related parts for mc9s12vr48