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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第225页浏览型号MC908AP32CFAE的Datasheet PDF文件第226页浏览型号MC908AP32CFAE的Datasheet PDF文件第227页浏览型号MC908AP32CFAE的Datasheet PDF文件第228页浏览型号MC908AP32CFAE的Datasheet PDF文件第230页浏览型号MC908AP32CFAE的Datasheet PDF文件第231页浏览型号MC908AP32CFAE的Datasheet PDF文件第232页浏览型号MC908AP32CFAE的Datasheet PDF文件第233页  
Serial Peripheral Interface Module (SPI)  
ERRIE — Error Interrupt Enable Bit  
This read/write bit enables the MODF and OVRF bits to generate CPU interrupt requests. Reset clears  
the ERRIE bit.  
1 = MODF and OVRF can generate CPU interrupt requests  
0 = MODF and OVRF cannot generate CPU interrupt requests  
OVRF — Overflow Bit  
This clearable, read-only flag is set if software does not read the byte in the receive data register before  
the next full byte enters the shift register. In an overflow condition, the byte already in the receive data  
register is unaffected, and the byte that shifted in last is lost. Clear the OVRF bit by reading the SPI  
status and control register with OVRF set and then reading the receive data register. Reset clears the  
OVRF bit.  
1 = Overflow  
0 = No overflow  
MODF — Mode Fault Bit  
This clearable, read-only flag is set in a slave SPI if the SS pin goes high during a transmission with  
the MODFEN bit set. In a master SPI, the MODF flag is set if the SS pin goes low at any time with the  
MODFEN bit set. Clear the MODF bit by reading the SPI status and control register (SPSCR) with  
MODF set and then writing to the SPI control register (SPCR). Reset clears the MODF bit.  
1 = SS pin at inappropriate logic level  
0 = SS pin at appropriate logic level  
SPTE — SPI Transmitter Empty Bit  
This clearable, read-only flag is set each time the transmit data register transfers a byte into the shift  
register. SPTE generates an SPTE CPU interrupt request if the SPTIE bit in the SPI control register is  
set also.  
NOTE  
Do not write to the SPI data register unless the SPTE bit is high.  
During an SPTE CPU interrupt, the CPU clears the SPTE bit by writing to the transmit data register.  
Reset sets the SPTE bit.  
1 = Transmit data register empty  
0 = Transmit data register not empty  
MODFEN — Mode Fault Enable Bit  
This read/write bit, when set to 1, allows the MODF flag to be set. If the MODF flag is set, clearing the  
MODFEN does not clear the MODF flag. If the SPI is enabled as a master and the MODFEN bit is low,  
then the SS pin is available as a general-purpose I/O.  
If the MODFEN bit is set, then this pin is not available as a general-purpose I/O. When the SPI is  
enabled as a slave, the SS pin is not available as a general-purpose I/O regardless of the value of  
MODFEN. (See 13.12.4 SS (Slave Select).)  
If the MODFEN bit is low, the level of the SS pin does not affect the operation of an enabled SPI  
configured as a master. For an enabled SPI configured as a slave, having MODFEN low only prevents  
the MODF flag from being set. It does not affect any other part of SPI operation. (See 13.7.2 Mode  
Fault Error.)  
SPR1 and SPR0 — SPI Baud Rate Select Bits  
In master mode, these read/write bits select one of four baud rates as shown in Table 13-4. SPR1 and  
SPR0 have no effect in slave mode. Reset clears SPR1 and SPR0.  
MC68HC908AP Family Data Sheet, Rev. 4  
226  
Freescale Semiconductor  
 复制成功!