欢迎访问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文件第123页浏览型号895132-UL的Datasheet PDF文件第124页浏览型号895132-UL的Datasheet PDF文件第125页浏览型号895132-UL的Datasheet PDF文件第126页浏览型号895132-UL的Datasheet PDF文件第128页浏览型号895132-UL的Datasheet PDF文件第129页浏览型号895132-UL的Datasheet PDF文件第130页浏览型号895132-UL的Datasheet PDF文件第131页  
AT89C5132  
Figure 19-10. Master SPI Interrupt Policy Flows  
SPI Initialization  
Interrupt Policy  
SPI Interrupt  
Service Routine  
Select Master Mode  
MSTR = 1  
Read Status  
Read SPSTA  
Select Bit Rate  
Program SPR2:0  
Get Data Received  
Read SPDAT  
Select Format  
Program CPOL & CPHA  
Start New Transfer  
Write Data in SPDAT  
Enable Interrupt  
ESPI =1  
Last Transfer?  
Enable SPI  
SPEN = 1  
Deselect Slave  
Pn.x = H  
Select Slave  
Pn.x = L  
Disable Interrupt  
SPIE = 0  
Start Transfer  
Write Data in SPDAT  
19.3.6  
Slave Mode with Polling Policy  
Figure 19-11 shows the initialization phase and the transfer phase flows using the polling policy.  
The transfer format depends on the master controller.  
SPIF flag is cleared when reading SPDAT (SPSTA has been read before by the “end of recep-  
tion” check).  
This policy provides the fastest effective transmission and is well adapted when communicating  
at high speed with other Microcontrollers. However, the procedure may be interrupted at any  
time by higher priority tasks.  
127  
4173E–USB–09/07  
 复制成功!