EasyManua.ls Logo

Atmel AVR XMEGA AU series - Page 156

Atmel AVR XMEGA AU series
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 76543210
+0x0B INT1MSK[7:0] INT1MASK
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x0C INT1IF INT0IF INTFLAGS
Read/WriteRRRRRRR/WR/W
Initial Value00000000
Bit 76543210
+0x0E SPI USART0 TC0D TC0C TC0B TC0A REMAP
Read/Write R R R/W R/W R/W R/W R/W R/W
Initial Value00000000

Table of Contents

Related product manuals