MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 188

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
TIM
TIM Status and
Control Register
MC68HC708XL36
188
Address:
The TIM status and control register:
TOF — TIM Overflow Flag Bit
TOIE — TIM Overflow Interrupt Enable Bit
Reset:
Read:
Write:
This read/write flag is set when the TIM counter resets to $0000 after
reaching 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 clearing sequence is complete, then
writing logic 0 to TOF has no effect. Therefore, a TOF interrupt
request cannot be lost due to inadvertent clearing of TOF. Reset
clears the TOF bit. Writing a logic 1 to TOF has no effect.
This read/write bit enables TIM overflow interrupts when the TOF bit
becomes set. Reset clears the TOIE bit.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Modulo value reached
0 = Modulo value not reached
1 = TIM overflow interrupts enabled
0 = TIM overflow interrupts disabled
Enables TIM overflow interrupts
Flags TIM overflows
Stops the TIM counter
Resets the TIM counter
Prescales the TIM counter clock
$0020
Bit 7
TOF
Figure 4. TIM Status and Control Register (TSC)
0
0
Go to: www.freescale.com
= Unimplemented
TOIE
6
0
TIM
TSTOP
5
1
TRST
4
0
0
3
0
0
PS2
2
0
PS1
1
0
MOTOROLA
18-tim4_b
Bit 0
PS0
0

Related parts for MC68HC708XL36