參數(shù)資料
型號: AT90LS8535-4AI
廠商: Atmel
文件頁數(shù): 89/127頁
文件大?。?/td> 0K
描述: IC MCU 8K 4MHZ A/D LV IT 44TQFP
標準包裝: 160
系列: AVR® 90LS
核心處理器: AVR
芯體尺寸: 8-位
速度: 4MHz
連通性: SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 8KB(4K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 512 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
數(shù)據(jù)轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 44-TQFP
包裝: 托盤
PIC16C71X
DS30272A-page 64
1997 Microchip Technology Inc.
8.6
Context Saving During Interrupts
During an interrupt, only the return PC value is saved
on the stack. Typically, users may wish to save key reg-
isters during an interrupt i.e., W register and STATUS
register. This will have to be implemented in software.
Example 8-1 stores and restores the STATUS and W
registers. The user register, STATUS_TEMP, must be
dened in bank 0.
The example:
a)
Stores the W register.
b)
Stores the STATUS register in bank 0.
c)
Executes the ISR code.
d)
Restores the STATUS register (and bank select
bit).
e)
Restores the W register.
EXAMPLE 8-1:
SAVING STATUS AND W REGISTERS IN RAM
MOVWF
W_TEMP
;Copy W to TEMP register, could be bank one or zero
SWAPF
STATUS,W
;Swap status to be saved into W
MOVWF
STATUS_TEMP
;Save status to bank zero STATUS_TEMP 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描述
PIC18F26J50-I/SS IC PIC MCU FLASH 64K 2V 28-SSOP
SFW20R-1STE1 SFW20R-1STE1-FFC/FPC CONN
PIC16F88-I/P IC MCU FLASH 4KX14 EEPROM 18DIP
LPC3220FET296,551 IC ARM9 MCU 128K 296-TFBGA
PIC18LF2321-I/SO IC PIC MCU FLASH 4KX16 28SOIC
相關代理商/技術參數(shù)
參數(shù)描述
AT90LS8535-4JC 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT90LS8535-4JI 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT90LS8535-4MC 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT90LS8535-4MI 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT90LS8535-4PC 功能描述:8位微控制器 -MCU 8k bit 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 安裝風格:SMD/SMT