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

PIC18C452-I/L 参数 Datasheet PDF下载

PIC18C452-I/L图片预览
型号: PIC18C452-I/L
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能微控制器,10位A / D [High-Performance Microcontrollers with 10-Bit A/D]
分类和应用: 微控制器
文件页数/大小: 296 页 / 4835 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18C452-I/L的Datasheet PDF文件第183页浏览型号PIC18C452-I/L的Datasheet PDF文件第184页浏览型号PIC18C452-I/L的Datasheet PDF文件第185页浏览型号PIC18C452-I/L的Datasheet PDF文件第186页浏览型号PIC18C452-I/L的Datasheet PDF文件第188页浏览型号PIC18C452-I/L的Datasheet PDF文件第189页浏览型号PIC18C452-I/L的Datasheet PDF文件第190页浏览型号PIC18C452-I/L的Datasheet PDF文件第191页  
PIC18CXX2  
External MCLR Reset will cause a device reset. All  
other events are considered a continuation of program  
execution and will cause a "wake-up". The TO and PD  
bits in the RCON register can be used to determine the  
cause of the device reset. The PD bit, which is set on  
power-up, is cleared when SLEEPis invoked. The TO  
bit is cleared, if a WDT time-out occurred (and caused  
wake-up).  
18.3  
Power-down Mode (SLEEP)  
Power-down mode is entered by executing a SLEEP  
instruction.  
If enabled, the Watchdog Timer will be cleared, but  
keeps running, the PD bit (RCON<3>) is cleared, the  
TO (RCON<4>) bit is set, and the oscillator driver is  
turned off. The I/O ports maintain the status they had  
before the SLEEP instruction was executed (driving  
high, low or hi-impedance).  
When the SLEEPinstruction is being executed, the next  
instruction (PC + 2) is pre-fetched. For the device to  
wake-up through an interrupt event, the corresponding  
interrupt enable bit must be set (enabled). Wake-up is  
regardless of the state of the GIE bit. If the GIE bit is  
clear (disabled), the device continues execution at the  
instruction after the SLEEPinstruction. If the GIE bit is  
set (enabled), the device executes the instruction after  
the SLEEP instruction and then branches to the inter-  
rupt address. In cases where the execution of the  
instruction following SLEEP is not desirable, the user  
should have a NOP after the SLEEPinstruction.  
For lowest current consumption in this mode, place all  
I/O pins at either VDD or VSS, ensure no external cir-  
cuitry is drawing current from the I/O pin, power-down  
the A/D and disable external clocks. Pull all I/O pins  
that are hi-impedance inputs, high or low externally, to  
avoid switching currents caused by floating inputs. The  
T0CKI input should also be at VDD or VSS for lowest  
current consumption. The contribution from on-chip  
pull-ups on PORTB should be considered.  
The MCLR pin must be at a logic high level (VIHMC).  
18.3.1 WAKE-UP FROM SLEEP  
The device can wake up from SLEEP through one of  
the following events:  
1. External reset input on MCLR pin.  
2. Watchdog Timer Wake-up (if WDT was  
enabled).  
3. Interrupt from INT pin, RB port change or a  
Peripheral Interrupt.  
The following peripheral interrupts can wake the device  
from SLEEP:  
1. PSP read or write.  
2. TMR1 interrupt. Timer1 must be operating as  
an asynchronous counter.  
3. TMR3 interrupt. Timer3 must be operating as  
an asynchronous counter.  
4. CCP capture mode interrupt.  
5. Special event trigger (Timer1 in asynchronous  
mode using an external clock).  
6. MSSP (Start/Stop) bit detect interrupt.  
7. MSSP transmit or receive in slave mode (SPI/  
I2C).  
8. USART RX or TX (synchronous slave mode).  
9. A/D conversion (when A/D clock source is RC).  
Other peripherals cannot generate interrupts, since  
during SLEEP, no on-chip clocks are present.  
7/99 Microchip Technology Inc.  
Preliminary  
DS39026B-page 187  
 复制成功!