Lucent Technologies MN10285K Laptop User Manual


 
I/O Ports
I/O Port Control Registers
Panasonic Semiconductor Development Company MN102H75K/F75K/85K/F85K LSI User Manual
278
Panasonic
P0IN–P5IN: Ports 0–5 Input Registers x’00FFD0’–x’00FFD5’
P7IN–P8IN: Ports 7–8 Input Registers x’00FFD8’–x’00FFDA’
P6IN: Port 6 Input Register x’00FFD6’
The PnIN registers contain the port input data. The bit number corresponds
to the associated pin number. For instance, P0IN7 applies to the P07 pin.
These are 8-bit access registers.
When using P57 as a port, set
SIFSEL0 (PCNT0 x’FF90’ bp12)
to ’0’.
P0DIR–P5DIR: Ports 0–5 I/O Control Registers x’00FFE0’–x’00FFE5’
P7DIR–P8DIR: Ports 7–8 I/O Control Registers x’00FFE8’–x’00FFEA’
P6DIR: Port 6 I/O Control Register x’00FFE6’
The PnDIR registers control the I/O direction of the ports. The bit number
corresponds to the associated pin number. For instance, P0DIR7 applies to
the P07 pin. These are 8-bit access registers.
0: Input
1: Output
Bit:76543210
PnIN7 PnIN6 PnIN5 PnIN4 PnIN3 PnIN2 PnIN1 PnIN0
Reset:PinPinPinPinPinPinPinPin
R/W:RRRRRRRR
Bit:76543210
000000P6IN1P6IN0
Reset:000000PinPin
R/W:RRRRRRRR
Bit:76543210
PnDIR7 PnDIR6 PnDIR5 PnDIR4 PnDIR3 PnDIR2 PnDIR1 PnDIR0
Reset:00000000
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit:76543210
000000P6DIR1P6DIR0
Reset:00000000
R/W:RRRRRRR/WR/W