12. Port I/O, Crossbar, External Interrupts, and Port Match
12.1 Introduction
Digital and analog resources are externally available on the device’s multi-purpose I/O pins. Port pins P0.0-P2.6 can be defined as gen-
eral-purpose I/O (GPIO), assigned to one of the internal digital resources through the crossbar or dedicated channels, or assigned to an
analog function. Port pin P2.7 can be used as GPIO. Additionally, the C2 Interface Data signal (C2D) is shared with P2.7.
UART0
SPI0
SMB0
CMP0 Out
SYSCLK
PCA (CEXn)
Timer 0
CMP1 Out
Timer 1
Timer 2
2
4
2
2
2
1
3
PCA (ECI)
1
1
1
1
CMP0 In
CMP1 In
INT0 / INT1
Port Match
P0, P1, P2
P0, P1, P2
ADC0 In
P0, P1, P2
P0, P1, P2
P0, P1
P0
Priority Crossbar
Decoder
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.7
P1.0
P0.0 / VREF
P0.1 / AGND
P0.2 / XTAL1
P0.3 / XTAL2
P0.4
P0.6 / CNVSTR
P0.7 / IREF0
P0.5
Port
Control
and
Config
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.7
P2.0
Figure 12.1. Port I/O Block Diagram
12.2 Features
• Up to 24 multi-functions I/O pins, supporting digital and analog functions.
• Flexible priority crossbar decoder for digital peripheral assignment.
• Two drive strength settings for each pin.
• Two direct-pin interrupt sources with dedicated interrupt vectors (INT0 and INT1).
• Up to 16 direct-pin interrupt sources with shared interrupt vector (Port Match).
EFM8SB2 Reference Manual
Port I/O, Crossbar, External Interrupts, and Port Match
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 92