Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATMEGA640 Datasheet(PDF) 110 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 110 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 106Page - Microchip Technology ATMEGA640 Datasheet HTML 107Page - Microchip Technology ATMEGA640 Datasheet HTML 108Page - Microchip Technology ATMEGA640 Datasheet HTML 109Page - Microchip Technology ATMEGA640 Datasheet HTML 110Page - Microchip Technology ATMEGA640 Datasheet HTML 111Page - Microchip Technology ATMEGA640 Datasheet HTML 112Page - Microchip Technology ATMEGA640 Datasheet HTML 113Page - Microchip Technology ATMEGA640 Datasheet HTML 114Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 110 / 436 page
background image
110
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
15.2 Register Description
15.2.1
EICRA – External Interrupt Control Register A
The External Interrupt Control Register A contains control bits for interrupt sense control.
• Bits 7:0 – ISC31, ISC30 – ISC00, ISC00: External Interrupt 3 - 0 Sense Control Bits
The External Interrupts 3 - 0 are activated by the external pins INT3:0 if the SREG I-flag and the corresponding
interrupt mask in the EIMSK is set. The level and edges on the external pins that activate the interrupts are defined
in Table 15-1. Edges on INT3:0 are registered asynchronously. Pulses on INT3:0 pins wider than the minimum
pulse width given in Table 15-2 will generate an interrupt. Shorter pulses are not guaranteed to generate an inter-
rupt. If low level interrupt is selected, the low level must be held until the completion of the currently executing
instruction to generate an interrupt. If enabled, a level triggered interrupt will generate an interrupt request as long
as the pin is held low. When changing the ISCn bit, an interrupt can occur. Therefore, it is recommended to first
disable INTn by clearing its Interrupt Enable bit in the EIMSK Register. Then, the ISCn bit can be changed. Finally,
the INTn interrupt flag should be cleared by writing a logical one to its Interrupt Flag bit (INTFn) in the EIFR Regis-
ter before the interrupt is re-enabled.
Note:
1. n = 3, 2, 1or 0.
When changing the ISCn1/ISCn0 bits, the interrupt must be disabled by clearing its Interrupt Enable bit in the
EIMSK Register. Otherwise an interrupt can occur when the bits are changed.
Bit
7
65
43
21
0
(0x69)
ISC31
ISC30
ISC21
ISC20
ISC11
ISC10
ISC01
ISC00
EICRA
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 15-1.
Interrupt Sense Control(1)
ISCn1
ISCn0
Description
0
0
The low level of INTn generates an interrupt request
0
1
Any edge of INTn generates asynchronously an interrupt request
1
0
The falling edge of INTn generates asynchronously an interrupt request
1
1
The rising edge of INTn generates asynchronously an interrupt request
Table 15-2.
Asynchronous External Interrupt Characteristics
Symbol
Parameter
Condition
Min.
Typ.
Max.
Units
tINT
Minimum pulse width for asynchronous external interrupt
50
ns



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