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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第220页浏览型号MC908AP32CFAE的Datasheet PDF文件第221页浏览型号MC908AP32CFAE的Datasheet PDF文件第222页浏览型号MC908AP32CFAE的Datasheet PDF文件第223页浏览型号MC908AP32CFAE的Datasheet PDF文件第225页浏览型号MC908AP32CFAE的Datasheet PDF文件第226页浏览型号MC908AP32CFAE的Datasheet PDF文件第227页浏览型号MC908AP32CFAE的Datasheet PDF文件第228页  
Low-Power Modes  
The shift register is cleared.  
The SPI state counter is cleared, making it ready for a new complete transmission.  
All the SPI port logic is defaulted back to being general-purpose I/O.  
These items are reset only by a system reset:  
All control bits in the SPCR register  
All control bits in the SPSCR register (MODFEN, ERRIE, SPR1, and SPR0)  
The status flags SPRF, OVRF, and MODF  
By not resetting the control bits when SPE is low, the user can clear SPE between transmissions without  
having to set all control bits again when SPE is set back high for the next transmission.  
By not resetting the SPRF, OVRF, and MODF flags, the user can still service these interrupts after the  
SPI has been disabled. The user can disable the SPI by writing 0 to the SPE bit. The SPI can also be  
disabled by a mode fault occurring in an SPI that was configured as a master with the MODFEN bit set.  
13.10 Low-Power Modes  
The WAIT and STOP instructions put the MCU in low power-consumption standby modes.  
13.10.1 Wait Mode  
The SPI module remains active after the execution of a WAIT instruction. In wait mode the SPI module  
registers are not accessible by the CPU. Any enabled CPU interrupt request from the SPI module can  
bring the MCU out of wait mode.  
If SPI module functions are not required during wait mode, reduce power consumption by disabling the  
SPI module before executing the WAIT instruction.  
To exit wait mode when an overflow condition occurs, enable the OVRF bit to generate CPU interrupt  
requests by setting the error interrupt enable bit (ERRIE). (See 13.8 Interrupts.)  
13.10.2 Stop Mode  
The SPI module is inactive after the execution of a STOP instruction. The STOP instruction does not  
affect register conditions. SPI operation resumes after an external interrupt. If stop mode is exited by  
reset, any transfer in progress is aborted, and the SPI is reset.  
13.11 SPI During Break Interrupts  
The system integration module (SIM) controls whether status bits in other modules can be cleared during  
the break state. The BCFE bit in the SIM break flag control register (SBFCR) enables software to clear  
status bits during the break state. (See Chapter 7 System Integration Module (SIM).)  
To allow software to clear status bits during a break interrupt, write a logic 1 to the BCFE bit. If a status  
bit is cleared during the break state, it remains cleared when the MCU exits the break state.  
To protect status bits during the break state, write a logic 0 to the BCFE bit. With BCFE at logic 0 (its  
default state), software can read and write I/O registers during the break state without affecting status bits.  
Some status bits have a 2-step read/write clearing procedure. If software does the first step on such a bit  
before the break, the bit cannot change during the break state as long as BCFE is at logic 0. After the  
break, doing the second step clears the status bit.  
MC68HC908AP Family Data Sheet, Rev. 4  
Freescale Semiconductor  
221  
 复制成功!