Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ATMEGA323L-4AI Datasheet(PDF) 33 Page - ATMEL Corporation

Part # ATMEGA323L-4AI
Description  8-bit Microcontroller with 32K Bytes of In-System Programmable Flash
PDF  247 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA323L-4AI Datasheet(HTML) 33 Page - ATMEL Corporation

Back Button ATMEGA323L-4AI Datasheet HTML 29Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 30Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 31Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 32Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 33Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 34Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 35Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 36Page - ATMEL Corporation ATMEGA323L-4AI Datasheet HTML 37Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 247 page
background image
33
ATmega323(L)
1457G–AVR–09/03
The General Interrupt Control
Register – GICR
l
• Bit 7 – INT1: External Interrupt Request 1 Enable
When the INT1 bit is set (one) and the I-bit in the Status Register (SREG) is set (one),
the external pin interrupt is activated. The Interrupt Sense Control1 bits 1/0 (ISC11 and
ISC10) in the MCU general Control Register (MCUCR) define whether the external
interrupt is activated on rising and/or falling edge of the INT1 pin or level sensed. Activity
on the pin will cause an interrupt request even if INT1 is configured as an output. The
corresponding interrupt of External Interrupt Request 1 is executed from the INT1 Inter-
rupt Vector. See also “External Interrupts” on page 37.
• Bit 6 – INT0: External Interrupt Request 0 Enable
When the INT0 bit is set (one) and the I-bit in the Status Register (SREG) is set (one),
the external pin interrupt is activated. The Interrupt Sense Control0 bits 1/0 (ISC01 and
ISC00) in the MCU general Control Register (MCUCR) define whether the external
interrupt is activated on rising or falling edge of the INT0 pin or level sensed. Activity on
the pin will cause an interrupt request even if INT0 is configured as an output. The corre-
sponding interrupt of External Interrupt Request 0 is executed from the INT0 Interrupt
Vector. See also “External Interrupts” on page 37.
• Bit 5 – INT2: External Interrupt Request 2 Enable
When the INT2 bit is set (one) and the I-bit in the Status Register (SREG) is set (one),
the external pin interrupt is activated. The Interrupt Sense Control2 bit (ISC02) in the
MCU Control and Status Register (MCUCSR) defines whether the external interrupt is
activated on rising or falling edge of the INT2 pin. Activity on the pin will cause an inter-
rupt request even if INT2 is configured as an output. The corresponding interrupt of
External Interrupt Request 2 is executed from the INT2 Interrupt Vector. See also
“External Interrupts” on page 37.
• Bits 4..2 – Res: Reserved Bits
These bits are reserved bits in the ATmega323 and always read as zero.
• 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 begin-
ning of the Boot Loader section of the Flash. The actual address to the start of the Boot
Flash section is determined by the BOOTSZ Fuses. Refer to the section “Boot Loader
Support” on page 177 for details. To avoid unintentional changes of Interrupt Vector
tables, a special write procedure must be followed to change the IVSEL bit:
1.
Set the Interrupt Vector Change Enable (IVCE) bit.
2.
Within four cycles, write the desired value to IVSEL while writing a zero to IVCE.
Interrupts will be automatically disabled while this sequence is executed. Interrupts are
disabled in the cycle IVCE is set, and they remain disabled until after the instruction fol-
lowing the write to IVSEL. If IVSEL is not written, interrupts remain disabled in four
cycles. The I-flag in the Status Register is unaffected by the automatic disabling.
Bit
765
432
10
$3B ($5B)
INT1
INT0
INT2
–
–
–
IVSEL
IVCE
GICR
Read/Write
R/W
R/W
R/W
R
R
R
R/W
R/W
Initial Value
000
000
00



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com