mc68hc908rk2 Freescale Semiconductor, Inc, mc68hc908rk2 Datasheet - Page 208

no-image

mc68hc908rk2

Manufacturer Part Number
mc68hc908rk2
Description
Hcmos Microcontroller Unit
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface Module (TIM)
15.9 I/O Registers
15.9.1 TIM Status and Control Register
Advance Information
208
Address:
These I/O registers control and monitor operation of the TIM:
The TIM status and control register (TSC):
TOF — TIM Overflow Flag Bit
Reset:
Read:
Write:
This read/write flag is set when the TIM counter reaches the modulo
value programmed in the TIM counter modulo registers. Clear TOF by
reading the TIM status and control register when TOF is set and then
writing a logic 0 to TOF. If another TIM overflow occurs before the
TIM status and control register, TSC
TIM control registers, TCNTH and TCNTL
TIM counter modulo registers, TMODH and TMODL
TIM channel status and control registers, TSC0 and TSC1
TIM channel registers, TCH0H, TCH0L, TCH1H, and TCH1L
Enables TIM overflow interrupts
Flags TIM overflows
Stops the TIM counter
Resets the TIM counter
Prescales the TIM counter clock
Figure 15-4. TIM Status and Control Register (TSC)
$0020
Bit 7
TOF
0
0
Timer Interface Module (TIM)
= Unimplemented
TOIE
6
0
TSTOP
5
1
TRST
4
0
0
3
0
0
MC68HC908RK2
PS2
2
0
PS1
1
0
MOTOROLA
Rev. 4.0
Bit 0
PS0
0

Related parts for mc68hc908rk2