pc87591l National Semiconductor Corporation, pc87591l Datasheet - Page 120

no-image

pc87591l

Manufacturer Part Number
pc87591l
Description
Lpc Mobile Embedded Controllers
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PC87591L
Manufacturer:
NS
Quantity:
5 510
Part Number:
PC87591L
Manufacturer:
MOT
Quantity:
5 510
Company:
Part Number:
pc87591l-VPC
Quantity:
18
Part Number:
pc87591l-VPCN01
Manufacturer:
NSC
Quantity:
5 510
Part Number:
pc87591l-VPCN01
Manufacturer:
NS/国半
Quantity:
20 000
www.national.com
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 408.
Location: See Appendix A
Type: R/W
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: R/W
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: RO
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.
7
0
7
0
7
7
7
7
7
7
6
0
6
0
6
6
6
6
6
6
(Continued)
5
0
5
0
5
5
5
5
5
5
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
120
4
0
4
0
4
4
4
4
4
4
3
0
3
0
3
3
3
3
3
3
0
2
0
2
2
2
2
2
2
2
1
0
1
0
1
1
1
1
1
1
Revision 1.07
0
0
0
0
0
0
0
0
0
0

Related parts for pc87591l