参数资料
型号: R5F6460EJFP
元件分类: 微控制器/微处理器
英文描述: 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
封装: 12 X 12 MM, 0.50 MM PITCH, PLASTIC, LQFP-80
文件页数: 31/75页
文件大小: 663K
代理商: R5F6460EJFP
56
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
The following example shows how interrupts are moved.
12.3
Register description
12.3.1
MCUCR – MCU Control Register
Note:
1. Only available in the picoPower devices ATmega165PA/325PA/3250PA/645P/6450P.
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 determined by the BOOTSZ Fuses. Refer to the section ”Boot
Bit 0 – IVCE: Interrupt Vector Change Enable
The IVCE bit must be written to logic one to enable change of the IVSEL bit. IVCE is cleared by hardware four
cycles after it is written or when IVSEL is written. Setting the IVCE bit will disable interrupts, as explained in the
Assembly code example
Move_interrupts:
; Get MCUCR
in
r16, MCUCR
mov
r17, r16
; Enable change of Interrupt Vectors
ori
r16, (1<<IVCE)
out
MCUCR, r16
; Move interrupts to Boot Flash section
ori
r17, (1<<IVSEL)
out
MCUCR, r17
ret
C code example
void
Move_interrupts(void)
{
uchar temp;
/* Get MCUCR*/
temp = MCUCR;
/* Enable change of Interrupt Vectors */
MCUCR = temp | (1<<IVCE);
/* Move interrupts to Boot Flash section
*/ MCUCR = temp | (1<<IVSEL);
}
Bit
7
654
3
2
1
0
0x35 (0x55)
JTD
BODS
BODSE
PUD
IVSEL
IVCE
MCUCR
Read/Write
R/W
RR
R/W
RR
R/W
Initial Value
0
相关PDF资料
PDF描述
R5F6460FJFP 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
R5F6460FKFP 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
R5F64611JFP 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
R5F64611KFP 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
R5F6461EJFP 32-BIT, FLASH, 48 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
R5F70834RD80FTV 制造商:Renesas Electronics Corporation 功能描述:
R5F70835AN80FTV 制造商:Renesas Electronics Corporation 功能描述:Microcontroller,SH7083,ROM512K
R5F70845AN80FPV 制造商:Renesas Electronics Corporation 功能描述:Microcontroller,SH7084,ROM512K
R5F70854AD80FPV 制造商:Renesas Electronics Corporation 功能描述:Micro,SH-2,FL 256K,RAM16k,80MH
R5F70854AN80FPV 制造商:Renesas Electronics Corporation 功能描述:Micro,SH-2,FL 256K,RAM16k,80MH