Memory Map and Registers

Write GPTFLG1 Register

CnF

Data Bit n

Clear

CnF Flag

TFFCA

Read GPTCn Registers

Write GPTCn Registers

Figure 20-8. Fast Clear Flag Logic

20.5.7 GPT Toggle-On-Overflow Register (GPTTOV)

Field

Reset

R/W

Address

7

6

5

4

3

0

 

 

 

 

TOV

 

 

 

 

 

 

0000_0000

R/W

IPSBAR + 0x1A_0008, 0x1B_0008

Figure 20-9. GPT Toggle-On-Overflow Register (GPTTOV)

Table 20-10. GPTTOV Field Description

Bit(s)

Name

 

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

 

 

 

 

20.5.8 GPT Control Register 1 (GPTCTL1)

Field

Reset

R/W

Address

7

6

5

4

3

2

1

0

OM3

OL3

OM2

OL2

OM1

OL1

OM0

OL0

 

 

 

 

 

 

 

 

0000_0000

R/W

IPSBAR + 0x1A_0009, 0x1B_0009

Figure 20-10. GPT Control Register 1 (GPTCTL1)

MOTOROLA

Chapter 20. General Purpose Timer Modules (GPTA and GPTB)

20-9

Page 431
Image 431
Motorola MCF5281 GPT Toggle-On-Overflow Register Gpttov, GPT Control Register 1 GPTCTL1, Tov, OM3 OL3 OM2, OM1 OL1 OM0 OL0