pc87591l-n05 National Semiconductor Corporation, pc87591l-n05 Datasheet - Page 117

no-image

pc87591l-n05

Manufacturer Part Number
pc87591l-n05
Description
Lpc Mobile Embedded Controller
Manufacturer
National Semiconductor Corporation
Datasheet
Revision 1.2
4.0 Embedded Controller Modules
Port Direction Registers (PxDIR and PwDIR)
These registers configure the direction of the Px and Pw pins.
PxDIR and PwDIR are cleared (0) on reset except when otherwise noted in Appendix A. Clearing these registers configures
all the pins in port Px and Pw as input. Some specific reset values differ, as described in Appendix A on page 367.
Location: See Appendix A
Type:
Port Data Output Register (PxDOUT, PzDOUT and PwDOUT)
Writing to PxDOUT, PzDOUT or PwDOUT registers sets the values of the output pins in ports Px, Pz and Pw, respectively.
Reading from one of these registers returns the last value written to the register.
Location: See Appendix A
Type:
Port Data Input Registers (PxDIN, PyDIN and PwDIN)
Reading from PxDIN, PyDIN or PwDIN returns the current value of the pins in port Px, Py and Pw, respectively.
Location: See Appendix A
Type:
Bit
Name
Reset
Bit
Name
Reset
Bit
Name
Bit
Name
Bit
Name
Bit
Name
Bit
Name
Bit
Name
Reset
• When cleared (0), each bit in PxDIR or PwDIR defines the corresponding pin as input.
• When set (1), each pin is defined as output.
R/W
R/W
RO
7
0
7
0
7
7
7
7
7
7
6
0
6
0
6
6
6
6
6
6
5
0
5
0
5
5
5
5
5
5
(Continued)
Pw Port Output Data
Px Port Output Data
Pz Port Output Data
Pw Port Input Data
Px Port Input Data
Py Port Input Data
Pw Port Direction
Px Port Direction
117
4
0
4
0
4
4
4
4
4
4
3
0
3
0
3
3
3
3
3
3
2
0
2
0
2
2
2
2
2
2
1
0
1
0
1
1
1
1
1
1
www.national.com
0
0
0
0
0
0
0
0
0
0

Related parts for pc87591l-n05