Sfr definition 15.21. p4mdin: port4 input mode, Sfr definition 15.22. p4mdout: port4 output mode – Silicon Laboratories C8051F347 User Manual

Page 157

Advertising
background image

Rev. 1.3

157

C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D

SFR Definition 15.21. P4MDIN: Port4 Input Mode

SFR Definition 15.22. P4MDOUT: Port4 Output Mode

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.

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Reset Value

11111111

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

SFR Address:

0xF5

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.

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Reset Value

00000000

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

SFR Address:

0xAE

Advertising
This manual is related to the following products: