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

C8051F300 参数 Datasheet PDF下载

C8051F300图片预览
型号: C8051F300
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 174 页 / 2784 K
品牌: ETC [ ETC ]
 浏览型号C8051F300的Datasheet PDF文件第126页浏览型号C8051F300的Datasheet PDF文件第127页浏览型号C8051F300的Datasheet PDF文件第128页浏览型号C8051F300的Datasheet PDF文件第129页浏览型号C8051F300的Datasheet PDF文件第131页浏览型号C8051F300的Datasheet PDF文件第132页浏览型号C8051F300的Datasheet PDF文件第133页浏览型号C8051F300的Datasheet PDF文件第134页  
C8051F300/1/2/3/4/5
14.2.2. 9-Bit UART
9-bit UART mode uses a total of eleven bits per data byte: a start bit, 8 data bits (LSB first), a programma-
ble ninth data bit, and a stop bit. The state of the ninth transmit data bit is determined by the value in TB80
(SCON0.3), which is assigned by user software. It can be assigned the value of the parity flag (bit P in reg-
ister PSW) for error detection, or used in multiprocessor communications. On receive, the ninth data bit
goes into RB80 (SCON0.2) and the stop bit is ignored.
Data transmission begins when an instruction writes a data byte to the SBUF0 register. The TI0 Transmit
Interrupt Flag (SCON0.1) is set at the end of the transmission (the beginning of the stop-bit time). Data
reception can begin any time after the REN0 Receive Enable bit (SCON0.4) is set to ‘1’. After the stop bit
is received, the data byte will be loaded into the SBUF0 receive register if the following conditions are met:
(1) RI0 must be logic 0, and (2) if MCE0 is logic 1, the 9th bit must be logic 1 (when MCE0 is logic 0, the
state of the ninth data bit is unimportant). If these conditions are met, the eight bits of data are stored in
SBUF0, the ninth bit is stored in RB80, and the RI0 flag is set to ‘1’. If the above conditions are not met,
SBUF0 and RB80 will not be loaded and the RI0 flag will not be set to ‘1’. A UART0 interrupt will occur if
enabled when either TI0 or RI0 is set to ‘1’.
MARK
SPACE
BIT TIMES
START
BIT
D0
D1
D2
D3
D4
D5
D6
D7
D8
STOP
BIT
BIT SAMPLING
Figure 14.5. 9-Bit UART Timing Diagram
130
Rev. 2.6