
142
XMEGA A [MANUAL]
8077I–AVR–11/2012
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 register 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 buffers 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
13.13.11 INT0MASK – Interrupt 0 Mask register
Bit 7:0 – INT0MSK[7:0]: Interrupt 0 Mask bits
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 configuration for each pin is decided by the PINnCTRL registers.
Bit
765
4321
0
+0x07
OUTTGL[7:0]
Read/Write
R/W
Initial Value
000
0000
0
Bit
76543210
+0x08
IN[7:0]
Read/Write
RRRRRRRR
Initial Value
00000000
Bit
76543210
+0x09
–
INT1LVL[1:0]
INT0LVL[1:0]
Read/Write
RRRR
R/W
Initial Value
00000000
Bit
76543210
+0x0A
INT0MSK[7:0]
Read/Write
R/W
Initial Value
00000000