C8051F360/1/2/3/4/5/6/7/8/9
SFR Definition 17.16. P2MDIN: Port2 Input Mode
SFR Page:
F
SFR Address: 0xF3
R/W
R/W
Bit6
R/W
Bit5
R/W
Bit4
R/W
Bit3
R/W
Bit2
R/W
Bit1
R/W
Bit0
Reset Value
11111111
Bit7
Bits 7–0: Analog Input Configuration Bits for P2.7-P2.0 (respectively).
Port pins configured as analog inputs have their weak pullup, digital driver, and digital
receiver disabled.
0: Corresponding P2.n pin is configured as an analog input.
1: Corresponding P2.n pin is not configured as an analog input.
SFR Definition 17.17. P2MDOUT: Port2 Output Mode
SFR Page:
F
SFR Address: 0xA6
R/W
R/W
R/W
Bit5
R/W
Bit4
R/W
Bit3
R/W
Bit2
R/W
Bit1
R/W
Bit0
Reset Value
00000000
Bit7
Bit6
Bits 7–0: Output Configuration Bits for P2.7-P2.0 (respectively): ignored if corresponding bit in regis-
ter P2MDIN is logic ‘0’.
0: Corresponding P2.n Output is open-drain.
1: Corresponding P2.n Output is push-pull.
196
Rev. 1.0