English
Language : 

C8051F960-B-GM Datasheet, PDF (351/492 Pages) Silicon Laboratories – Ultra Low Power 128K, LCD MCU Family
C8051F96x
27. Port Input/Output
Digital and analog resources are available through 57 I/O pins (C8051F960/2/4/6/8) or 34 I/O pins
(C8051F961/3/5/7/9). Port pins are organized as eight byte-wide ports. Port pins can be defined as digital
or analog I/O. Digital I/O pins can be assigned to one of the internal digital resources or used as general
purpose I/O (GPIO). Analog I/O pins are used by the internal analog resources. P7.0 can be used as GPIO
and is shared with the C2 Interface Data signal (C2D). See Section “34. C2 Interface” on page 486 for
more details.
The designer has complete control over which digital and analog functions are assigned to individual port
pins. This resource assignment flexibility is achieved through the use of a Priority Crossbar Decoder. See
Section 27.3 for more information on the Crossbar.
For Port I/Os configured as push-pull outputs, current is sourced from the VIO or VIORF supply pin. On 40-
pin devices, the VIO and VIORF supply pins are internally tied to VBAT. See Section 27.1 for more infor-
mation on Port I/O operating modes and the electrical specifications chapter for detailed electrical specifi-
cations.
Highest
Priority
Lowest
Priority
Port Match
P0MASK, P0MAT
P1MASK, P1MAT
XBR0, XBR1,
XBR2, PnSKIP
Registers
PnMDOUT,
PnMDIN Registers
External Interrupts
EX0 and EX1
2
UART
SPI0
4
SPI1
2
SMBus
CP0
4
CP1
Outputs
SYSCLK
PCA
7
2
T0, T1
8
P0
8
P6 (P6.0-P6.7)
1
P7
(P7.0)
Priority
8
Decoder
8
8
Digital
Crossbar
8
8
8
8
1
To Analog Peripherals
(ADC0, CP0, and CP1 inputs,
VREF, IREF0, AGND)
P0
I/O
Cells
P1
I/O
Cells
P2
I/O
Cells
P3
I/O
Cells
P4
I/O
Cells
P5
I/O
Cells
P6
I/O
Cells
P7
To EMIF
P0.0
P0.7
P1.0
P1.7
P2.0
P2.7
P3.0
P3.7
P4.0
P4.7
P5.0
P5.7
P6.0
P6.7
P7.0
To LCD
Figure 27.1. Port I/O Functional Block Diagram
Rev. 1.0
351