English
Language : 

MC68HC708MP16 Datasheet, PDF (205/398 Pages) Freescale Semiconductor, Inc – Microcontrollers
Timer Interface Module A (TIMA)
Addr.
$0015
$0016
Name
Bit 7 6
Read:
Timer A Channel 1 Register
High (TACH1H)
Write:
Bit 15
14
Reset:
Read:
Timer A Channel 1 Register
Low (TACH1L)
Write:
Bit 7
6
Reset:
5
4
3
2
13
12
11
10
Indeterminate after reset
5
4
3
2
Indeterminate after reset
= Unimplemented
Figure 11-2. TIMA I/O Register Summary (Continued)
1 Bit 0
9
Bit 8
1
Bit 0
11.4.1 TIMA Counter Prescaler
The TIMA clock source can be one of the seven prescaler outputs or the
TIMA clock pin, PTE0/TCLKA. The prescaler generates seven clock
rates from the internal bus clock. The prescaler select bits, PS[2:0], in
the TIMA status and control register select the TIMA clock source.
11.4.2 Input Capture
With the input capture function, the TIMA can capture the time at which
an external event occurs. When an active edge occurs on the pin of an
input capture channel, the TIMA latches the contents of the TIMA
counter into the TIMA channel registers, TACHxH:TACHxL. The polarity
of the active edge is programmable. Input captures can generate
TIM CPU interrupt requests.
11.4.3 Output Compare
With the output compare function, the TIMA can generate a periodic
pulse with a programmable polarity, duration, and frequency. When the
counter reaches the value in the registers of an output compare channel,
the TIMA can set, clear, or toggle the channel pin. Output compares can
generate TIM CPU interrupt requests.
MC68HC708MP16 — Rev. 3.1
Freescale Semiconductor
Timer Interface Module A (TIMA)
Technical Data
205