English
Language : 

MC68HC05P9A Datasheet, PDF (95/158 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Timer Control
Register
15-tim1ic1oc_a
MOTOROLA
Freescale Semiconductor, Inc.
Timer
I/O Registers
The timer control register (TCR) performs the following functions:
• Enables input capture interrupts
• Enables output compare interrupts
• Enables timer overflow interrupts
• Controls the active edge polarity of the TCAP signal
• Controls the active level of the TCMP output
$0012 Bit 7
6
5
4
3
2
1
Read:
ICIE OCIE TOIE
0
0
0
IEDG
Write:
Reset: 0
0
0
0
0
0
U
U = Unaffected
Figure 51. Timer Control Register (TCR)
Bit 0
OLVL
0
ICIE — Input Capture Interrupt Enable
This read/write bit enables interrupts caused by an active signal on
the PD7/TCAP pin. Reset clears the ICIE bit.
1 = Input capture interrupts enabled
0 = Input capture interrupts disabled
OCIE — Output Compare Interrupt Enable
This read/write bit enables interrupts caused by an active signal on
the TCMP pin. Reset clears the OCIE bit.
1 = Output compare interrupts enabled
0 = Output compare interrupts disabled
TOIE — Timer Overflow Interrupt Enable
This read/write bit enables interrupts caused by a timer overflow.
Reset clears the TOIE bit.
1 = Timer overflow interrupts enabled
0 = Timer overflow interrupts disabled
Bits 4–2 — Unused
These are read/write bits that always read as logic 0s.
Timer
95
For More Information On This Product,
Go to: www.freescale.com