English
Language : 

MC9S12P128 Datasheet, PDF (89/564 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12PPIMV1)
Table 2-37. DDRP Register Field Descriptions (continued)
Field
5
DDRP
Description
Port P data direction—
This bit determines whether the associated pin is an input or output.
The PWM forces the I/O state to be an output for an enabled channel. If the emergency shut-down feature is enabled
this pin is an input. In this case the data direction bit will not change.
4-0
DDRP
1 Associated pin is configured as output
0 Associated pin is configured as input
Port P data direction—
This bit determines whether the associated pin is an input or output.
The PWM forces the I/O state to be an output for an enabled channel. In this case the data direction bit will not
change.
1 Associated pin is configured as output
0 Associated pin is configured as input
2.3.43 Port P Reduced Drive Register (RDRP)
Address 0x025B
R
W
Reset
7
RDRP7
0
1. Read: Anytime
Write: Anytime
6
5
4
3
2
0
RDRP5
RDRP4
RDRP3
RDRP2
0
0
0
0
0
Figure 2-41. Port P Reduced Drive Register (RDRP)
Access: User read/write(1)
1
0
RDRP1
RDRP0
0
0
Table 2-38. RDRP Register Field Descriptions
Field
7,5-0
RDRP
Description
Port P reduced drive—Select reduced drive for output pin
This bit configures the drive strength of the associated output pin as either full or reduced. If a pin is used as input
this bit has no effect. The reduced drive function is independent of which function is being used on a particular pin.
1 Reduced drive selected (approx. 1/5 of the full drive strength)
0 Full drive strength enabled
S12P-Family Reference Manual, Rev. 1.12
Freescale Semiconductor
89