Intel 8XC196MH Microscope & Magnifier User Manual


 
C-33
REGISTERS
Px_PIN
P
x
_PIN
x
= 0–5 (8XC196MC, MH)
x
= 0–5, 7 (8XC196MD)
Address:
Reset State:
Table C-9
Each bit of the port
x
pin input (P
x
_PIN) register reflects the current state of the corresponding pin,
regardless of the pin configuration.
7 0
x
= 1 (MC) ———PIN4 PIN3 PIN2 PIN1 PIN0
7 0
x
= 1 (MH) ————PIN3 PIN2 PIN1 PIN0
7 0
x
= 1, 7 (MD) PIN7 PIN6 PIN5 PIN4 PIN3 PIN2 PIN1 PIN0
7 0
x
= 0, 2–5 (M
x
) PIN7 PIN6 PIN5 PIN4 PIN3 PIN2 PIN1 PIN0
Bit Number
Bit
Mnemonic
Function
7:0
PIN7:0 Port
x
Pin
y
Input Value
This bit contains the current state of P
x
.
y
.
The bits shown as dashes (—) are reserved; their values are undefined.
Table C-9. P
x
_PIN Addresses and Reset Values
Register Address Reset Value
P0_PIN (8XC196MC, MD)
P0_PIN (8XC196MH)
1FA8H
1FDAH
FFH when pin is not driven
P1_PIN (8XC196MC, MD)
P1_PIN (8XC196MH)
1FA9H
1F9FH
FFH when pin is not driven
P2_PIN (8XC196M
x
) 1FD6H FFH when pin is not driven
P3_PIN (8XC196M
x
) 1FFEH FFH when pin is not driven
P4_PIN (8XC196M
x
) 1FFFH FFH when pin is not driven
P5_PIN (8XC196MC, MD)
P5_PIN (8XC196MH)
1FF7H
1FF7H
FFH
FFH when pin is not driven
P7_PIN (8XC196MD) 1FD7H XXH