atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 84

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
11.0.2
84
ATmega32U4
External Interrupt Control Register B – EICRB
Table 11-1.
Note:
Table 11-2.
• Bit 7..6 – Res: Reserved Bits
These bits are reserved bits in the ATmega32U4 and always read as zero.
• Bits 5, 4 – ISC61, ISC60: External Interrupt 6 Sense Control Bits
The External Interrupt 6 is activated by the external pin INT6 if the SREG I-flag and the corre-
sponding interrupt mask in the EIMSK is set. The level and edges on the external pin that
activate the interrupt are defined in
detecting edges. If edge or toggle interrupt is selected, pulses that last longer than one clock
period will generate an interrupt. Shorter pulses are not guaranteed to generate an interrupt.
Observe that CPU clock frequency can be lower than the XTAL frequency if the XTAL divider is
enabled. 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.
Table 11-3.
Note:
Bit
Read/Write
Initial Value
Symbol
ISCn1
ISC61
t
0
0
1
1
0
0
1
1
INT
1. n = 3, 2, 1or 0.
1. When changing the ISC61/ISC60 bits, the interrupt must be disabled by clearing its Interrupt
ISC60
ISCn0
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.
Enable bit in the EIMSK Register. Otherwise an interrupt can occur when the bits are changed.
Parameter
Minimum pulse width for
asynchronous external interrupt
0
1
0
1
0
1
0
1
7
-
R/W
0
Asynchronous External Interrupt Characteristics
Interrupt Sense Control
Interrupt Sense Control
Description
The low level of INT6 generates an interrupt request.
Any logical change on INT6 generates an interrupt request
The falling edge between two samples of INT6 generates an interrupt
request.
The rising edge between two samples of INT6 generates an interrupt
request.
Description
The low level of INTn generates an interrupt request.
Any edge of INTn generates asynchronously an interrupt request.
The falling edge of INTn generates asynchronously an interrupt request.
The rising edge of INTn generates asynchronously an interrupt request.
6
-
R/W
0
5
ISC61
R/W
0
Table
4
ISC60
R/W
0
(1)
(1)
11-3. The value on the INT6 pin are sampled before
3
-
R/W
0
Condition
2
-
R/W
0
Min
R/W
1
-
0
Typ
50
0
-
R/W
0
Max
EICRB
Units
7766A–AVR–03/08
ns

Related parts for atmega32u4-16mu