参数资料
型号: RFPIC12F675K-E/SS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO20
封装: 0.209 INCH, PLASTIC, MO-150, SSOP-20
文件页数: 92/123页
文件大小: 5438K
代理商: RFPIC12F675K-E/SS
rfPIC12F675
DS70091A-page 68
Preliminary
2003 Microchip Technology Inc.
TABLE 10-8:
SUMMARY OF INTERRUPT REGISTERS
10.5
Context Saving During Interrupts
During an interrupt, only the return PC value is saved
on the stack. Typically, users may wish to save key
registers during an interrupt, (e.g., W register and
STATUS register). This must be implemented in
software.
Example 10-2 stores and restores the STATUS and W
registers. The user register, W_TEMP, must be defined
in both banks and must be defined at the same offset
from the bank base address (i.e., W_TEMP is defined
at 0x20 in Bank 0 and it must also be defined at 0xA0
in Bank 1). The user register, STATUS_TEMP, must be
defined in Bank 0. The Example 10-2:
Stores the W register
Stores the STATUS register in Bank 0
Executes the ISR code
Restores the STATUS (and bank select bit
register)
Restores the W register
EXAMPLE 10-2:
SAVING THE STATUS AND
W REGISTERS IN RAM
10.6
Watchdog Timer (WDT)
The Watchdog Timer is a free running, on-chip RC
oscillator, which requires no external components. This
RC oscillator is separate from the external RC oscillator
of the CLKIN pin and INTOSC. That means that the
WDT will run, even if the clock on the OSC1 and OSC2
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 time-out
causes the device to wake-up and continue with normal
operation. The WDT can be permanently disabled by
programming the configuration bit WDTE as clear
10.6.1
WDT PERIOD
The WDT has a nominal time-out period of 18 ms, (with
no prescaler). The time-out periods vary with tempera-
ture, V
DD 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 register. Thus, time-out periods up to
2.3 seconds can be realized.
The CLRWDT and SLEEP instructions clear the WDT
and the prescaler, if assigned to the WDT, and prevent
it from timing out and generating a device RESET.
The TO bit in the STATUS register will be cleared upon
a Watchdog Timer time-out.
10.6.2
WDT PROGRAMMING
CONSIDERATIONS
It should also be taken in account that under worst case
conditions (i.e., V
DD = Min., Temperature = Max., Max.
WDT prescaler) it may take several seconds before a
WDT time-out occurs.
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOD
Value on all
other
RESETS
0Bh, 8Bh INTCON
GIE
PEIE
T0IE
INTE
GPIE
T0IF
INTF
GPIF
0000 0000 0000 000u
0Ch
PIR1
EEIF
ADIF
CMIF
TMR1IF
00-- 0--0 00-- 0--0
8Ch
PIE1
EEIE
ADIE
CMIE
TMR1IE
00-- 0--0 00-- 0--0
Legend: x = unknown, u = unchanged, - = unimplemented read as '0', q = value depends upon condition.
Shaded cells are not used by the Interrupt module.
MOVWF
W_TEMP
;copy W to temp register,
could be in either bank
SWAPF
STATUS,W
;swap status to be saved into W
BCF
STATUS,RP0
;change to bank 0 regardless of
current bank
MOVWF
STATUS_TEMP
;save status to bank 0 register
:
:(ISR)
:
SWAPF
STATUS_TEMP,W;swap STATUS_TEMP register into
W, sets bank to original state
MOVWF
STATUS
;move W into STATUS register
SWAPF
W_TEMP,F
;swap W_TEMP
SWAPF
W_TEMP,W
;swap W_TEMP into W
相关PDF资料
PDF描述
RFPIC12F675H-E/SS 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO20
RH80530GZ001512 32-BIT, 1000 MHz, MICROPROCESSOR, CPGA478
RH80530GZ009512 32-BIT, 1200 MHz, MICROPROCESSOR, CPGA478
RJ80530GZ004512 32-BIT, 1066 MHz, MICROPROCESSOR, PBGA479
RH80530GZ004512 32-BIT, 1066 MHz, MICROPROCESSOR, CPGA478
相关代理商/技术参数
参数描述
RFPIC12F675K-I/SS 功能描述:射频微控制器 - MCU 290-350MHz UHF ASK/FSK Transmitter RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
RFPIC12F675KT-I/SS 功能描述:射频微控制器 - MCU 1 KB Flash FSK ASK RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
RFPMV00 制造商:Carlo Gavazzi 功能描述:RSBT ALARM RELAY OUTPUT MODULE
RF-PP12/23 制造商:Cembre 功能描述:F-CRIMP,BLADE,RED,PP12/23
RFP-QD10 功能描述:烙铁 Cartridge Quad PLCC-52 Chip Pkg RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included