General Purpose Timer Module (GPT)
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
20-10
Freescale Semiconductor
Preliminary
20.6.9
GPT Control Register 2 (GPTCTL2)
20.6.10 GPT Interrupt Enable Register (GPTIE)
Table 20-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 OM
n
or OL
n
is set and the IOS
n
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 OC
n
output line
10 Clear OC
n
output line
11 Set OC
n
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.
IPSBAR
Offset: 0x1A_000B (GPTCTL2)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
EDG3B
EDG3A
EDG2B
EDG2A
EDG1B
EDG1A
EDG0B
EDG0A
W
Reset:
0
0
0
0
0
0
0
0
Figure 20-11. GPT Control Register 2(GPTCTL2)
Table 20-12. GPTLCTL2 Field Descriptions
Field
Description
7–0
EDGn[B:A]
Input capture edge control. Configures the input capture edge detector circuits for each channel. These bits are
read anytime, write anytime.
00 Input capture disabled
01 Input capture on rising edges only
10 Input capture on falling edges only
11 Input capture on any edge (rising or falling)
IPSBAR
Offset: 0x1A_000C (GPTIE)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
0
0
0
0
CI
W
Reset:
0
0
0
0
0
0
0
0
Figure 20-12. GPT Interrupt Enable Register (GPTIE)