General Purpose Timer Module (GPT)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
23-12
Freescale Semiconductor
23.6.12 GPT Flag Register 1 (GPTFLG1)
23.6.13 GPT Flag Register 2 (GPTFLG2)
Note: When the fast flag clear all bit, GPTSCR1[TFFCA], is set, any access to the GPT counter registers clears GPT flag
register 2.
IPSBAR
Offset: 0x1A_000E (GPTFLG1)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
0
0
0
0
CF
W
Reset:
0
0
0
0
0
0
0
0
Figure 23-14. GPT Flag Register 1 (GPTFLG1)
Table 23-15. GPTFLG1 Field Descriptions
Field
Description
7–4
Reserved, should be cleared.
3–0
CnF
Channel flags. A channel flag is set when an input capture or output compare event occurs. These bits are read
anytime, write anytime (writing 1 clears the flag, writing 0 has no effect).
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.
IPSBAR
Offset: 0x1A_000F (GPTFLG2)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
TOF
0
0
0
0
0
0
0
W
Reset:
0
0
0
0
0
0
0
0
Figure 23-15. GPT Flag Register 2 (GPTFLG2)
Table 23-16. GPTFLG2 Field Descriptions
Field
Description
7
TOF
Timer overflow flag. Set when the GPT counter rolls over from 0xFFFF to 0x0000. If the TOI bit in GPTSCR2 is also
set, TOF generates an interrupt request. This bit is read anytime, write anytime (writing 1 clears the flag, and writing
0 has no effect).
1 Timer overflow
0 No timer overflow
Note: When the GPT channel 3 registers contain 0xFFFF and TCRE is set, TOF does not get set even though the
GPT counter registers go from 0xFFFF to 0x0000. When TOF is set, it does not inhibit subsequent overflow
events.
6–0
Reserved, should be cleared.
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