参数资料
型号: PIC14000-04I/SO
厂商: Microchip Technology
文件页数: 135/153页
文件大小: 0K
描述: IC MCU OTP 4KX14 A/D 28SOIC
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 27
系列: PIC® 14
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
连通性: I²C
外围设备: POR,温度传感器,WDT
输入/输出数: 20
程序存储器容量: 7KB(4K x 14)
程序存储器类型: OTP
RAM 容量: 192 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 6 V
数据转换器: 斜率 A/D
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 28-SOIC(0.295",7.50mm 宽)
包装: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
309-1073-ND - ADAPTER 28-SOIC TO 28-SOIC
309-1024-ND - ADAPTER 28-SOIC TO 28-DIP
309-1023-ND - ADAPTER 28-SOIC TO 28-DIP
PIC14000
DS40122B-page 82
Preliminary
1996 Microchip Technology Inc.
10.6
Interrupts
The PIC14000 has several sources of interrupt:
External interrupt from OSC1/PBTN pin
I2C port interrupt
PORTC interrupt on change (pins RC<7:4> only)
Timer0 overow
A/D timer overow
A/D converter capture event
Programmable reference comparator interrupt
This section addresses the external and Timer0
interrupts only. Refer to the appropriate sections for
description of the serial port, programmable reference
and A/D interrupts.
INTCON records individual interrupt requests in ag
bits. It also has individual and global enable bits. The
peripheral interrupt ags reside in the PIR1 register.
Peripheral interrupt enable interrupts are contained in
the PIE1 register.
Global
interrupt
masking
is
controlled
by
GIE
(INTCON<7>). Individual interrupts can be disabled
through their corresponding mask bit in the INTCON
register. GIE is cleared on reset to mask interrupts.
When an interrupt is serviced, the GIE is cleared to
disable any further interrupt, the return address is
pushed onto the stack and the PC is loaded with
0004h, the interrupt vector. For external interrupt
events, such as the I2C interrupt, the interrupt latency
will be 3 or 4 instruction cycles. The exact latency
depends when the interrupt event occurs. The latency
is the same for 1 or 2 cycle instructions. Once in the
interrupt service routine the source(s) of the interrupt
can be determined by polling the interrupt ag bits. The
interrupt ag bit(s) must be cleared in software before
re-enabling
interrupts
to
avoid
innite
interrupt
requests.
Individual
interrupt
ag
bits
are
set
regardless of the status of their corresponding mask bit
or the GIE bit to allow polling.
The return from interrupt instruction, RETFIE, exits the
interrupt routine as well as sets the GIE bit to re-enable
interrupts.
Note 1: The individual interrupt ags will be set by
the specied condition even though the
corresponding
interrupt
enable
bit
is
cleared (interrupt disabled) or the GIE bit is
cleared (all interrupts disabled).
Note 2: If an interrupt occurs while the Global
Interrupt Enable (GIE) bit is being cleared,
the
GIE
bit
may
unintentionally
be
re-enabled by the user’s Interrupt Service
Routine (the RETFIE instruction). The
events that would cause this to occur are:
1.
An instruction clears the GIE bit while an
interrupt is acknowledged.
2.
The program branches to the interrupt vector
and executes the Interrupt Service Routine.
3.
The interrupt service routine completes with the
execution of the RETFIE instruction. This causes
the GIE bit to be set (enables interrupts), and the
program returns to the instruction after the one
which was meant to disable interrupts.
The method to ensure that interrupts are globally
disabled is:
1.
Ensure that the GIE bit was cleared by the
instruction, as shown in the following code:
LOOP: BCF
INTCON,GIE
; Disable Global Interrupts
BTFSC INTCON,GIE
; Global Interrupts Disabled?
GOTO
LOOP
; No, try again
:
; Yes, continue with program
;
flow
FIGURE 10-9: INTERRUPT LOGIC SCHEMATIC
PBIF
PBIE
ADCIF
ADCIE
I2CIF
I2CIE
OVFIF
OVFIE
CMIF
CMIE
T0IF
T0IE
PEIE
Wake-up (If in SLEEP mode)
or terminate long write
Interrupt to CPU
PEIF
RCIF
RCIE
GIE
相关PDF资料
PDF描述
PIC16C432T-I/SS IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
PIC16C433-I/SO IC MCU CMOS 8BIT 10MHZ 2K 18SOIC
PIC16C505-20I/SL IC MCU OTP 1KX12 14SOIC
PIC16C558-04/SO IC MCU OTP 2KX14 18SOIC
PIC16C57-HSI/P IC MCU OTP 2KX12 28DIP
相关代理商/技术参数
参数描述
PIC14000-20/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 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
PIC14000-20/SP 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 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
PIC14000-20/SS 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 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
PIC14000-20I/P 制造商:Microchip Technology Inc 功能描述:MCU 8BIT PIC14 RISC 7KB EPROM 5V - Bulk
PIC14000-20I/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 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