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

MC81F4216D 参数 Datasheet PDF下载

MC81F4216D图片预览
型号: MC81F4216D
PDF下载: 下载PDF文件 查看货源
内容描述: ABOV半导体的8位单芯片微控制器产品 [ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 半导体微控制器
文件页数/大小: 200 页 / 4220 K
品牌: FINECHIPS [ FINECHIPS ]
 浏览型号MC81F4216D的Datasheet PDF文件第157页浏览型号MC81F4216D的Datasheet PDF文件第158页浏览型号MC81F4216D的Datasheet PDF文件第159页浏览型号MC81F4216D的Datasheet PDF文件第160页浏览型号MC81F4216D的Datasheet PDF文件第162页浏览型号MC81F4216D的Datasheet PDF文件第163页浏览型号MC81F4216D的Datasheet PDF文件第164页浏览型号MC81F4216D的Datasheet PDF文件第165页  
MC81F4x16  
Setup Procedure for Multiprocessor Communications  
Follow these steps to configure multiprocessor communications:  
1. Set all MC81F4x16 devices (masters and slaves) to UART mode 2 or 3.  
2. Write the MCE bit of all the slave devices to "1".  
3. The master device's transmission protocol is:  
- First byte: the address identifying the target slave device (9th bit = "1")  
- Next bytes: data (9th bit = "0")  
4. When the target slave receives the first byte, all of the slaves are interrupted because the 9th  
data bit is "1". The targeted slave compares the address byte to its own address and then  
clears its MCE bit in order to receive incoming data. The other slaves continue operating  
normally.  
24.5 Interrupt  
Interrupt Timing  
In mode 0, the URIR(IRQL.4) bit is set to "1" when the 8th receive data bit has been shifted. In mode  
1, the URIR(IRQL.4) bit is set to "1" at the halfway point of the stop bit's shift time.  
In mode 2, or 3, the URIR(IRQL.4) bit is set to "1" at the halfway point of the RB8 bit's shift time.  
When the CPU has acknowledged the receive interrupt request flag condition, the URIR(IRQL.4) bit is  
cleared automatically.  
In mode 0, the UTIR(IRQL.3) bit is set to "1" when the 8th transmit data bit has been shifted. In mode  
1, 2, or 3, the UTIR(IRQL.3) bit is set at the start of the stop bit. When the CPU has acknowledged the  
transmit interrupt request flag condition, the UTIR(IRQL.3) 4 bit is cleared automatically.  
Shared Interrupt Vector  
In case of using interrupts of UART Tx and UART Rx together, it is necessary to check UTIF and  
URIF in interrupt service routine to find out which interrupt is occurred, because the UART Tx and  
UART Rx is shared with the same interrupt vector address. These flag bits must be cleared by  
software after reading this register. ( UTIF and URIF are placed in INTFL register. See 9.6 Control  
Registers ( SFR )on page 60)  
October 19, 2009 Ver.1.35  
161