Intel 8XC196NT User Manual page 157

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Table 6-6. Logic Table for Bidirectional Ports in I/O Mode
Configuration
P x _MODE
P x _DIR
SFDIR
SFDATA
P x _REG
Q1
Q2
P x _PIN
NOTES:
1.
X = Don't care.
2.
If P x _REG is cleared, Q2 is on; if P x _REG is set, Q2 is off.
3.
P x _PIN contains the current value on the pin.
During reset and until the first write to P x _MODE, Q3 is on.
4.
Table 6-7. Logic Table for Bidirectional Ports in Special-function Mode
Configuration
P x _MODE
P x _DIR
SFDIR
SFDATA
P x _REG
Q1
Q2
P x _PIN
NOTES:
1.
X = Don't care.
2.
If P x _REG is cleared, Q2 is on; if P x _REG is set, Q2 is off.
P x _PIN contains the current value on the pin.
3.
4.
During reset and until the first write to P x _MODE, Q3 is on.
6-8
Complementary Output
0
0
0
0
X
X
X
X
0
1
off
on
on
off
0
1
Complementary Output
1
1
0
0
0
0
0
1
X
X
off
on
on
off
0
1
Open-drain
Output
0
1
X
X
0, 1 (Note 2)
off
on, off (Note 2)
X (Note 3)
high-impedance (Note 4)
Open-drain
Output
1
1
1
0, 1 (Note 2)
X
off
on, off (Note 2)
X (Note 3)
high-impedance (Note 4)
Input
0
1
X
X
1
off
off
Input
1
1
1
1
1
off
off

Advertisement

Table of Contents
loading

Table of Contents