General Purpose Timer Module (GPT)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
23-21
23.8
Reset
Reset initializes the GPT registers to a known startup state as described in
.”
23.9
Interrupts
lists the interrupt requests generated by the timer.
23.9.1
GPT Channel Interrupts (CnF)
A channel flag is set when an input capture or output compare event occurs. Clear a channel flag by writing
a 1 to it.
NOTE
When the fast flag clear all bit (GPTSCR1[TFFCA]) is set, an input capture
read or an output compare write clears the corresponding channel flag.
When a channel flag is set, it does not inhibit subsequent output compares
or input captures
23.9.2
Pulse Accumulator Overflow (PAOVF)
PAOVF is set when the 16-bit pulse accumulator rolls over from 0xFFFF to 0x0000. If the PAOVI bit in
GPTPACTL is also set, PAOVF generates an interrupt request. Clear PAOVF by writing a 1 to this flag.
3
Setting an OC3M bit configures the corresponding PORTTn pin to be output. OC3Mn makes the PORTTn pin an output
regardless of the data direction bit when the pin is configured for output compare (IOSn = 1). The OC3Mn bits do not change
the state of the PORTTnDDR bits.
4
X = Don’t care
5
An output compare overrides the data direction bit of the output compare pin but does not change the state of the data
direction bit. Enabling output compare disables data register drive of the pin.
6
A successful output compare on channel 3 causes an output value determined by OC3Dn value to temporarily override the
output compare pin state of any other output compare channel.The next OC action for the specific channel remains output to
the pin. A channel 3 output compare can cause bits in the output compare 3 data register to transfer to the GPT port data
register, depending on the output compare 3 mask register.
Table 23-24. GPT Interrupt Requests
Interrupt Request
Flag
Enable Bit
Channel 3 IC/OC
C3F
C3I
Channel 2 IC/OC
C2F
C2I
Channel 1 IC/OC
C1F
C1I
Channel 0 IC/OC
C0F
C0I
PA overflow
PAOVF
PAOVI
PA input
PAIF
PAI
Timer overflow
TOF
TOI
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60