c8051t602 Silicon Laboratories, c8051t602 Datasheet - Page 97

no-image

c8051t602

Manufacturer Part Number
c8051t602
Description
Mixed Signal Otp Eprom Mcu Family
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
c8051t602-GS
Manufacturer:
Silicon Labs
Quantity:
135
13. Port Input/Output
Digital and analog resources are available through a byte-wide digital I/O Port, Port0. Each of the Port pins
can be defined as general-purpose I/O (GPIO), analog input, or assigned to one of the internal digital
resources as shown in Figure 13.3. The designer has complete control over which functions are assigned,
limited only by the number of physical I/O pins. This resource assignment flexibility is achieved through the
use of a Priority Crossbar Decoder. The state of a Port I/O pin can always be read in the corresponding
Port latch, regardless of the Crossbar settings.
The Crossbar assigns the selected internal digital resources to the I/O pins based on the Priority Decoder
(Figure 13.3 and Figure 13.4). The registers XBR0, XBR1, and XBR2, defined in SFR Definition 13.1, SFR
Definition 13.2, and SFR Definition 13.3 are used to select internal digital functions.
All Port I/Os are 5 V tolerant (refer to Figure 13.2 for the Port cell circuit). The Port I/O cells are configured
as either push-pull or open-drain in the Port0 Output Mode register (P0MDOUT). Complete Electrical
Specifications for Port I/O are given in Table 13.1 on page 104.
Highest
Priority
Lowest
Priority
/WEAK-PULLUP
PUSH-PULL
/PORT-OUTENABLE
PORT-OUTPUT
ANALOG INPUT
PORT-INPUT
Figure 13.1. Port I/O Functional Block Diagram
SYSCLK
Outputs
SMBus
T0, T1
UART
PCA
CP0
Figure 13.2. Port I/O Cell Block Diagram
Port Latch
2
2
2
4
2
P0
Analog Select
(P0.0-P0.7)
8
Rev. 0.5
XBR2 Registers
XBR0, XBR1,
Crossbar
Decoder
Priority
Digital
C8051T600/1/2/3/4/5
8
P0MDIN Registers
GND
VDD
P0MDOUT,
Cells
P0
I/O
VDD
(WEAK)
P0.0
P0.7
PORT
PAD
97

Related parts for c8051t602