Datasheet
263
XMEGA B [DATASHEET]
8291B–AVR–01/2013
20.7.4 DATA – Data register
The DATA register is used for sending and receiving data. Writing to the register initiates the data transmission, and the
byte written to the register will be shifted out on the SPI output line. Reading the register causes the shift register receive
buffer to be read, returning the last byte successfully received.
20.8 Register Summary
20.9 Interrupt vector Summary
Bit 7 6 5 4 3 2 1 0
+0x03 DATA[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
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Page
+0x00 CTRL CLK2X ENABLE DORD MASTER MODE[1:0] PRESCALER[1:0] 261
+0x01 INTCTRL – – – – – – INTLVL[1:0] 262
+0x02 STATUS IF WRCOL – – – – – – 262
+0x03 DATA DATA[7:0] 263
Offset Source Interrupt Description
0x00 SPI_vect SPI interrupt vector