ATmega169P Atmel Corporation, ATmega169P Datasheet - Page 60

no-image

ATmega169P

Manufacturer Part Number
ATmega169P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega169P

Flash (kbytes)
16 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
54
Ext Interrupts
17
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Segment Lcd
100
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega169P-15AT
Manufacturer:
PANASONIC
Quantity:
301
Part Number:
ATmega169P-15AT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169P-15AT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169P-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169P-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-MU
Manufacturer:
ATMEL
Quantity:
31
Part Number:
ATmega169PAAU
Manufacturer:
INF
Quantity:
4 275
Part Number:
ATmega169PV-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169PV-8MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169PV-8MUR
Manufacturer:
LISHENG
Quantity:
1 000
11.2.1
8018P–AVR–08/10
MCUCR – MCU Control Register
• 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
Self-Programming” on page 280
• 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 description in
Space” on page
Bit
0x35 (0x55)
Read/Write
Initial Value
Assembly Code Example
C 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
void Move_interrupts(void)
{
/* Get MCUCR*/
/* Enable change of Interrupt Vectors */
/* Move interrupts to Boot Flash section
}
uchar temp;
temp = MCUCR;
MCUCR = temp | (1<<IVCE);
*/ MCUCR = temp | (1<<IVSEL);
R/W
59. See Code Example.
JTD
7
0
R
6
0
-
for details.
R
5
0
-
PUD
R/W
4
0
”Moving Interrupts Between Application and Boot
”Boot Loader Support – Read-While-Write
R
3
0
R
2
0
IVSEL
ATmega169P
R/W
1
0
IVCE
R/W
0
0
MCUCR
60

Related parts for ATmega169P