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

895132-UL 参数 Datasheet PDF下载

895132-UL图片预览
型号: 895132-UL
PDF下载: 下载PDF文件 查看货源
内容描述: USB微控制器,带有64K字节Flash存储器 [USB Microcontroller with 64K Bytes Flash Memory]
分类和应用: 存储微控制器
文件页数/大小: 182 页 / 1660 K
品牌: ATMEL [ ATMEL ]
 浏览型号895132-UL的Datasheet PDF文件第122页浏览型号895132-UL的Datasheet PDF文件第123页浏览型号895132-UL的Datasheet PDF文件第124页浏览型号895132-UL的Datasheet PDF文件第125页浏览型号895132-UL的Datasheet PDF文件第127页浏览型号895132-UL的Datasheet PDF文件第128页浏览型号895132-UL的Datasheet PDF文件第129页浏览型号895132-UL的Datasheet PDF文件第130页  
Figure 19-9. Master SPI Polling Policy Flows  
SPI Initialization  
Polling Policy  
SPI Transfer  
Polling Policy  
Disable Interrupt  
SPIE = 0  
Select Slave  
Pn.x = L  
Select Master Mode  
MSTR = 1  
Start Transfer  
Write Data in SPDAT  
Select Bit Rate  
program SPR2:0  
End Of Transfer?  
SPIF = 1?  
Select Format  
program CPOL & CPHA  
Get Data Received  
Read SPDAT  
Enable SPI  
SPEN = 1  
Last Transfer?  
Deselect Slave  
Pn.x = H  
19.3.5  
Master Mode with Interrupt Policy  
Figure 19-10 shows the initialization phase and the transfer phase flows using the interrupt pol-  
icy. Using this flow prevents any overrun error occurrence.  
The bit rate is selected according to Table 97.  
The transfer format depends on the slave peripheral.  
SS may be deasserted between transfers depending also on the slave peripheral.  
Reading SPSTA at the beginning of the ISR is mandatory for clearing the SPIF flag. Clear is  
effective when reading SPDAT.  
126  
AT89C5132  
4173E–USB–09/07  
 复制成功!