ATMEGA8HVD-4MX Atmel, ATMEGA8HVD-4MX Datasheet - Page 53

no-image

ATMEGA8HVD-4MX

Manufacturer Part Number
ATMEGA8HVD-4MX
Description
MCU AVR 8K FLASH 2.1-8V 4MHZ QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA8HVD-4MX

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 2.4 V
Data Converters
A/D 1x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
18-MLF® Exposed Pad (Staggered Leads), DFN
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
12. External Interrupt
12.1
12.1.1
8052B–AVR–09/08
Register Description
EICRA – External Interrupt Control Register A
The External Interrupts are triggered by the INT1:0 pins. Observe that, if enabled, the interrupt
will trigger even if the INT1:0 pins are configured as outputs. This feature provides a way of
generating a software interrupt. The External Interrupts can be triggered by a falling or rising
edge or a low level. This is set up as indicated in the specification for the
Interrupt Control Register A” on page
ured as level triggered, the interrupt will trigger as long as the pin is held low. A interrupt is
detected asynchronously. This implies that the interrupt can be used for waking the part also
from sleep modes other than Idle mode. The I/O clock is halted in all sleep modes except Idle
mode.
Note that if a level triggered interrupt is used for wake-up from Power-save mode, the changed
level must be held for some time to wake up the MCU. This makes the MCU less sensitive to
noise. The changed level is sampled twice by the ULP Oscillator clock. The period of the ULP
Oscillator is 7.8 µs (nominal) at 25°C. The MCU will wake up if the input has the required level
during this sampling or if it is held until the end of the start-up time. The start-up time is defined
by the SUT fuses as described in
level is sampled twice by the Slow RC Oscillator clock but disappears before the end of the
start-up time, the MCU will still wake up, but no interrupt will be generated. The required level
must be held long enough for the MCU to complete the wake up to trigger the level interrupt.
• Bits 7:4 – RES: Reserved Bits
These bits are reserved in the ATmega4HVD/8HVD, and will always read as zero.
• Bits 3:0 – ISC11, ISC10 - ISC01, ISC00: External Interrupt 1 - 0 Sense Control Bits
The External Interrupts 1- 0 are activated by the external pins INT1: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 interrupt is defined in
tered asynchronously. Pulses on the INT1:0 pins wider than the minimum pulse width given in
”External Interrupts Characteristics” on page 144
not guaranteed to generate an interrupt. 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 INTnby clearing its Interrupt Enable bit in the EIMSK Register. Then, the ISCn bit can
Bit
Read/Write
Initial Value
R
7
0
-
R
6
0
-
R
5
0
-
”Clock Systems and their Distribution” on page
53. When the external interrupt is enabled and is config-
Table 12-1 on page
R
4
0
-
will generate an interrupt. Shorter pulses are
ISC11
R/W
3
0
ATmega4HVD/8HVD
ISC10
RR/W
2
0
54. Edges on INT1:0 are regis-
ISC01
R/W
1
0
”EICRA – External
ISC00
R/W
0
0
22. If the
EICRA
53

Related parts for ATMEGA8HVD-4MX