參數(shù)資料
型號: PIC14000T-04/SS
廠商: Microchip Technology
文件頁數(shù): 135/153頁
文件大?。?/td> 0K
描述: IC MCU OTP 4KX14 A/D 28SSOP
產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
標(biāo)準(zhǔn)包裝: 2,100
系列: PIC® 14
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
連通性: I²C
外圍設(shè)備: POR,溫度傳感器,WDT
輸入/輸出數(shù): 20
程序存儲器容量: 7KB(4K x 14)
程序存儲器類型: OTP
RAM 容量: 192 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
數(shù)據(jù)轉(zhuǎn)換器: 斜率 A/D
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 28-SSOP(0.209",5.30mm 寬)
包裝: 帶卷 (TR)
配用: 309-1025-ND - ADAPTER 28-SSOP 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
相關(guān)PDF資料
PDF描述
PIC16C74A-20I/P IC MCU OTP 4KX14 A/D PWM 40DIP
VE-J04-IX-F4 CONVERTER MOD DC/DC 48V 75W
PIC16C74A-10I/P IC MCU OTP 4KX14 A/D PWM 40DIP
PIC18LF6722T-I/PT IC PIC MCU FLASH 64KX16 64TQFP
DSPIC30F6015T-30I/PT IC DSPIC MCU/DSP 144K 64TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC14000T-20/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000T-20/SS 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000T-20I/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000T-20I/SS 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC-1503 制造商:KODENSHI 制造商全稱:KODENSHI KOREA CORP. 功能描述:Photo IC(photodiode with signal processing)