Chapter 15 Timer Module (TIM16B8CV1) Block Description
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
461
Rev 01.24
15.4.6
Gated Time Accumulation Mode
Setting the PAMOD bit configures the pulse accumulator for gated time accumulation operation. An active
level on the PACNT input pin enables a divided-by-64 clock to drive the pulse accumulator. The PEDGE
bit selects low levels or high levels to enable the divided-by-64 clock.
The trailing edge of the active level at the IOC7 pin sets the PAIF. The PAI bit enables the PAIF flag to
generate interrupt requests.
The pulse accumulator counter register reflect the number of pulses from the divided-by-64 clock since the
last reset.
NOTE
The timer prescaler generates the divided-by-64 clock. If the timer is not
active, there is no divided-by-64 clock.
15.5
Resets
The reset state of each individual bit is listed within
Section 15.3, “Memory Map and Register Definition”
which details the registers and their bit fields.
15.6
Interrupts
This section describes interrupts originated by the TIM16B8CV1 block.
generated by the TIM16B8CV1 to communicate with the MCU.
The TIM16B8CV1 uses a total of 11 interrupt vectors. The interrupt vector offsets and interrupt numbers
are chip dependent.
15.6.1
Channel [7:0] Interrupt (C[7:0]F)
This active high outputs will be asserted by the module to request a timer channel 7 – 0 interrupt to be
serviced by the system controller.
Table 15-23. TIM16B8CV1 Interrupts
Interrupt
Offset
(1)
1. Chip Dependent.
Vector
1
Priority
1
Source
Description
C[7:0]F
—
—
—
Timer Channel 7–0
Active high timer channel interrupts 7–0
PAOVI
—
—
—
Pulse Accumulator
Input
Active high pulse accumulator input interrupt
PAOVF
—
—
—
Pulse Accumulator
Overflow
Pulse accumulator overflow interrupt
TOF
—
—
—
Timer Overflow
Timer Overflow interrupt
Summary of Contents for MC9S12C Family
Page 689: ......