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

83C51SND2C-JL 参数 Datasheet PDF下载

83C51SND2C-JL图片预览
型号: 83C51SND2C-JL
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片闪存微控制器与MP3解码器,支持完整的音频接口 [Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface]
分类和应用: 解码器闪存微控制器
文件页数/大小: 235 页 / 2877 K
品牌: ATMEL [ ATMEL ]
 浏览型号83C51SND2C-JL的Datasheet PDF文件第160页浏览型号83C51SND2C-JL的Datasheet PDF文件第161页浏览型号83C51SND2C-JL的Datasheet PDF文件第162页浏览型号83C51SND2C-JL的Datasheet PDF文件第163页浏览型号83C51SND2C-JL的Datasheet PDF文件第165页浏览型号83C51SND2C-JL的Datasheet PDF文件第166页浏览型号83C51SND2C-JL的Datasheet PDF文件第167页浏览型号83C51SND2C-JL的Datasheet PDF文件第168页  
Master Mode with Interrupt  
Figure 111 shows the initialization phase and the transfer phase flows using the inter-  
rupt. Using this flow prevents any overrun error occurrence.  
The bit rate is selected according to Table 154.  
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.  
Figure 111. Master SPI Interrupt Flows  
SPI Initialization  
Interrupt Policy  
SPI Interrupt  
Service Routine  
Select Master Mode  
Read Status  
MSTR = 1  
Read SPSTA  
Select Bit Rate  
Get Data Received  
program SPR2:0  
read SPDAT  
Select Format  
Start New Transfer  
program CPOL & CPHA  
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  
164  
AT8xC51SND2C  
4341D–MP3–04/05  
 复制成功!