mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 489

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
16.3.2.10 Timer Interrupt Enable Register (TIE)
Read: Anytime
Write: Anytime.
16.3.2.11 Timer System Control Register 2 (TSCR2)
Read: Anytime
Write: Anytime.
Freescale Semiconductor
C7I:C0I
PR[2:0]
Reset
Reset
TCRE
Field
Field
TOI
7:0
7
3
2
W
W
R
R
Input Capture/Output Compare “x” Interrupt Enable — The bits in TIE correspond bit-for-bit with the bits in
the TFLG1 status register. If cleared, the corresponding flag is disabled from causing a hardware interrupt. If set,
the corresponding flag is enabled to cause a interrupt.
Timer Overflow Interrupt Enable
0 Interrupt inhibited.
1 Hardware interrupt requested when TOF flag set.
Timer Counter Reset Enable — This bit allows the timer counter to be reset by a successful output compare 7
event. This mode of operation is similar to an up-counting modulus counter.
0 Counter reset inhibited and counter free runs.
1 Counter reset by a successful output compare 7.
If TC7 = 0x0000 and TCRE = 1, TCNT will stay at 0x0000 continuously. If TC7 = 0xFFFF and TCRE = 1, TOF
will never be set when TCNT is reset from 0xFFFF to 0x0000.
Timer Prescaler Select — These three bits select the frequency of the timer prescaler clock derived from the
Bus Clock as shown in
C7I
TOI
0
0
7
7
= Unimplemented or Reserved
C6I
Figure 16-19. Timer System Control Register 2 (TSCR2)
0
0
0
6
6
Figure 16-18. Timer Interrupt Enable Register (TIE)
Table
Table 16-13. TSCR2 Field Descriptions
Table 16-12. TIE Field Descriptions
MC9S12HZ256 Data Sheet, Rev. 2.05
16-14.
C5I
0
0
0
5
5
C4I
0
0
0
4
4
Description
Description
TCRE
C3I
0
0
3
3
PR2
Chapter 16 Timer Module (TIM16B8CV1)
C2I
0
0
2
2
PR1
C1I
0
0
1
1
PR0
C0I
0
0
0
0
489

Related parts for mc9s12hz256v2