Freescale Semiconductor MCF51QE128RM manual Port G Pull Enable Register Ptgpe

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 135
Image 135

Chapter 6 Parallel Input/Output Control

6.7.7.3Port G Pull Enable Register (PTGPE)

The port G pull enable register enables pull-ups on the corresponding PTG pin. In some cases, a pull-down device is enabled if pull-downs are supported by an alternate pin function (e.g., KBI).

R

W

Reset:

7

6

5

4

3

2

1

0

PTGPE7

PTGPE6

PTGPE5

PTGPE4

PTGPE3

PTGPE2

PTGPE1

PTGPE0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Figure 6-42. Internal Pull Enable for Port G Register (PTGPE)

 

 

Table 6-39. PTGPE Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

Internal Pull Enable for Port G Bits. Each of these control bits determines if the internal pull-up device is enabled

PTGPEn

for the associated PTG pin. For port G pins configured as outputs, these bits have no effect and the internal pull

 

devices are disabled.

 

0

Internal pull-up device disabled for port G bit n.

 

1

Internal pull-up device enabled for port G bit n.

 

 

 

6.7.7.4Port G Slew Rate Enable Register (PTGSE)

R

W

Reset:

7

6

5

4

3

2

1

0

PTGSE7

PTGSE6

PTGSE5

PTGSE4

PTGSE3

PTGSE2

PTGSE1

PTGSE0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

Figure 6-43. Slew Rate Enable for Port G Register (PTGSE)

 

 

Table 6-40. PTGSE Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

Output Slew Rate Enable for Port G Bits. Each of these control bits determines if the output slew rate control is

PTGSEn

enabled for the associated PTG pin. For port G pins configured as inputs, these bits have no effect.

 

0

Output slew rate control disabled for port G bit n.

 

1

Output slew rate control enabled for port G bit n.

 

 

 

6.7.7.5Port G Drive Strength Selection Register (PTGDS)

R

W Reset:

7

6

5

4

3

2

1

0

PTGDS7

PTGDS6

PTGDS5

PTGDS4

PTGDS3

PTGDS2

PTGDS1

PTGDS0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

Figure 6-44. Drive Strength Selection for Port G Register (PTGDS)

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

135

Get the latest version from freescale.com

Page 135
Image 135
Freescale Semiconductor MCF51QE128RM manual Port G Pull Enable Register Ptgpe, Port G Slew Rate Enable Register Ptgse