欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F413 参数 Datasheet PDF下载

C8051F413图片预览
型号: C8051F413
PDF下载: 下载PDF文件 查看货源
内容描述: 2.0 V, 32/16 KB闪存, smaRTClock的, 12位ADC [2.0 V, 32/16 kB Flash, smaRTClock, 12-bit ADC]
分类和应用: 闪存
文件页数/大小: 270 页 / 2249 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F413的Datasheet PDF文件第203页浏览型号C8051F413的Datasheet PDF文件第204页浏览型号C8051F413的Datasheet PDF文件第205页浏览型号C8051F413的Datasheet PDF文件第206页浏览型号C8051F413的Datasheet PDF文件第208页浏览型号C8051F413的Datasheet PDF文件第209页浏览型号C8051F413的Datasheet PDF文件第210页浏览型号C8051F413的Datasheet PDF文件第211页  
C8051F410/1/2/3  
22. UART0  
UART0 is an asynchronous, full duplex serial port offering modes 1 and 3 of the standard 8051 UART.  
Enhanced baud rate support allows a wide range of clock sources to generate standard baud rates (details  
in Section “22.1. Enhanced Baud Rate Generation” on page 208). Received data buffering allows  
UART0 to start reception of a second incoming data byte before software has finished reading the previous  
data byte.  
UART0 has two associated SFRs: Serial Control Register 0 (SCON0) and Serial Data Buffer 0 (SBUF0).  
The single SBUF0 location provides access to both transmit and receive registers. Writes to SBUF0  
always access the Transmit register. Reads of SBUF0 always access the buffered Receive register;  
it is not possible to read data from the Transmit register.  
With UART0 interrupts enabled, an interrupt is generated each time a transmit is completed (TI0 is set in  
SCON0), or a data byte has been received (RI0 is set in SCON0). The UART0 interrupt flags are not  
cleared by hardware when the CPU vectors to the interrupt service routine. They must be cleared manually  
by software, allowing software to determine the cause of the UART0 interrupt (transmit complete or receive  
complete).  
SFR Bus  
Write to  
SBUF  
TB8  
SBUF  
SET  
(TX Shift)  
D
Q
TX  
CLR  
Crossbar  
Zero Detector  
Stop Bit  
Shift  
Data  
Start  
Tx Control  
Tx Clock  
Send  
Tx IRQ  
SCON  
TI  
RI  
UART Baud  
Rate Generator  
Serial  
Port  
Interrupt  
Port I/O  
Rx IRQ  
Rx Clock  
Rx Control  
Load  
SBUF  
Start  
Shift  
0x1FF  
RB8  
Input Shift Register  
(9 bits)  
Load SBUF  
SBUF  
(RX Latch)  
Read  
SBUF  
SFR Bus  
RX  
Crossbar  
Figure 22.1. UART0 Block Diagram  
Rev. 1.0  
207