C8051F360/1/2/3/4/5/6/7/8/9
SFR Definition 17.4. P0MDIN: Port0 Input Mode
SFR Page:
F
SFR Address: 0xF1
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 P0.7-P0.0 (respectively).
Port pins configured as analog inputs have their weak pullup, digital driver, and digital
receiver disabled.
0: Corresponding P0.n pin is configured as an analog input.
1: Corresponding P0.n pin is not configured as an analog input.
SFR Definition 17.5. P0MDOUT: Port0 Output Mode
SFR Page:
F
SFR Address: 0xA4
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 P0.7-P0.0 (respectively): ignored if corresponding bit in regis-
ter P0MDIN is logic ‘0’.
0: Corresponding P0.n Output is open-drain.
1: Corresponding P0.n Output is push-pull.
Note:
When SDA and SCL appear on any of the Port I/O, each are open-drain regardless of the value of
P0MDOUT.
Rev. 1.0
191