ATMEGA128L-8MJ Atmel, ATMEGA128L-8MJ Datasheet - Page 64

no-image

ATMEGA128L-8MJ

Manufacturer Part Number
ATMEGA128L-8MJ
Description
IC MCU AVR 128K 8MHZ LV 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA128L-8MJ

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
For Use With
ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
64
ATmega128
• 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 IVSEL description above. See Code Example below.
Assembly Code Example
C Code Example
Move_interrupts:
void Move_interrupts(void)
{
}
; Enable change of interrupt vectors
ldi r16, (1<<IVCE)
out MCUCR, r16
; Move interrupts to boot flash section
ldi r16, (1<<IVSEL)
out MCUCR, r16
ret
/* Enable change of interrupt vectors */
MCUCR = (1<<IVCE);
/* Move interrupts to boot flash section */
MCUCR = (1<<IVSEL);
2467V–AVR–02/11

Related parts for ATMEGA128L-8MJ