欢迎访问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文件第42页浏览型号895132-UL的Datasheet PDF文件第43页浏览型号895132-UL的Datasheet PDF文件第44页浏览型号895132-UL的Datasheet PDF文件第45页浏览型号895132-UL的Datasheet PDF文件第47页浏览型号895132-UL的Datasheet PDF文件第48页浏览型号895132-UL的Datasheet PDF文件第49页浏览型号895132-UL的Datasheet PDF文件第50页  
11.3 Idle Mode  
Idle mode is a power reduction mode that reduces the power consumption. In this mode, pro-  
gram execution halts. Idle mode freezes the clock to the CPU at known states while the  
peripherals continue to be clocked (refer to Section “Oscillator”, page 12). The CPU status  
before entering Idle mode is preserved, i.e., the program counter and program status word reg-  
ister retain their data for the duration of Idle mode. The contents of the SFRs and RAM are also  
retained. The status of the Port pins during Idle mode is detailed in Table 16.  
11.3.1  
Entering Idle Mode  
To enter Idle mode, the user must set the IDL bit in PCON register (see Table 18). The  
AT89C5132 enters Idle mode upon execution of the instruction that sets IDL bit. The instruction  
that sets IDL bit is the last instruction executed.  
Note:  
If IDL bit and PD bit are set simultaneously, the AT89C5132 enter Power-down mode. Then it  
does not go in Idle mode when exiting Power-down mode.  
11.3.2  
Exiting Idle Mode  
There are 2 ways to exit Idle mode:  
1. Generate an enabled interrupt.  
Hardware clears IDL bit in PCON register which restores the clock to the CPU.  
Execution resumes with the interrupt service routine. Upon completion of the  
interrupt service routine, program execution resumes with the instruction  
immediately following the instruction that activated Idle mode. The general-purpose  
flags (GF1 and GF0 in PCON register) may be used to indicate whether an interrupt  
occurred during normal operation or during Idle mode. When Idle mode is exited by  
an interrupt, the interrupt service routine may examine GF1 and GF0.  
2. Generate a reset.  
A logic high on the RST pin clears IDL bit in PCON register directly and  
asynchronously. This restores the clock to the CPU. Program execution momentarily  
resumes with the instruction immediately following the instruction that activated the  
Idle mode and may continue for a number of clock cycles before the internal reset  
algorithm takes control. Reset initializes the AT89C5132 and vectors the CPU to  
address C:0000h.  
Note:  
During the time that execution resumes, the internal RAM cannot be accessed; however, it is pos-  
sible for the Port pins to be accessed. To avoid unexpected outputs at the Port pins, the instruction  
immediately following the instruction that activated Idle mode should not write to a Port pin or to  
the external RAM.  
11.4 Power-down Mode  
The Power-down mode places the AT89C5132 in a very low power state. Power-down mode  
stops the oscillator and freezes all clocks at known states (refer to the Section "Oscillator",  
page 12). The CPU status prior to entering Power-down mode is preserved, i.e., the program  
counter, program status word register retain their data for the duration of Power-down mode. In  
addition, the SFRs and RAM contents are preserved. The status of the Port pins during Power-  
down mode is detailed in Table 16.  
Note:  
VDD may be reduced to as low as VRET during Power-down mode to further reduce power dissipa-  
tion. Notice, however, that VDD is not reduced until Power-down mode is invoked.  
46  
AT89C5132  
4173E–USB–09/07  
 复制成功!