SFR Definition 15.21. P4MDIN: Port4 Input Mode
R/W
R/W
Bit7
Bit6
Bits7–0: Analog Input Configuration Bits for P4.7–P4.0 (respectively).
Port pins configured as analog inputs have their weak pull-up, digital driver, and digital
receiver disabled.
0: Corresponding P4.n pin is configured as an analog input.
1: Corresponding P4.n pin is not configured as an analog input.
Note: P4 is only available on 48-pin devices.
SFR Definition 15.22. P4MDOUT: Port4 Output Mode
R/W
R/W
Bit7
Bit6
Bits7–0: Output Configuration Bits for P4.7–P4.0 (respectively); ignored if corresponding bit in regis-
ter P4MDIN is logic 0.
0: Corresponding P4.n Output is open-drain.
1: Corresponding P4.n Output is push-pull.
Note: P4 is only available on 48-pin devices.
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
R/W
R/W
R/W
Bit5
Bit4
Bit3
R/W
R/W
R/W
Bit5
Bit4
Bit3
Rev. 1.3
R/W
R/W
R/W
Bit2
Bit1
Bit0
R/W
R/W
R/W
Bit2
Bit1
Bit0
Reset Value
11111111
SFR Address:
0xF5
Reset Value
00000000
SFR Address:
0xAE
157
Need help?
Do you have a question about the C8051F341 and is the answer not in the manual?
Questions and answers