C8051F340-GQR Silicon Laboratories Inc, C8051F340-GQR Datasheet - Page 142

no-image

C8051F340-GQR

Manufacturer Part Number
C8051F340-GQR
Description
MCU 8-Bit C8051F34x 8051 CISC 64KB Flash 3.3V/5V 48-Pin TQFP T/R
Manufacturer
Silicon Laboratories Inc
Datasheet

Specifications of C8051F340-GQR

Package
48TQFP
Device Core
8051
Family Name
C8051F34x
Maximum Speed
48 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
40
Interface Type
I2C/SMBus/SPI/UART/USB
On-chip Adc
17-chx10-bit
Number Of Timers
4
Ram Size
4.25 KB
Program Memory Size
64 KB
Program Memory Type
Flash
Operating Temperature
-40 to 85 °C

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F340-GQR
Manufacturer:
SILICON
Quantity:
3 870
Part Number:
C8051F340-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F340-GQR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
C8051F340-GQR
0
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
15. Port Input/Output
Digital and analog resources are available through 40 I/O pins (48-pin packages) or 25 I/O pins (32-pin
packages). Port pins are organized as shown in Figure 15.1. Each of the Port pins can be defined as gen-
eral-purpose I/O (GPIO) or analog input; Port pins P0.0-P3.7 can be assigned to one of the internal digital
resources as shown in Figure 15.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. Note that the state of a Port I/O pin can always be read in the corre-
sponding 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 15.3 and Figure 15.4). The registers XBR0, XBR1, and XBR2 defined in SFR Definition 15.1, SFR
Definition 15.2, and SFR Definition 15.3, are used to select internal digital functions.
All Port I/Os are 5 V tolerant (refer to Figure 15.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,1,2,3,4). Com-
plete Electrical Specifications for Port I/O are given in Table 15.1 on page 158.
142
Figure 15.1. Port I/O Functional Block Diagram (Port 0 through Port 3)
Highest
Priority
Lowest
Priority
SYSCLK
UART1**
Outputs
Outputs
UART0
SMBus
T0, T1
P0
P1
P2
P3
PCA
CP0
CP1
SPI
(P3.0-P3.7*)
(P0.0-P0.7)
(P1.0-P1.7)
(P2.0-P2.7)
2
4
2
2
2
6
2
2
8
8
8
8
Rev. 1.3
XBR0, XBR1, XBR2,
PnSKIP Registers
Crossbar
Decoder
Priority
Digital
8
8
8
8
PnMDIN Registers
*P3.1-P3.7 only available on 48-pin
packages
**UART1 only available on
C8051F340/1/4/5/8/A/B devices
PnMDOUT,
Cells
Cells
Cells
Cells
I/O
I/O
I/O
I/O
P0
P1
P2
P3
P0.0
P0.7
P1.0
P1.7
P2.0
P2.7
P3.0
P3.7*

Related parts for C8051F340-GQR