Datasheet

138
XMEGA B [DATASHEET]
8291B–AVR–01/2013
12.12.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.
12.12.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.
12.12.10INTCTRL – 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 118.
Bit 76543210
+0x07 OUTTGL[7:0]
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 76543210
+0x08 IN[7:0]
Read/Write RRRRRRRR
Initial Value 0 0000000
Bit 76543210
+0x09
INT1LVL[1:0] INT0LVL[1:0]
Read/Write RRRRR/WR/WR/WR/W
Initial Value 0 0000000