English
Language : 

C8051F326 Datasheet, PDF (85/140 Pages) List of Unclassifed Manufacturers – Full Speed USB, 16 kB Flash MCU Family
C8051F326/7
SFR Definition 11.4. P2: Port2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
—
—
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0 11111111
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0 SFR Address:
(bit addressable) 0xA0
Bits7–6:
Bits5–0:
Unused
P2.[5:0]
Write - Output appears on I/O pins.
0: Logic Low Output.
1: Logic High Output (high impedance if corresponding P2MDOUT.n bit = 0).
Read - Always reads ‘0’ if INPUTEN = ‘0’. Otherwise, directly reads Port pin.
0: P2.n pin is logic low.
1: P2.n pin is logic high.
SFR Definition 11.5. P2MDOUT: Port2 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:
0xA6
Bits7–6:
Bits5–0:
Unused. Read = 00b. Write = don’t care.
Output Configuration Bit for P2.5–2.0:
0: P2.0 Output is open-drain.
1: P2.0 Output is push-pull.
SFR Definition 11.6. P3: Port3
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
—
—
—
—
—
—
—
P3.0 11111111
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0 SFR Address:
(bit addressable) 0xB0
Bits7–1:
Bit0:
Unused. Read = 0000000b. Write = don’t care.
P3.0
Write - Output appears on I/O pins.
0: Logic Low Output.
1: Logic High Output (high impedance if corresponding P3MDOUT.n bit = 0).
Read - Always reads ‘0’ if INPUTEN = ‘0’. Otherwise, directly reads Port pin.
0: P3.n pin is logic low.
1: P3.n pin is logic high.
Rev. 0.5
85