English
Language : 

C8051F326 Datasheet, PDF (81/140 Pages) List of Unclassifed Manufacturers – Full Speed USB, 16 kB Flash MCU Family
C8051F326/7
11. Port Input/Output
On-Chip digital resources are available through 15 I/O pins. Port pins are organized as shown in
Figure 11.1. Each of the Port pins can be used as general-purpose I/O (GPIO). Some port pins can be
dedicated to special signals such as /SYSCLK, UART TX and RX, and XTAL2 external clock input.
All Port I/Os are 5 V tolerant (refer to Figure 11.2 for the Port cell circuit). The Port I/O cells are configured
as either push-pull or open-drain in the Port Output Mode registers (PnMDOUT, where n = 0,2,3). Com-
plete Electrical Specifications for Port I/O are given in Table 11.1 on page 87.
/SYSCLK
P0.0
GPIOCN.0
PnMDOUT and XBR1 Registers:
Output Mode -- Push-Pull or Open-Drain
Global Input Enable -- INPUTEN
Global Weak Pull-up Disable -- WEAKPUD
(P0.0 - OUT)
MUX
I/O
Cell
(P0.0 - IN)
P0.0
P0.1
P0.3
P0.4
UART
P0.5
P0.6
P0.7
P2.0
P2.5
P3.0
3
I/O
Cells
(P0.4 - IN)
I/O
(P0.4 - OUT)
Cell
(P0.5 - IN)
I/O
(P0.5 - OUT)
Cell
2
I/O
Cells
6
I/O
Cells
1
I/O
Cell
Figure 11.1. Port I/O Functional Block Diagram
P0.1
P0.3
P0.4
P0.5
P0.6
P0.7
P2.0
P2.5
P3.0
Rev. 0.5
81