Intel 8XC196MH Benutzerhandbuch

Seite von 579
C-31
REGISTERS
Px_MODE
P
x
_MODE
x
 = 2, 5 (8XC196MC)
x
 = 2, 5, 7 (8XC196MD)
x
 = 1, 2, 5 (8XC196MH)
Address:
Reset State:
Table C-7
Each bit of the port
 x
 mode (P
x
_MODE) register controls whether the corresponding pin functions as a 
standard I/O port pin or as a special-function signal.
7
0
x
 = 1 (MH)
PIN3
PIN2
PIN1
PIN0
7
0
x
 = 2, 5 (M
x
)
PIN7
PIN6
PIN5
PIN4
PIN3
PIN2
PIN1
PIN0
7
0
x
 = 7 (MD)
PIN7
PIN6
PIN5
PIN4
PIN3
PIN2
PIN1
PIN0
Bit
Number
Bit
Mnemonic
Function
7:0
PIN7:0
Port 
x
 Pin
 y 
Mode
This bit determines the mode of the corresponding port pin:
0 = standard I/O port pin
1 = special-function signal
Table C-8 lists the special-function signals for each pin.
The bits shown as dashes (—) are reserved; for compatibility with future devices, write zeros to these 
bits.
Table C-7.  P
x_MODE Addresses and Reset Values
Register
Address
Reset Value
P1_MODE (8XC196MH)
1F99H
00H
P2_MODE (8XC196M
x
)
1FD0H
00H
P5_MODE (8XC196MC, MD)
P5_MODE (8XC196MH)
1FF1H
1FF1H
FFH when pin is not driven
80H if the EA# pin is high, A9H if EA# is low
P7_MODE (8XC196MD)
1FD1H
00H