![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 303](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619303.webp)
General Purpose Timer Module (GPT)
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
Freescale Semiconductor
18-21
18.8
Reset
Reset initializes the GPT registers to a known startup state as described in
.”
18.9
Interrupts
lists the interrupt requests generated by the timer.
18.9.1
GPT Channel Interrupts (C
n
F)
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
18.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.
NOTE
When the fast flag clear all enable bit (GPTSCR1[TFFCA]) is set, any
access to the pulse accumulator counter registers clears all the flags in
GPTPAFLG.
6
A successful output compare on channel 3 causes an output value determined by OC3D
n
value to temporarily override the
output compare pin state of any other output compare channel.The next OC action for the specific channel continues to be
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 18-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