4 gpt output compare 3 data register (gptoc3d), 5 gpt counter register (gptcnt) – Motorola ColdFire MCF5281 User Manual

Page 375

Advertising
background image

General Purpose Timer Modules (GPTA and GPTB)

Freescale Semiconductor

20-7

20.5.4

GPT Output Compare 3 Data Register (GPTOC3D)

NOTE

A successful channel 3 output compare overrides any channel 2:0 compares.
For each OC3M bit that is set, the output compare action reflects the
corresponding OC3D bit.

20.5.5

GPT Counter Register (GPTCNT)

Table 20-6. GPTOC3M Field Descriptions

Bit(s)

Name

Description

7–4

Reserved, should be cleared.

3–0

OC3M

Output compare 3 mask. Setting an OC3M bit configures the corresponding PORTTn
pin to be an output. OC3Mn makes the GPT port pin an output regardless of the data
direction bit when the pin is configured for output compare (IOSx = 1). The OC3Mn
bits do not change the state of the PORTTnDDR bits. These bits are read anytime,
write anytime.
1 Corresponding PORTTn pin configured as output
0 No effect

7

4

3

0

Field

OC3D

Reset

0000_0000

R/W

R/W

Address

IPSBAR + 0x1A_0003, 0x1B_0003

Figure 20-5. GPT Output Compare 3 Data Register (GPTOC3D)

Table 20-7. GPTOC3D Field Descriptions

Bit(s)

Name

Description

7–4

Reserved, should be cleared.

3–0

OC3D

Output compare 3 data. When a successful channel 3 output compare occurs, these
bits transfer to the PORTTn data register if the corresponding OC3Mn bits are set.
These bits are read anytime, write anytime.

15

0

Field

CNTR

Reset

0000_0000_0000_0000

R/W

Read only

Address

IPSBAR + 0x1A_0004, 0x1B_0004

Figure 20-6. GPT Counter Register (GPTCNT)

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: