參數(shù)資料
型號: MQ80C52EXXX-36/883D
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQFP44
封裝: CERAMIC, QFP-44
文件頁數(shù): 119/141頁
文件大?。?/td> 7628K
代理商: MQ80C52EXXX-36/883D
49
2486AA–AVR–02/2013
ATmega8(L)
When the BOOTRST Fuse is programmed, the boot section size set to 2Kbytes, and the IVSEL
bit in the GICR Register is set before any interrupts are enabled, the most typical and general
program setup for the Reset and Interrupt Vector Addresses is:
AddressLabels
Code
Comments
;
.org $c00
$c00
rjmp
RESET
; Reset handler
$c01
rjmp
EXT_INT0
; IRQ0 Handler
$c02
rjmp
EXT_INT1
; IRQ1 Handler
...
... ;
$c12
rjmp
SPM_RDY
; Store Program Memory Ready Handler
$c13
RESET: ldi
r16,high(RAMEND); Main program start
$c14
out
SPH,r16
; Set Stack Pointer to top of RAM
$c15
ldi
r16,low(RAMEND)
$c16
out
SPL,r16
$c17
sei
; Enable interrupts
$c18
<instr>
xxx
Moving Interrupts
Between Application
and Boot Space
The General Interrupt Control Register controls the placement of the Interrupt Vector table.
General Interrupt
Control Register –
GICR
Bit 1 – IVSEL: Interrupt Vector Select
When the IVSEL bit is cleared (zero), the Interrupt Vectors are placed at the start of the Flash
memory. When this bit is set (one), the Interrupt Vectors are moved to the beginning of the Boot
Loader section of the Flash. The actual address of the start of the boot Flash section is deter-
mined by the BOOTSZ Fuses. Refer to the section “Boot Loader Support – Read-While-Write
Self-Programming” on page 202 for details. To avoid unintentional changes of Interrupt Vector
tables, a special write procedure must be followed to change the IVSEL bit:
1.
Write the Interrupt Vector Change Enable (IVCE) bit to one
2.
Within four cycles, write the desired value to IVSEL while writing a zero to IVCE
Interrupts will automatically be disabled while this sequence is executed. Interrupts are disabled
in the cycle IVCE is set, and they remain disabled until after the instruction following the write to
IVSEL. If IVSEL is not written, interrupts remain disabled for four cycles. The I-bit in the Status
Register is unaffected by the automatic disabling.
Note: If Interrupt Vectors are placed in the Boot Loader section and Boot Lock bit BLB02 is pro-
grammed, interrupts are disabled while executing from the Application section. If Interrupt
Vectors are placed in the Application section and Boot Lock bit BLB12 is programed, interrupts
are disabled while executing from the Boot Loader section. Refer to the section “Boot Loader
Bit
7
654
32
10
INT1
INT0
IVSEL
IVCE
GICR
Read/Write
R/W
R
R/W
Initial Value
0
相關(guān)PDF資料
PDF描述
MD83C154CXXX-16P883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CDIP40
MR83C154CXXX-25P883R 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQCC44
MR83C154XXX-25/883D 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQCC44
MD80C32E-16/883 8-BIT, 16 MHz, MICROCONTROLLER, CDIP40
MC80C52EXXX-25/883:D 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CDIP40
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MQ82370-20 制造商:Rochester Electronics LLC 功能描述:- Bulk
MQ8238020 制造商:Intel 功能描述:CONTROLLER: OTHER
MQ82380-20 制造商:Rochester Electronics LLC 功能描述:- Bulk
MQ82380-20/R 制造商:Rochester Electronics LLC 功能描述:
MQ82592 制造商:Rochester Electronics LLC 功能描述:- Bulk