257
XMEGA B [DATASHEET]
8291B–AVR–01/2013
19.11 Register Summary - TWI
19.12 Register Summary - TWI Master
19.13 Register Summary - TWI Slave
19.14 Interrupt Vector Summary
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
CTRL
–
–
–
–
–
SDAHOLD[1:0]
EDIEN
+0x01
MASTER
Offset address for TWI Master
+0x08
SLAVE
Offset address for TWI Slave
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
CTRLA
INTLVL[1:0]
RIEN
WIEN
ENABLE
–
–
–
+0x01
CTRLB
–
–
–
–
TIMEOUT[1:0]
QCEN
SMEN
+0x02
CTRLC
–
–
–
–
–
ACKACT
CMD[1:0]
+0x03
STATUS
RIF
WIF
CLKHOLD
RXACK
ARBLOST
BUSERR
BUSSTATE[1:0]
+0x04
BAUD
BAUD[7:0]
+0x05
ADDR
ADDR[7:0]
+0x06
DATA
DATA[7:0]
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
CTRLA
INTLVL[1:0]
DIEN
APIEN
ENABLE
PIEN
TPMEN
SMEN
+0x01
CTRLB
–
–
–
–
–
ACKACT
CMD[1:0]
+0x02
STATUS
DIF
APIF
CLKHOLD
RXACK
COLL
BUSERR
DIR
AP
+0x03
ADDR
ADDR[7:0]
+0x04
DATA
DATA[7:0]
+0x05
ADDRMAS
ADDRMASK[7:1]
ADDREN
Offset
Source
Interrupt Description
0x00
SLAVE_vect
TWI slave interrupt vector
0x02
MASTER_vect
TWI master interrupt vector
Содержание XMEGA B
Страница 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Страница 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Страница 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Страница 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 414: ...414 XMEGA B DATASHEET 8291B AVR 01 2013...