参数资料
型号: PIC12F1840T-I/MF
厂商: Microchip Technology
文件页数: 113/122页
文件大小: 0K
描述: MCU 7KB FLASH 256B RAM XLP 8DFN
标准包装: 3,300
系列: PIC® XLP™ 12F
核心处理器: PIC
芯体尺寸: 8-位
速度: 32MHz
连通性: I²C,LIN,SPI,UART/USART
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 5
程序存储器容量: 7KB(4K x 14)
程序存储器类型: 闪存
EEPROM 大小: 256 x 8
RAM 容量: 256 x 8
电压 - 电源 (Vcc/Vdd): 2.3 V ~ 5.5 V
数据转换器: A/D 4x10b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 8-VDFN 裸露焊盘
包装: 带卷 (TR)
PIC12(L)F1840
DS41441B-page 90
Preliminary
2011 Microchip Technology Inc.
9.1.1
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
- SLEEP instruction will execute as a NOP.
- WDT and WDT prescaler will not be cleared
-TO bit of the STATUS register will not be set
-PD bit of the STATUS register will not be
cleared.
If the interrupt occurs during or after the execu-
tion of a SLEEP instruction
- SLEEP instruction will be completely exe-
cuted
- Device will immediately wake-up from Sleep
- WDT and WDT prescaler will be cleared
-TO bit of the STATUS register will be set
-PD bit of the STATUS register will be 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.
FIGURE 9-1:
WAKE-UP FROM SLEEP THROUGH INTERRUPT
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
OSC1(1)
CLKOUT(2)
Interrupt flag
GIE bit
(INTCON reg.)
Instruction Flow
PC
Instruction
Fetched
Instruction
Executed
PC
PC + 1
PC + 2
Inst(PC) = Sleep
Inst(PC - 1)
Inst(PC + 1)
Sleep
Processor in
Sleep
Interrupt Latency(4)
Inst(PC + 2)
Inst(PC + 1)
Inst(0004h)
Inst(0005h)
Inst(0004h)
Dummy Cycle
PC + 2
0004h
0005h
Dummy Cycle
TOST(3)
PC + 2
Note
1:
XT, HS or LP Oscillator mode assumed.
2:
CLKOUT is not available in XT, HS or LP Oscillator modes, but shown here for timing reference.
3:
TOST = 1024 TOSC (drawing not to scale). This delay applies only to XT, HS or LP Oscillator modes.
4:
GIE = 1 assumed. In this case after wake-up, the processor calls the ISR at 0004h. If GIE = 0, execution will continue in-line.
相关PDF资料
PDF描述
VE-J3W-IW-F1 CONVERTER MOD DC/DC 5.5V 100W
PIC16LF1903T-I/SS MCU 7KB FLASH 256B RAM 28SSOP
VE-J3V-IW-F1 CONVERTER MOD DC/DC 5.8V 100W
PIC16LF1902-E/SO MCU 3.5KB FLASH 128B RAM 28SOIC
VE-J3P-IW-F3 CONVERTER MOD DC/DC 13.8V 100W
相关代理商/技术参数
参数描述
PIC12F505 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/MC 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/MG 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/MS 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/P 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers