Sfr Definition 18.6. P1: Port1 Data; Sfr Definition 18.7. P1Mdin: Port1 Input Mode - Silicon Laboratories C8051F12 Series Manual

8k isp flash mcu
Table of Contents

Advertisement

C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3
R/W
R/W
P1.7
P1.6
Bit7
Bit6
Bits7–0: P1.[7:0]: Port1 Output Latch Bits.
(Write - Output appears on I/O pins per XBR0, XBR1, and XBR2 Registers)
0: Logic Low Output.
1: Logic High Output (open if corresponding P1MDOUT.n bit = 0).
(Read - Regardless of XBR0, XBR1, and XBR2 Register settings).
0: P1.n pin is logic low.
1: P1.n pin is logic high.
Notes:
1. On C8051F12x devices, P1.[7:0] can be configured as inputs to ADC2 as AIN2.[7:0], in which
case they are 'skipped' by the Crossbar assignment process and their digital input paths are
disabled, depending on P1MDIN (See SFR Definition 18.7 ) . Note that in analog mode, the
output mode of the pin is determined by the Port 1 latch and P1MDOUT (SFR Definition 18.8).
See
Section "7. ADC2 (8-Bit ADC, C8051F12x Only)" on page 91
about ADC2.
2. P1.[7:0] can be driven by the External Data Memory Interface (as Address[15:8] in Non-
multiplexed mode). See
XRAM" on page 219

SFR Definition 18.7. P1MDIN: Port1 Input Mode

R/W
R/W
Bit7
Bit6
Bits7–0: P1MDIN.[7:0]: Port 1 Input Mode Bits.
0: Port Pin is configured in Analog Input mode. The digital input path is disabled (a read from
the Port bit will always return '0'). The weak pullup on the pin is disabled.
1: Port Pin is configured in Digital Input mode. A read from the Port bit will return the logic
level at the Pin. When configured as a digital input, the state of the weak pullup for the port
pin is determined by the WEAKPUD bit (XBR2.7, see SFR Definition 18.3).

SFR Definition 18.6. P1: Port1 Data

R/W
R/W
R/W
P1.5
P1.4
P1.3
Bit5
Bit4
Bit3
Section "17. External Data Memory Interface and On-Chip
for more information about the External Memory Interface.
R/W
R/W
R/W
Bit5
Bit4
Bit3
Rev. 1.4
R/W
R/W
R/W
P1.2
P1.1
P1.0
Bit2
Bit1
Bit0
SFR Address:
SFR Page:
for more information
R/W
R/W
R/W
Bit2
Bit1
Bit0
SFR Address:
SFR Page:
Reset Value
11111111
Bit
Addressable
0x90
All Pages
Reset Value
11111111
0xAD
F
249

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F12 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents