Intel 8XC196K Series User Manual page 582

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 (CA, J x )
7
x = 2 (CA, J x )
PIN7
7
x = 3–4 (CA, J x )
PIN7
7
x = 5 (CA)
7
x = 5 (J x )
7
x = 6 (CA, J x )
PIN7
7
x = 1–6 (K x )
PIN7
Bit
Bit Number
Mnemonic
7:0
PIN7:0
Table C-19. P x _REG Addresses and Reset Values
Register
P1_REG
P2_REG
P3_REG
P4_REG
P5_REG
P6_REG
PIN6
PIN4
PIN6
PIN5
PIN4
PIN6
PIN5
PIN4
PIN6
PIN5
PIN4
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
PIN2
PIN1
PIN3
PIN2
PIN1
PIN3
PIN2
PIN3
PIN2
PIN1
PIN3
PIN2
PIN1
Function
Reset Value
FFH
7FH
FFH
FFH
FFH
FFH
REGISTERS
Px_REG
Table C-19
0
PIN0
0
PIN0
0
PIN0
0
PIN0
0
PIN0
0
PIN0
0
PIN0
C-55

Advertisement

Table of Contents
loading

Table of Contents