|
MC908JB16DWE Datasheet, PDF (152/332 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Timer Interface Module (TIM)
10.10 I/O Registers
NOTE:
References to either timer 1 or timer 2 may be made in the following text
by omitting the timer number. For example, TSC may generically refer to
both T1SC and T2SC.
These I/O registers control and monitor operation of the TIM:
⢠TIM status and control register (TSC)
⢠TIM counter registers (TCNTH:TCNTL)
⢠TIM counter modulo registers (TMODH:TMODL)
⢠TIM channel status and control registers (TSC0, TSC1)
⢠TIM channel registers (TCH0H:TCH0L, TCH1H:TCH1L)
10.10.1 TIM Status and Control Register
The TIM status and control register (TSC):
⢠Enables TIM overflow interrupts
⢠Flags TIM overflows
⢠Stops the TIM counter
⢠Resets the TIM counter
⢠Prescales the TIM counter clock
Address: T1SC, $000A and T2SC, $0040
Bit 7
6
5
4
3
2
1
Bit 0
Read: TOF
0
0
TOIE TSTOP
Write: 0
TRST
PS2
PS1
PS0
Reset: 0
0
1
0
0
0
0
0
= Unimplemented
Figure 10-4. TIM Status and Control Register (TSC)
Technical Data
152
Timer Interface Module (TIM)
MC68HC908JB16 â Rev. 1.1
Freescale Semiconductor
|
▷ |