155
8331B–AVR–03/12
Atmel AVR XMEGA AU
13.13.8 OUTTGL – Data Output Value Toggle register
• Bit 7:0 – OUTTGL[7:0]: Port Data Output Value Toggle
This register can be used instead of a read-modify-write to toggle the output value of individual
pins. Writing a one to a bit will toggle the corresponding bit in the OUT register. Reading this reg-
ister will return the value in the OUT register.
13.13.9 IN – Data Input Value register
• Bit 7:0 – IN[7:0]: Data Input Value
This register shows the value present on the pins if the digital input driver is enabled. INn shows
the value of pin n of the port. The input is not sampled and cannot be read if the digital input buf-
fers are disabled.
13.13.10 INTCTRL – Interrupt Control Register
• Bit 7:4 – 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 3:2/1:0 – INTnLVL[1:0]: Interrupt n Level
These bits enable port interrupt n and select the interrupt level as described in ”Interrupts and
Programmable Multilevel Interrupt Controller” on page 134.
13.13.11 INT0MASK – Interrupt 0 Mask register
Bit 76543210
+0x07 OUTTGL[7:0] OUTTGL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x08 IN[7:0] IN
Read/WriteRRRRRRRR
Initial Value00000000
Bit 76543210
+0x09 – – – – INT1LVL[1:0] INT0LVL[1:0] INTCTRL
Read/Write R R R R R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x0A INT0MSK[7:0] INT0MASK
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