参数资料
型号: PIC16C782T-I/SO
厂商: Microchip Technology
文件页数: 39/186页
文件大小: 0K
描述: IC MCU CMOS 8BIT 2K 20MHZ 20SOIC
产品培训模块: Asynchronous Stimulus
标准包装: 1,600
系列: PIC® 16C
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 13
程序存储器容量: 3.5KB(2K x 14)
程序存储器类型: OTP
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 4 V ~ 5.5 V
数据转换器: A/D 8x8b; D/A 1x8b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 20-SOIC(0.295",7.50mm 宽)
包装: 带卷 (TR)
配用: AC164028-ND - MODULE SKT PROMATEII 20SOIC/DIP
其它名称: PIC16C782TI/SO
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页当前第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页
2001 Microchip Technology Inc.
Preliminary
DS41171A-page 131
PIC16C781/782
14.12 Power-down Mode (SLEEP)
Power-down mode is entered by executing a SLEEP
instruction.
If enabled, the Watchdog Timer is cleared but keeps
running, the PD bit (STATUS<3>) is cleared, the TO
(STATUS<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).
For lowest current consumption in this mode:
place all I/O pins at either VDD, or VSS,
ensure no external circuitry is drawing current
from the I/O pin,
power-down all peripherals,
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.
14.12.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, PORTB IOCB, or any
Peripheral Interrupts.
External MCLR Reset causes a device RESET. All other
events are considered a continuation of program execu-
tion and cause a "wake-up". The TO and PD bits in the
STATUS register can be used to determine the cause of
device RESET. The PD bit, which is set on power-up, is
cleared when SLEEP is invoked. The TO bit is cleared if
a WDT time-out occurred (and caused wake-up).
The following peripheral interrupts can wake the device
from SLEEP:
1.
TMR1 interrupt. Timer1 must be operating as an
asynchronous counter.
2.
ADC conversion (when ADC clock source is RC).
3.
Programmable low voltage detect.
4.
Comparator C1 or C2 interrupt-on-change.
5.
OPA in Comparator mode using IOCB.
Other peripherals cannot generate interrupts since dur-
ing SLEEP, no on-chip clocks are present.
When the SLEEP instruction is being executed, the next
instruction (PC + 1) 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 SLEEP instruction. If the GIE bit is
set (enabled), the device executes the instruction after
the SLEEP instruction, then branches to the interrupt
address (0004h). In cases where the execution of the
instruction following SLEEP is not desirable, the user
should have a NOP after the SLEEP instruction.
14.12.2
WAKE-UP USING INTERRUPTS
When global interrupts are disabled (GIE cleared) and
any interrupt source has both its interrupt enable bit
and interrupt flag bit set, one of the following will occur:
If the interrupt occurs before the execution of a
SLEEP
instruction, the SLEEP instruction com-
pletes as a NOP. Therefore, the WDT and WDT
postscaler are not cleared, the TO bit is not set,
and PD bits are not cleared.
If the interrupt occurs during or after the execu-
tion of a SLEEP instruction, the device immedi-
ately awakens from SLEEP. The SLEEP
instruction will be completely executed before the
wake-up. Therefore, the WDT and WDT
postscaler are cleared, the TO bit is set, and the
PD bit is cleared.
Even if the flag bits were checked before executing a
SLEEP
instruction, it may be possible for flag bits to
become set before the SLEEP instruction completes. To
determine whether a SLEEP instruction executed, test
the PD bit. If the PD bit is set, the SLEEP instruction
was executed as a NOP.
To ensure that the WDT is cleared, a CLRWDT instruc-
tion should be executed before a SLEEP instruction.
相关PDF资料
PDF描述
PIC16C715T-04E/SS IC MCU OTP 2KX14 A/D 20SSOP
PIC24EP64MC204-E/TL IC MCU 16BIT 64KB FLASH 44-VTLA
PIC24EP64GP204-E/TL IC MCU 16BIT 64KB FLASH 44-VTLA
DSPIC33EP64MC204-E/TL IC DSC 16BIT 64KB FLASH 44-VTLA
PIC24EP64MC204-E/ML MCU 16BIT 64KB FLASH 44QFN
相关代理商/技术参数
参数描述
PIC16C8404ISO 制造商:MICROCHIP 功能描述:New
PIC16C923-04/L 功能描述:8位微控制器 -MCU 7KB 176 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C923-04/L 制造商:Microchip Technology Inc 功能描述:8BIT CMOS MCU SMD 16C923 PLCC68
PIC16C923-04/PT 功能描述:8位微控制器 -MCU 7KB 176 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C923-04/SP 制造商:Microchip Technology Inc 功能描述: