Datasheet

Table Of Contents
16.1.3. GICR – General Interrupt Control Register
When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When
addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these offset
addresses.
Name:  GICR
Offset:  0x3B
Reset:  0
Property:
 
When addressing I/O Registers as data space the offset address is 0x5B
Bit 7 6 5 4 3 2 1 0
INT1 INT0 INT2
Access
R/W R/W R/W
Reset 0 0 0
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 enabled. 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 Interrupt
Vector.
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 enabled. 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 and/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 corresponding interrupt of External Interrupt Request 0 is executed from the INT0 Interrupt
Vector.
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 enabled. The Interrupt Sense Control2 bit (ISC2) 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 interrupt request even if INT2 is configured as an output. The
corresponding interrupt of External Interrupt Request 2 is executed from the INT2 Interrupt Vector.
Atmel ATmega32A [DATASHEET]
Atmel-8155I-ATmega32A_Datasheet_Complete-08/2016
72