234
XMEGA B [DATASHEET]
8291B–AVR–01/2013
18.16 Register Summary – USB Module
18.17 Register Summary – USB Endpoint
The address to the first configuration byte is (EPPTR[15:0] + 16 × endpoint address) for OUT endpoints and
(EPPTR[15:0] + 16 × endpoint a 8) for IN endpoints.
18.18 Register Summary – Frame
The address to the frame configuration byte is (MAXEP + 1) << 4. For instance with MAXEP = 3, the first address would
be located at offset address 0x40.
18.19 USB Interrupt Vector Summary
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
CTRLA
ENABLE
SPEED
FIFOEN
STFRNUM
MAXEP[3:0]
+0x01
CTRLB
–
–
–
PULLRST
–
RWAKEUP
GNACK
ATTACH
+0x02
STATUS
–
–
–
–
UPRESUM
RESUME
SUSPEND
BUSRST
+0x03
ADDR
–
ADDR[6:0]
+0x04
FIFOWP
–
–
–
FIFOWP[4:0]
+0x05
FIFORP
–
–
–
FIFORP[4:0]
+0x06
EPPTRL
EPPTR[7:0]
+0x07
EPPTRH
EPPTR[15:8]
+0x08
INTCTRLA
SOFIE
BUSEVIE
BUSERRIE
STALLIE
–
–
INTLVL[1:0]
+0x09
INTCTRLB
–
–
–
–
–
–
TRNIE
SETUPIE
+0x0A
INFLAGSACL
SOFIF
SUSPENDI
RESUMEIF
RSTIF
CRCIF
UNFIF
OVFIF
STALLIF
+0x0B
INFLAGSASE
SOFIF
SUSPENDI
RESUMEIF
RSTIF
CRCIF
UNFIF
OVFIF
STALLIF
+0x0C
INFLAGSBCL
–
–
–
–
–
–
TRNIF
SETUPIF
+0x0D
INFLAGSBSE
–
–
–
–
–
–
TRNIF
SETUPIF
+0x0E
Reserved
–
–
–
–
–
–
–
–
+0x0F
Reserved
–
–
–
–
–
–
–
–
+0x10-0X39
Reserved
–
–
–
–
–
–
–
–
+0x3A
CALL
CAL[7:0]
+0x3B
CALH
CAL[15:8]
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
STATUS
STALL
OVF/UNF
TRNCOMP
L0
SETUP
BANK
BUSNACK1
BUSNACK0
TOGGLE
CRC
TRNCOMP
Isochronous
+0x01
CTRL
TYPE[1:0]
MULTIPKT
PINGPONG
INTDSB
L
STALL
BUFSIZE[1:0]
BUFSIZE[2:0]
Isochronous
+0x02
CNTL
CNT[7:0]
+0x03
CNTH
AZLP
–
–
–
–
–
CNT[9:8]
+0x04
DATAPTR
DATAPTR[7:0]
DATAPTR
DATAPTR[15:8]
+0x06
AUXDATA
AUXDATA[7:0]
+0x07
AUXDATA
AUXDATA[15:8]
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
FRAMENUM
FRAMENUM[7:0]
+0x01
FRAMENUM
FRAMEER
–
–
–
–
FRAMENUM[10:8]
Offset
Source
Interrupt Description
0x00
BUSEVENT_vect
SOF, suspend, resume, bus reset, CRC, underflow, overflow, and stall error interrupts
0x02
TRNCOMPL_vect
Transaction complete interrupt
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...