English
Language : 

MC68HC08AS32 Datasheet, PDF (239/280 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
15.5.1 Wait Mode
The TIM remains active after the execution of a WAIT instruction. In wait mode, the
TIM registers are not accessible by the CPU. Any enabled CPU interrupt request
from the TIM can bring the MCU out of wait mode.
If TIM functions are not required during wait mode, reduce power consumption by
stopping the TIM before executing the WAIT instruction.
15.5.2 Stop Mode
The TIM is inactive after the execution of a STOP instruction. The STOP instruction
does not affect register conditions or the state of the TIM counter. TIM operation
resumes when the MCU exits stop mode.
15.6 TIM During Break Interrupts
A break interrupt stops the TIM counter.
The system integration module (SIM) controls whether status bits in other modules
can be cleared during the break state. The BCFE bit in the SIM break flag control
register (SBFCR) enables software to clear status bits during the break state. (See
13.7.3 SIM Break Flag Control Register.)
To allow software to clear status bits during a break interrupt, write a logic 1 to the
BCFE bit. If a status bit is cleared during the break state, it remains cleared when
the MCU exits the break state.
To protect status bits during the break state, write a logic 0 to the BCFE bit. With
BCFE at logic 0 (its default state), software can read and write I/O registers during
the break state without affecting status bits. Some status bits have a 2-step
read/write clearing procedure. If software does the first step on such a bit before
the break, the bit cannot change during the break state as long as BCFE is at
logic 0. After the break, doing the second step clears the status bit.
15.7 I/O Signals
Port D shares one of its pins with the TIM. Port E shares two of its pins with the TIM
and port F shares four of its pins with the TIM. PTD6/ATD14/TCLK is an external
clock input to the TIM prescaler. The six TIM channel I/O pins are PTE2/TCH0,
PTE3/TCH1, PTF0/TCH2, PTF1/TCH3, PTF2/TCH4, and PTF3/TCH5.
15.7.1 TIM Clock Pin (PTD6/ATD14/TCLK)
PTD6/ATD14/TCLK is an external clock input that can be the clock source for the
TIM counter instead of the prescaled internal bus clock. Select the
PTD6/ATD14/TCLK input by writing logic 1s to the three prescaler select bits,
MC68HC08AS32 — Rev. 4.1
Freescale Semiconductor
Data Sheet
239