Motorola MCF5282 GPT Compare Force Register Gpcforc, GPT Output Compare 3 Mask Register GPTOC3M

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 428
Image 428

Memory Map and Registers

 

 

Table 20-4. GPTIOS Field Descriptions

 

 

 

 

Bit(s)

Name

 

Description

 

 

 

7–4

Reserved, should be cleared.

 

 

 

3–0

IOS

I/O select. The IOS[3:0] bits enable input capture or output compare operation for the

 

 

corresponding timer channels. These bits are read anytime (always read 0x00), write

 

 

anytime.

 

 

1

Output compare enabled

 

 

0

Input capture enabled

 

 

 

 

20.5.2 GPT Compare Force Register (GPCFORC)

Field

Reset

R/W

Address

7

4

3

0

 

 

FOC

 

 

 

 

0000_0000

R/W

IPSBAR + 0x1A_00001, 0x1B_0001

Figure 20-3. GPT Input Compare Force Register (GPCFORC)

Table 20-5. GPTCFORC Field Descriptions

Bit(s)

Name

 

Description

 

 

 

7–4

Reserved, should be cleared.

 

 

 

3–0

FOC

Force output compare.Setting an FOC bit causes an immediate output compare on the

 

 

corresponding channel. Forcing an output compare does not set the output compare

 

 

flag. These bits are read anytime, write anytime.

 

 

1

Force output compare

 

 

0

No effect

 

 

 

 

NOTE

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

20.5.3 GPT Output Compare 3 Mask Register (GPTOC3M)

Field

Reset

R/W

Address

7

4

3

0

 

 

OC3M

 

 

 

 

0000_0000

R/W

IPSBAR + 0x1A_0002, 0x1B_0002

Figure 20-4. GPT Output Compare 3 Mask Register (GPTOC3M)

20-6

MCF5282 User’s Manual

MOTOROLA

Page 428
Image 428
Motorola MCF5282 GPT Compare Force Register Gpcforc, GPT Output Compare 3 Mask Register GPTOC3M, Gptios Field Descriptions