Advance Information MC68HC908MR16/MC68HC908MR32 — Rev. 4.0
214 Timer Interface A (TIMA) MOTOROLA
Timer Interface A (TIMA)
11.8 I/O Registers
These input/output (I/O) registers control and monitor TIMA operat io n:
TIMA status and control register (TASC)
TIMA control registers (TACNTH–TACNTL)
TIMA counter modulo registers (TAMODH–TAMODL)
TIMA channel status and control registers (TASC0, TASC1,
TASC2, and TASC3)
TIMA channel registers (TACH0H–TACH0L, TACH1H–TACH1L,
TACH2H–TACH2L, and TACH3H–TACH3L)
11.8.1 TIMA Status and Control Register
The TIMA status and control register:
Enables TIMA overflow interrupts
Flags TIMA overflows
Stops the TIMA counter
Resets the TIMA counter
Prescales the TIMA counter clock
TOF — TIMA Overflow Flag
This read/write flag is set when the TIMA counter resets to $0000 after
reaching the modulo value programmed i n the TI MA cou nte r mo dulo
registers. Clear TOF by reading the TIMA status and contro l r eg i ster
when TOF is set and then writing a logic 0 to TOF. If another TIMA
overflow occurs before the clearing sequence is complete, then
Address: $000E
Bit 7654321Bit 0
Read: TOF TOIE TSTOP 00
PS2 PS1 PS0
Write: 0 TRST R
Reset:00100000
R= Reserved
Figure 11-4. TIMA Status and Control Register (TASC)