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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第243页浏览型号C8051F502-IM的Datasheet PDF文件第244页浏览型号C8051F502-IM的Datasheet PDF文件第245页浏览型号C8051F502-IM的Datasheet PDF文件第246页浏览型号C8051F502-IM的Datasheet PDF文件第248页浏览型号C8051F502-IM的Datasheet PDF文件第249页浏览型号C8051F502-IM的Datasheet PDF文件第250页浏览型号C8051F502-IM的Datasheet PDF文件第251页  
C8051F50x-F51x  
If the extra bit function is enabled (XBE0 = 1) and the parity function is disabled (PE0 = 0), the extra bit for  
the oldest byte in the FIFO can be read from the RBX0 bit (SCON0.2). If the extra bit function is not  
enabled, the value of the stop bit for the oldest FIFO byte will be presented in RBX0. When the parity func-  
tion is enabled (PE0 = 1), hardware will check the received parity bit against the selected parity type  
(selected with S0PT[1:0]) when receiving data. If a byte with parity error is received, the PERR0 flag will be  
set to 1. This flag must be cleared by software. Note: when parity is enabled, the extra bit function is not  
available.  
24.3.3. Multiprocessor Communications  
UART0 supports multiprocessor communication between a master processor and one or more slave pro-  
cessors by special use of the extra data bit. When a master processor wants to transmit to one or more  
slaves, it first sends an address byte to select the target(s). An address byte differs from a data byte in that  
its extra bit is logic 1; in a data byte, the extra bit is always set to logic 0.  
Setting the MCE0 bit (SMOD0.7) of a slave processor configures its UART such that when a stop bit is  
received, the UART will generate an interrupt only if the extra bit is logic 1 (RBX0 = 1) signifying an  
address byte has been received. In the UART interrupt handler, software will compare the received  
address with the slave's own assigned address. If the addresses match, the slave will clear its MCE0 bit to  
enable interrupts on the reception of the following data byte(s). Slaves that weren't addressed leave their  
MCE0 bits set and do not generate interrupts on the reception of the following data bytes, thereby ignoring  
the data. Once the entire message is received, the addressed slave resets its MCE0 bit to ignore all trans-  
missions until it receives the next address byte.  
Multiple addresses can be assigned to a single slave and/or a single address can be assigned to multiple  
slaves, thereby enabling "broadcast" transmissions to more than one slave simultaneously. The master  
processor can be configured to receive all transmissions or a protocol can be implemented such that the  
master/slave role is temporarily reversed to enable half-duplex transmission between the original master  
and slave(s).  
Master  
Device  
Slave  
Device  
Slave  
Device  
Slave  
Device  
V+  
RX  
TX  
RX  
TX  
RX  
TX  
RX  
TX  
Figure 24.6. UART Multi-Processor Mode Interconnect Diagram  
Rev. 1.1  
247  
 复制成功!