参数资料
型号: PIC16F84A-04E/SO
厂商: Microchip Technology
文件页数: 26/81页
文件大小: 0K
描述: IC MCU CMOS 4MHZ 1K FLASH 18SOIC
标准包装: 42
系列: PIC® 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 13
程序存储器容量: 1.75KB(1K x 14)
程序存储器类型: 闪存
EEPROM 大小: 64 x 8
RAM 容量: 68 x 8
电压 - 电源 (Vcc/Vdd): 4 V ~ 5.5 V
振荡器型: 外部
工作温度: -40°C ~ 125°C
封装/外壳: 18-SOIC(0.295",7.50mm 宽)
包装: 管件
配用: I3-DB16F84A-ND - BOARD DAUGHTER ICEPIC3
PIC16F84A
DS35007B-page 30
2001 Microchip Technology Inc.
6.9
Context Saving During Interrupts
During an interrupt, only the return PC value is saved
on the stack. Typically, users wish to save key register
values during an interrupt (e.g., W register and
STATUS register). This is implemented in software.
The code in Example 6-1 stores and restores the
STATUS and W register’s values. The user defined
registers, W_TEMP and STATUS_TEMP are the tem-
porary storage locations for the W and STATUS
registers values.
Example 6-1 does the following:
a)
Stores the W register.
b)
Stores the STATUS register in STATUS_TEMP.
c)
Executes the Interrupt Service Routine code.
d)
Restores the STATUS (and bank select bit)
register.
e)
Restores the W register.
EXAMPLE 6-1:
SAVING STATUS AND W REGISTERS IN RAM
6.10
Watchdog Timer (WDT)
The Watchdog Timer is a free running On-Chip RC
Oscillator which does not require any external
components. This RC oscillator is separate from the
RC oscillator of the OSC1/CLKIN pin. That means that
the WDT will run even if the clock on the OSC1/CLKIN
and OSC2/CLKOUT pins of the device has been
stopped, for example, by execution of a SLEEP
instruction. During normal operation, a WDT time-out
generates a device RESET. If the device is in SLEEP
mode, a WDT wake-up causes the device to wake-up
and continue with normal operation. The WDT can be
permanently disabled by programming configuration bit
WDTE as a '0' (Section 6.1).
6.10.1
WDT PERIOD
The WDT has a nominal time-out period of 18 ms, (with
no
prescaler).
The
time-out
periods
vary
with
temperature, VDD and process variations from part to
part (see DC specs). If longer time-out periods are
desired, a prescaler with a division ratio of up to 1:128
can be assigned to the WDT under software control by
writing to the OPTION_REG register. Thus, time-out
periods up to 2.3 seconds can be realized.
The CLRWDT and SLEEP instructions clear the WDT
and the postscaler (if assigned to the WDT) and pre-
vent it from timing out and generating a device
RESET condition.
The TO bit in the STATUS register will be cleared upon
a WDT time-out.
PUSH
MOVWF
W_TEMP
; Copy W to TEMP register,
SWAPF
STATUS,
W
; Swap status to be saved into W
MOVWF
STATUS_TEMP
; Save status to STATUS_TEMP register
ISR
:
; Interrupt Service Routine
:
; should configure Bank as required
:;
POP
SWAPF
STATUS_TEMP,W
; Swap nibbles in STATUS_TEMP register
; and place result into W
MOVWF
STATUS
; Move W into STATUS register
; (sets bank to original state)
SWAPF
W_TEMP,
F
; Swap nibbles in W_TEMP and place result in W_TEMP
SWAPF
W_TEMP,
W
; Swap nibbles in W_TEMP and place result into W
相关PDF资料
PDF描述
PIC16F785-I/SS IC PIC MCU FLASH 2KX14 20SSOP
PIC16C433T-I/SO IC MCU CMOS 8BIT 10MHZ 2K 18SOIC
PIC16C773T-E/SO IC MCU OTP 4KX14 A/D PWM 28SOIC
PIC16CE623T-30/SO IC MCU OTP 512X14 EE COMP 18SOIC
PIC16F1825-E/ML MCU PIC 14K FLASH 1K RAM 16QFN
相关代理商/技术参数
参数描述
PIC16F84A-04I/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz Ind Temp PDIP18 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
PIC16F84A-04I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 16F84 DIP18
PIC16F84A-04I/SO 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz Ind Temp SOIC18 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
PIC16F84A-04I/SO 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F84 SOIC18
PIC16F84A-04I/SS 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz IndTemp SSOP20 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