mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 302

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface A (TIMA)
Technical Data
300
NOTE:
Address:
TOF — TIMA Overflow Flag Bit
TOIE — TIMA Overflow Interrupt Enable Bit
TSTOP — TIMA Stop Bit
Do not set the TSTOP bit before entering wait mode if the TIMA is
required to exit wait mode.
Reset:
Read:
Write:
This read/write flag is set when the TIMA counter resets to $0000 after
reaching the modulo value programmed in the TIMA counter modulo
registers. Clear TOF by reading the TIMA status and control register
when TOF is set and then writing a logic 0 to TOF. If another TIMA
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 TIMA overflow interrupts when the TOF bit
becomes set. Reset clears the TOIE bit.
This read/write bit stops the TIMA counter. Counting resumes when
TSTOP is cleared. Reset sets the TSTOP bit, stopping the TIMA
counter until software clears the TSTOP bit.
1 = TIMA counter has reached modulo value.
0 = TIMA counter has not reached modulo value.
1 = TIMA overflow interrupts enabled
0 = TIMA overflow interrupts disabled
1 = TIMA counter stopped
0 = TIMA counter active
Figure 20-4. TIMA Status and Control Register (TASC)
$0020
Bit 7
TOF
R
0
0
Timer Interface A (TIMA)
= Reserved
TOIE
6
0
TSTOP
5
1
TRST
4
0
0
R
3
0
0
PS2
Freescale Semiconductor
2
0
MC68HC08QA24
PS1
1
0
Bit 0
PS0
0

Related parts for mc68hc08qa24