156
8331B–AVR–03/12
Atmel AVR XMEGA AU
• Bit 7:0 – INT0MSK[7:0]: Interrupt 0 Mask Register
These bits are used to mask which pins can be used as sources for port interrupt 0. If
INT0MASKn is written to one, pin n is used as source for port interrupt 0.The input sense config-
uration for each pin is decided by the PINnCTRL registers.
13.13.12 INT1MASK – Interrupt 1 Mask register
• Bit 7:0 – INT1MASK[7:0]: Interrupt 1 Mask Register
These bits are used to mask which pins can be used as sources for port interrupt 1. If
INT1MASKn is written to one, pin n is used as source for port interrupt 1.The input sense config-
uration for each pin is decided by the PINnCTRL registers.
13.13.13 INTFLAGS – Interrupt Flag register
• Bit 7:2 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always
write these bits to zero when this register is written.
• Bit 1:0 – INTnIF: Interrupt n Flag
The INTnIF flag is set when a pin change/state matches the pin's input sense configuration, and
the pin is set as source for port interrupt n. Writing a one to this flag's bit location will clear the
flag. For enabling and executing the interrupt, refer to the interrupt level description.
13.13.14 REMAP – Pin Remap register
The pin remap functionality is available for PORTC - PORTF only
• Bit 7:6 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always
write these bits to zero when this register is written.
• Bit 5 – SPI: SPI Remap
Setting this bit to one will swap the pin locations of the SCK and MOSI pins to have pin compati-
bility between SPI and USART when the USART is operating as a SPI master.
Bit
7
6
5
4
3
2
1
0
INT1MSK[7:0]
INT1MASK
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
Bit
7
6
5
4
3
2
1
0
–
–
–
–
–
–
INT1IF
INT0IF
INTFLAGS
Read/Write
R
R
R
R
R
R
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
–
–
SPI
USART0
TC0D
TC0C
TC0B
TC0A
REMAP
Read/Write
R
R
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0