参数资料
型号: R5F21272SNFP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
封装: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件页数: 32/52页
文件大小: 620K
代理商: R5F21272SNFP
55
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
When the BOOTRST Fuse is programmed and the Boot section size set to 4Kbytes, the most typical and general
program setup for the Reset and Interrupt Vector Addresses is:
Address
Labels Code
Comments
.org 0x0002
0x0002
jmp
EXT_INT0
; IRQ0 Handler
0x0004
jmp
PCINT0
; PCINT0 Handler
...
;
0x002C
jmp
SPM_RDY
; Store Program Memory Ready Handler
;
.org 0x3800/0x7800
0x3800/0x7801RESET:ldir16,high(RAMEND); Main program start
0x3801/0x7801
out
SPH,r16
; Set Stack Pointer to top of RAM
0x3802/0x7802
ldi
r16,low(RAMEND)
0x3803/0x7803
out
SPL,r16
0x3804/0x7804
sei
; Enable interrupts
0x3805/0x7805
<instr>
xxx
When the BOOTRST Fuse is programmed, the Boot section size set to 4Kbytes and the IVSEL bit in the MCUCR
Register is set before any interrupts are enabled, the most typical and general program setup for the Reset and
Interrupt Vector Addresses is:
Address
Labels Code
Comments
;
.org 0x3800/0x7800
0x3800/0x7800
jmp
RESET
; Reset handler
0x3802/0x7802
jmp
EXT_INT0
; IRQ0 Handler
0x3804/0x7804
jmp
PCINT0
; PCINT0 Handler
...
;
0x382C/0x782C
jmp
SPM_RDY
; Store Program Memory Ready Handler
;
0x382E/0x782ERESET:ldir16,high(RAMEND); Main program start
0x382F/0x782F
out
SPH,r16
; Set Stack Pointer to top of RAM
0x3830/0x7830
ldi
r16,low(RAMEND)
0x3831/0x7831
out
SPL,r16
0x3832/0x7832
sei
; Enable interrupts
0x3833/0x7833
<instr>
xxx
12.2
Moving interrupts between application and Boot Space
The General Interrupt Control Register controls the placement of the Interrupt Vector table, see ”MCUCR – MCU
To avoid unintentional changes of Interrupt Vector tables, a special write procedure must be followed 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, inter-
rupts 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 dis-
abled 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 sec-
相关PDF资料
PDF描述
R5F21264KXXXFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21264JFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21276SDXXXFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21276KFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21274SDFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
相关代理商/技术参数
参数描述
R5F21272SNFP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 8KB Flash 3.3V/5V 32-Pin LQFP Tray 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 8KB FLASH 3.3V/5V 32LQFP - Trays 制造商:Renesas Electronics Corporation 功能描述:IC R8C/27 MCU FLASH 32LQFP
R5F21272SNFP#V0 功能描述:IC R8C/27 MCU FLASH 32LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/2x/27 标准包装:250 系列:80C 核心处理器:8051 芯体尺寸:8-位 速度:16MHz 连通性:EBI/EMI,I²C,UART/USART 外围设备:POR,PWM,WDT 输入/输出数:40 程序存储器容量:- 程序存储器类型:ROMless EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-LCC(J 形引线) 包装:带卷 (TR)
R5F21272SNFP#V2 功能描述:MCU 8KB ROM 512B RAM 32-LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/2x/27 标准包装:250 系列:80C 核心处理器:8051 芯体尺寸:8-位 速度:16MHz 连通性:EBI/EMI,I²C,UART/USART 外围设备:POR,PWM,WDT 输入/输出数:40 程序存储器容量:- 程序存储器类型:ROMless EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-LCC(J 形引线) 包装:带卷 (TR)
R5F21272SNFP#W4 制造商:Renesas Electronics Corporation 功能描述:MCU 3/5V 8+2K PB-FREE 32-LQFP T&R - Tape and Reel
R5F21272SNFP#X6 功能描述:MCU 8KB ROM 512B RAM 32-LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/2x/27 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘