Chapter 6 Parallel Input/Output Control

6.7.8.3Port H Pull Enable Register (PTHPE)

The port H pull enable register enables pull-ups on the corresponding PTH 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

PTHPE7

PTHPE6

PTHPE5

PTHPE4

PTHPE3

PTHPE2

PTHPE1

PTHPE0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Figure 6-47. Internal Pull Enable for Port H Register (PTHPE)

 

 

Table 6-44. PTHPE Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

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

PTHPEn

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

 

devices are disabled.

 

0

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

 

1

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

 

 

 

6.7.8.4Port H Slew Rate Enable Register (PTHSE)

R

W

Reset:

7

6

5

4

3

2

1

0

PTHSE7

PTHSE6

PTHSE5

PTHSE4

PTHSE3

PTHSE2

PTHSE1

PTHSE0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

Figure 6-48. Slew Rate Enable for Port H Register (PTHSE)

 

 

Table 6-45. PTHSE Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

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

PTHSEn

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

 

0

Output slew rate control disabled for port H bit n.

 

1

Output slew rate control enabled for port H bit n.

 

 

 

6.7.8.5Port H Drive Strength Selection Register (PTHDS)

R

W Reset:

7

6

5

4

3

2

1

0

PTHDS7

PTHDS6

PTHDS5

PTHDS4

PTHDS3

PTHDS2

PTHDS1

PTHDS0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

Figure 6-49. Drive Strength Selection for Port H Register (PTHDS)

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

137

Get the latest version from freescale.com

Page 137
Image 137
Freescale Semiconductor MCF51QE128RM manual Port H Pull Enable Register Pthpe, Port H Slew Rate Enable Register Pthse