Intel 8XC196NT User Manual page 536

Table of Contents

Advertisement

P x _REG
x = 1–6
P x _REG contains data to be driven out by the respective pins. When a port pin is configured as an
input, the corresponding bit in P x _REG must be set.
The effect of a write to P x _REG is seen on the pins only when the associated pins are configured as
standard I/O port pins (P x _MODE. y = 0).
7
x = 1–6
PIN7
Bit
Bit Number
Mnemonic
7:0
PIN7:0
Table C-12. P x _REG Addresses and Reset Values
Register
P1_REG
P2_REG
P3_REG
P4_REG
P5_REG
P6_REG
PIN6
PIN5
PIN4
Port x Pin y Output
To use P x . y for output, write the desired output data to this bit. To use
P x . y for input, set this bit.
Address
1FD4H
1FCDH
1FFCH
1FFDH
1FF5H
1FD5H
Address:
Reset State:
PIN3
PIN2
PIN1
Function
Reset Value
FFH
7FH
FFH
FFH
FFH
FFH
REGISTERS
Px_REG
Table C-12
0
PIN0
C-41

Advertisement

Table of Contents
loading

Table of Contents