|
MC68HC705P6A Datasheet, PDF (68/130 Pages) Motorola, Inc – HCMOS Microcontroller Unit | |||
|
◁ |
Capture/Compare Timer
8.4 Timer I/O Registers
The following I/O registers control and monitor timer operation:
⢠Timer control register (TCR)
⢠Timer status register (TSR)
⢠Timer registers (TRH and TRL)
⢠Alternate timer registers (ATRH and ATRL)
⢠Input capture registers (ICRH and ICRL)
⢠Output compare registers (OCRH and OCRL)
8.4.1 Timer Control Register
The timer control register (TCR), shown in Figure 8-2, performs these
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
Address:
Read:
Write:
Reset:
$0012
Bit 7
6
5
4
3
2
1
0
0
0
ICIE
OCIE TOIE
IEDG
0
0
0
0
0
0
U
= Unimplemented U = Undetermined
Figure 8-2. Timer Control Register (TCR)
Bit 0
OLVL
0
Advance Information
68
Capture/Compare Timer
MC68HC705P6A â Rev. 2.0
MOTOROLA
|
▷ |