
C8051F340/1/2/3/4/5/6/7
SFR Definition 15.21. P4MDIN: Port4 Input Mode
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
Port pins configured as analog inputs have their weak 
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 
SFR Definition 15.22. P4MDOUT: Port4 Output Mode
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  | 
0: Corresponding P4.n Output is 
1: Corresponding P4.n Output is 
Note: P4 is only available on 
Rev. 0.5  | 161  |