欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA169PV 参数 Datasheet PDF下载

ATMEGA169PV图片预览
型号: ATMEGA169PV
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有16K字节的系统内可编程闪存 [Microcontroller with 16K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 390 页 / 3485 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA169PV的Datasheet PDF文件第55页浏览型号ATMEGA169PV的Datasheet PDF文件第56页浏览型号ATMEGA169PV的Datasheet PDF文件第57页浏览型号ATMEGA169PV的Datasheet PDF文件第58页浏览型号ATMEGA169PV的Datasheet PDF文件第60页浏览型号ATMEGA169PV的Datasheet PDF文件第61页浏览型号ATMEGA169PV的Datasheet PDF文件第62页浏览型号ATMEGA169PV的Datasheet PDF文件第63页  
ATmega169P  
;
0x1C2E RESET: ldi  
r16,high(RAMEND); Main program start  
0x1C2F  
0x1C30  
out  
ldi  
SPH,r16  
; Set Stack Pointer to top of RAM  
r16,low(RAMEND)  
SPL,r16  
0x1C31  
0x1C32  
out  
sei  
; Enable interrupts  
0x1C33  
<instr> xxx  
10.2 Moving Interrupts Between Application and Boot Space  
The General Interrupt Control Register controls the placement of the Interrupt Vector table, see  
”MCUCR – MCU Control Register” on page 60.  
To avoid unintentional changes of Interrupt Vector tables, a special write procedure must be fol-  
lowed to change the IVSEL bit:  
a. Write the Interrupt Vector Change Enable (IVCE) bit to one.  
b. 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 programmed,  
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 Support – Read-While-  
Write Self-Programming” on page 279 for details on Boot Lock bits.  
The following example shows how interrupts are moved.  
59  
8018A–AVR–03/06  
 复制成功!