參數(shù)資料
型號(hào): AT90S8535-8PI
廠商: Atmel
文件頁數(shù): 89/127頁
文件大?。?/td> 0K
描述: IC MCU 8K FLSH 8MHZ A/D IT 40DIP
標(biāo)準(zhǔn)包裝: 18
系列: AVR® 90S
核心處理器: AVR
芯體尺寸: 8-位
速度: 8MHz
連通性: SPI,UART/USART
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 32
程序存儲(chǔ)器容量: 8KB(4K x 16)
程序存儲(chǔ)器類型: 閃存
EEPROM 大小: 512 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 4 V ~ 6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 40-DIP(0.600",15.24mm)
包裝: 管件
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
相關(guān)PDF資料
PDF描述
AT90USB1287-16AUR IC MCU AVR 128K ISP USB TQFP64
AT90USB162-16AUR IC AVR MCU 16K FLASH 32TQFP
AT91FR40162SB-CU-999 IC MCU 32BIT RISC 121BGA
AT91M40800-33AI SL383 IC ARM MCU 16BIT 100TQFP
AT91M42800A-33CJ IC ARM7 MCU 144 BGA
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT90SA7-MLTU 功能描述:程序設(shè)計(jì)器 - 基于通用和內(nèi)存 ASICS RoHS:否 制造商:Xeltek 產(chǎn)品:Universal Device Programmers 工具用于評(píng)估:EPROM, Parallel/Serial EEPROM, FPGA, PROM, Flash, BPROM, MCUs, PLD Devices 接口類型:Parallel, USB 工作電源電壓:90 VAC to 250 VAC
AT90SC12036RU 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontroller for Smart Cards
AT90SC128112RU 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontroller for Smart Cards
AT90SC12836RCFT 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontrollers for Smart Cards
AT90SC12836RCFT_07 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontrollers for Smart Cards