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

85C51SND3BX01 参数 Datasheet PDF下载

85C51SND3BX01图片预览
型号: 85C51SND3BX01
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片数字音频解码器 - 编码器与USB 2.0接口 [Single-Chip Digital Audio Decoder - Encoder with USB 2.0 Interface]
分类和应用: 解码器编码器
文件页数/大小: 263 页 / 3620 K
品牌: ATMEL [ ATMEL ]
 浏览型号85C51SND3BX01的Datasheet PDF文件第226页浏览型号85C51SND3BX01的Datasheet PDF文件第227页浏览型号85C51SND3BX01的Datasheet PDF文件第228页浏览型号85C51SND3BX01的Datasheet PDF文件第229页浏览型号85C51SND3BX01的Datasheet PDF文件第231页浏览型号85C51SND3BX01的Datasheet PDF文件第232页浏览型号85C51SND3BX01的Datasheet PDF文件第233页浏览型号85C51SND3BX01的Datasheet PDF文件第234页  
OverRun Condition  
This error means that the speed is not adapted for the running application.  
An OverRun condition occurs when a byte has been received whereas the previous one  
has not been read by the application yet.  
The last byte (which generate the overrun error) does not overwrite the unread data so  
that it can still be read. Therefore, an overrun error always indicates the loss of data.  
Interrupt  
The SPI handles 3 interrupt sources that are the “end of transfer”, the “mode fault” and  
the “transmit register empty” flags.  
As shown in Figure 125, these flags are combined together to appear as a single inter-  
rupt source for the C51 core.  
The SPIF flag is set at the end of an 8-bit shift in and out and is cleared by reading  
SPSCR and then reading from or writing to SPDAT.  
The MODF flag is set in case of mode fault error and is cleared by reading SPSCR and  
then writing to SPCON.  
The SPTE flag is set when the transmit register is empty and ready to receive new data.  
When SPTE interrupt source is enabled, SPIF flag does not generate any interrupt.  
The SPI interrupt is enabled by setting ESPI bit in IEN1 register. This assumes inter-  
rupts are globally enabled by setting EA bit in IEN0 register.  
Figure 125. SPI Interrupt System  
SPIF  
SPSCR.7  
SPI Controller  
Interrupt Request  
SPTE  
SPSCR.3  
SPTEIE  
SPSCR.1  
ESPI  
IEN1.3  
MODF  
SPSCR.4  
MODFIE  
SPSCR.0  
Registers  
Table 251. SPCON Register  
SPCON (1:91h) – SPI Control Register  
7
6
5
4
3
2
1
0
SPR2  
SPEN  
SSDIS  
MSTR  
CPOL  
CPHA  
SPR1  
SPR0  
Bit  
Bit  
Number  
Mnemonic Description  
SPI Rate Bit 2  
7
6
SPR2  
Refer to Table 250 for bit rate description.  
SPI Enable Bit  
SPEN  
SSDIS  
Set to enable the SPI interface.  
Clear to disable the SPI interface.  
Slave Select Input Disable Bit  
Set to disable SS in both master and slave modes. In slave mode this bit has no  
effect if CPHA = 0.  
5
Clear to enable SS in both master and slave modes.  
230  
AT85C51SND3Bx  
7632A–MP3–03/06  
 复制成功!