Rainbow Electronics AT89C5122 User Manual
Page 62

62
AT8xC5122/23
4202E–SCR–06/06
Reset Value = 0000 0000b
Reset Value = xxxx 00xxb
Table 38. Port Mode Register 1 - PMOD1 (84h) for AT8xC5122
7
6
5
4
3
2
1
0
P5HC1
P5HC0
P5MC1
P5MC0
P5LC1
P5LC0
P4C1
P4C0
Bit Number
Bit Mnemonic
Description
7 - 6
P5HC1-P5HC0
Port 5 High Configuration bits (Applicable from P5.6 to P5.7 only)
00 Quasi bi-directional
01 Push-pull
10 Input with weak pull-down
11 Input with weak pull-up
5 - 4
P5MC1-P5MC0
Port 5 Medium Configuration bits (Applicable from P5.3 to P5.5 only)
00 Quasi bi-directional
01 Push-pull
10 Input with weak pull-down
11 Input with weak pull-up
3 - 2
P5LC1-P5LC0
Port 5 Low Configuration bits (Applicable from P5.0 to P5.2 only)
00 Quasi bi-directional
01 Push-pull
10 Input with medium pull-up
11 Input with weak pull-up
1 - 0
P4C1-P4C0
Port 4 Configuration bits (Applicable from P4.3 to P4.5 only)
00 Quasi bi-directional
01 Push-pull
10 Output Low Speed
11 Input with medium pull-up
Table 39. Port Mode Register 1 - PMOD1 (84h) for AT83C5123
7
6
5
4
3
2
1
0
-
-
-
-
P5LC1
P5LC0
-
-
Bit Number
Bit Mnemonic
Description
7 - 4
Reserved
The value read from this bit is indeterminate. Do not set this bit.
3 - 2
P5LC1-P5LC0
Port 5 Low Configuration bits (Applicable from P5.0 to P5.2 only)
00 Quasi bi-directional
01 Push-pull
10 Input with medium pull-up
11 Input with weak pull-up
1 - 0
Reserved
The value read from this bit is indeterminate. Do not set this bit.