General Purpose Timer Module (GPT)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
23-9
23.6.7
GPT Toggle-On-Overflow Register (GPTTOV)
23.6.8
GPT Control Register 1 (GPTCTL1)
IPSBAR
Offset: 0x1A_0008 (GPTTOV)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
0
0
0
0
TOV
W
Reset:
0
0
0
0
0
0
0
0
Figure 23-9. GPT Toggle-On-Overflow Register (GPTTOV)
Table 23-10. GPTTOV Field Description
Field
Description
7–4
Reserved, should be cleared.
3–0
TOV
Toggles the output compare pin on overflow for each channel. This feature only takes effect when in output compare
mode. When set, it takes precedence over forced output compare but not channel 3 override events. These bits are
read anytime, write anytime.
1 Toggle output compare pin on overflow feature enabled
0 Toggle output compare pin on overflow feature disabled
IPSBAR
Offset: 0x1A_0009 (GPTCTL1)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
OM3
OL3
OM2
OL2
OM1
OL1
OM0
OL0
W
Reset:
0
0
0
0
0
0
0
0
Figure 23-10. GPT Control Register 1 (GPTCTL1)
Table 23-11. GPTCL1 Field Descriptions
Field
Description
7–0
OMx/OLx
Output mode/output level. Selects the output action to be taken as a result of a successful output compare on each
channel. When OMn or OLn is set and the IOSn bit is set, the pin is an output regardless of the state of the
corresponding DDR bit. These bits are read anytime, write anytime.
00 GPT disconnected from output pin logic
01 Toggle OCn output line
10 Clear OCn output line
11 Set OCn line
Note: Channel 3 shares a pin with the pulse accumulator input pin. To use the PAI input, clear the OM3 and OL3
bits and clear the OC3M3 bit in the output compare 3 mask register.
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