EasyManuals Logo

Atmel AVR XMEGA AU series User Manual

Atmel AVR XMEGA AU series
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #248 background imageLoading...
Page #248 background image
248
8331B–AVR–03/12
Atmel AVR XMEGA AU
20.13 Register Description – USB
20.13.1 CTRLA – Control register A
• Bit 7 – ENABLE: USB Enable
Setting this bit enables the USB interface. Clearing this bit disables the USB interface and imme-
diately aborts any ongoing transactions.
• Bit 6 – SPEED: Speed Select
This bit selects between low and full speed operation. By default, this bit is zero, and low speed
operation is selected. Setting this bit enables full speed operation.
• Bit 5 – FIFOEN: USB FIFO Enable
Setting this bit enables the USB transaction complete FIFO, and the FIFO stores the endpoint
configuration table address of each endpoint that generates a transaction complete interrupt.
Clearing this bit disables the FIFO and frees the allocated SRAM memory.
• Bit 4 – STFRNUM: Store Frame Number Enable
Setting this bit enables storing of the last SOF token frame number in the frame number (FRA-
MENUM) register. Clearing this bit disables the function.
• Bit 3:0 – MAXEP[3:0]: Maximum Endpoint Address
These bits select the number of endpoint addresses used by the USB module. Incoming packets
with a higher endpoint number than this address will be discarded. Packets with endpoint
addresses lower than or equal to this address will cause the USB module to look up the
addressed endpoint in the endpoint configuration table.
20.13.2 CTRLB – Control register B
• Bit 7:5 – 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 76543210
+0x00 ENABLE SPEED FIFOEN STFRNUM MAXEP[3:0] CTRLA
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 7654 3 2 1 0
+0x01 – – – PULLRST – RWAKEUP GNACK ATTACH CTRLB
Read/Write R R R R/W R R/W R/W R/W
Initial Value0000 0 0 0 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR XMEGA AU series and is the answer not in the manual?

Atmel AVR XMEGA AU series Specifications

General IconGeneral
BrandAtmel
ModelAVR XMEGA AU series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals