\n

USBD

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x1C byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x88 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x500 Bytes (0x0)
size : 0x80 byte (0x0)
mem_usage : registers
protection : not protected

Registers

USBD_INTEN (INTEN)

USBD_ATTR (ATTR)

USBD_VBUSDET (VBUSDET)

USBD_STBUFSEG (STBUFSEG)

USBD_INTSTS (INTSTS)

USBD_BUFSEG0 (BUFSEG0)

USBD_MXPLD0 (MXPLD0)

USBD_CFG0 (CFG0)

USBD_CFGP0 (CFGP0)

USBD_BUFSEG1 (BUFSEG1)

USBD_MXPLD1 (MXPLD1)

USBD_CFG1 (CFG1)

USBD_CFGP1 (CFGP1)

USBD_BUFSEG2 (BUFSEG2)

USBD_MXPLD2 (MXPLD2)

USBD_CFG2 (CFG2)

USBD_CFGP2 (CFGP2)

USBD_BUFSEG3 (BUFSEG3)

USBD_MXPLD3 (MXPLD3)

USBD_CFG3 (CFG3)

USBD_CFGP3 (CFGP3)

USBD_BUFSEG4 (BUFSEG4)

USBD_MXPLD4 (MXPLD4)

USBD_CFG4 (CFG4)

USBD_CFGP4 (CFGP4)

USBD_BUFSEG5 (BUFSEG5)

USBD_MXPLD5 (MXPLD5)

USBD_CFG5 (CFG5)

USBD_CFGP5 (CFGP5)

USBD_BUFSEG6 (BUFSEG6)

USBD_MXPLD6 (MXPLD6)

USBD_CFG6 (CFG6)

USBD_CFGP6 (CFGP6)

USBD_BUFSEG7 (BUFSEG7)

USBD_MXPLD7 (MXPLD7)

USBD_CFG7 (CFG7)

USBD_CFGP7 (CFGP7)

USBD_FADDR (FADDR)

USBD_LPMATTR (LPMATTR)

USBD_FN (FN)

USBD_SE0 (SE0)

USBD_EPSTS (EPSTS)


USBD_INTEN (INTEN)

USB Device Interrupt Enable Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_INTEN USBD_INTEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BUSIEN USBIEN VBDETIEN NEVWKIEN SOFIEN WKEN INNAKEN

BUSIEN : Bus Event Interrupt Enable Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

BUS event interrupt Disabled

#1 : 1

BUS event interrupt Enabled

End of enumeration elements list.

USBIEN : USB Event Interrupt Enable Bit\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

USB event interrupt Disabled

#1 : 1

USB event interrupt Enabled

End of enumeration elements list.

VBDETIEN : VBUS Detection Interrupt Enable Bit\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

VBUS detection Interrupt Disabled

#1 : 1

VBUS detection Interrupt Enabled

End of enumeration elements list.

NEVWKIEN : USB No-event-wake-up Interrupt Enable Bit\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

No-event-wake-up Interrupt Disabled

#1 : 1

No-event-wake-up Interrupt Enabled

End of enumeration elements list.

SOFIEN : Start of Frame Interrupt Enable Bit\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

SOF Interrupt Disabled

#1 : 1

SOF Interrupt Enabled

End of enumeration elements list.

WKEN : Wake-up Function Enable Bit\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

USB wake-up function Disabled

#1 : 1

USB wake-up function Enabled

End of enumeration elements list.

INNAKEN : Active NAK Function and Its Status in IN Token\n
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

When device responds NAK after receiving IN token, IN NAK status will not be updated to USBD_EPSTS register, so that the USB interrupt event will not be asserted

#1 : 1

IN NAK status will be updated to USBD_EPSTS register and the USB interrupt event will be asserted, when the device responds NAK after receiving IN token

End of enumeration elements list.


USBD_ATTR (ATTR)

USB Device Bus Status and Attribution Register
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_ATTR USBD_ATTR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 USBRST SUSPEND RESUME TOUT PHYEN RWAKEUP USBEN DPPUEN PWRDN BYTEM LPMACK L1SUSPEND L1RESUME SOFITH

USBRST : USB Reset Status\nNote: This bit is read only.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bus no reset

#1 : 1

Bus reset when SE0 (single-ended 0) more than 2.5us

End of enumeration elements list.

SUSPEND : Suspend Status\nNote: This bit is read only.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bus no suspend

#1 : 1

Bus idle more than 3ms, either cable is plugged off or host is sleeping

End of enumeration elements list.

RESUME : Resume Status\nNote: This bit is read only.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

No bus resume

#1 : 1

Resume from suspend

End of enumeration elements list.

TOUT : Time-out Status\nNote: This bit is read only.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

No time-out

#1 : 1

No Bus response more than 18 bits time

End of enumeration elements list.

PHYEN : PHY Transceiver Function Enable Bit\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

PHY transceiver function Disabled

#1 : 1

PHY transceiver function Enabled

End of enumeration elements list.

RWAKEUP : Remote Wake-up\n
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Release the USB bus from K state

#1 : 1

Force USB bus to K (USB_D+ low, USB_D-: high) state, used for remote wake-up

End of enumeration elements list.

USBEN : USB Controller Enable Bit\n
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

USB Controller Disabled

#1 : 1

USB Controller Enabled

End of enumeration elements list.

DPPUEN : Pull-up Resistor on USB_DP Enable Bit\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Pull-up resistor in USB_D+ bus Disabled

#1 : 1

Pull-up resistor in USB_D+ bus Active

End of enumeration elements list.

PWRDN : Power-down PHY Transceiver, Low Active\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power donw related circuit of PHY transceiver

#1 : 1

Turn on related circuit of PHY transceiver

End of enumeration elements list.

BYTEM : CPU Access USB SRAM Size Mode Selection\n
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Word mode: The size of the transfer from CPU to USB SRAM can be Word only

#1 : 1

Byte mode: The size of the transfer from CPU to USB SRAM can be Byte only

End of enumeration elements list.

LPMACK : LPM Token Acknowledge Enable Bit\n
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

the valid LPM Token will be NYET

#1 : 1

the valid LPM Token will be ACK

End of enumeration elements list.

L1SUSPEND : LPM L1 Suspend \nNote: This bit is read only.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bus no L1 state suspend

#1 : 1

This bit is set by the hardware when LPM command to enter the L1 state is successfully received and acknowledged

End of enumeration elements list.

L1RESUME : LPM L1 Resume \nNote: This bit is read only.
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bus no LPM L1 state resume

#1 : 1

LPM L1 state Resume from LPM L1 state suspend

End of enumeration elements list.

SOFITH : Start of Frame Interrupt Threshold Control Bits\n
bits : 16 - 18 (3 bit)
access : read-write

Enumeration:

#000 : 0

every SOF trigger one SOF interrupt

#001 : 1

every 2 SOFs trigger one SOF interrupt

#010 : 2

every 4 SOFs trigger one SOF interrupt

#011 : 3

every 8 SOFs trigger one SOF interrupt

#100 : 4

every 16 SOFs trigger one SOF interrupt

#101 : 5

every 32 SOFs trigger one SOF interrupt

#110 : 6

every 64 SOFs trigger one SOF interrupt

#111 : 7

every 128 SOFs trigger one SOF interrupt

End of enumeration elements list.


USBD_VBUSDET (VBUSDET)

USB Device VBUS Detection Register
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

USBD_VBUSDET USBD_VBUSDET read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VBUSDET

VBUSDET : Device VBUS Detection\n
bits : 0 - 0 (1 bit)
access : read-only

Enumeration:

#0 : 0

Controller is not attached to the USB host

#1 : 1

Controller is attached to the USB host

End of enumeration elements list.


USBD_STBUFSEG (STBUFSEG)

Setup Token Buffer Segmentation Register
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_STBUFSEG USBD_STBUFSEG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 STBUFSEG

STBUFSEG : SETUP Token Buffer Segmentation\nNote: It is used for SETUP token only.
bits : 3 - 9 (7 bit)
access : read-write


USBD_INTSTS (INTSTS)

USB Device Interrupt Event Status Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_INTSTS USBD_INTSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BUSIF USBIF VBDETIF NEVWKIF SOFIF EPEVT0 EPEVT1 EPEVT2 EPEVT3 EPEVT4 EPEVT5 EPEVT6 EPEVT7 SETUP

BUSIF : BUS Interrupt Status\nThe BUS event means that there is one of the suspense or the resume function in the bus.\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No BUS event occurred

#1 : 1

Bus event occurred; check USBD_ATTR[3:0] and USBD_ATTR[13:12] to know which kind of bus event was occurred, cleared by write 1 to USBD_INTSTS[0]

End of enumeration elements list.

USBIF : USB Event Interrupt Status\nThe USB event includes the SETUP Token, IN Token, OUT ACK, ISO IN, or ISO OUT events in the bus.\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

No USB event occurred

#1 : 1

USB event occurred, check EPSTS0~5[2:0] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[1] or EPSTS0~7 and SETUP (USBD_INTSTS[31])

End of enumeration elements list.

VBDETIF : VBUS Detection Interrupt Status\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

There is not attached/detached event in the USB

#1 : 1

There is attached/detached event in the USB bus and it is cleared by write 1 to USBD_INTSTS[2]

End of enumeration elements list.

NEVWKIF : No-event-wake-up Interrupt Status\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

NEVWK event does not occur

#1 : 1

No-event-wake-up event occurred, cleared by write 1 to USBD_INTSTS[3]

End of enumeration elements list.

SOFIF : Start of Frame Interrupt Status\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

SOF event does not occur

#1 : 1

SOF event occurred, cleared by write 1 to USBD_INTSTS[4]

End of enumeration elements list.

EPEVT0 : Endpoint 0's USB Event Status\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 0

#1 : 1

USB event occurred on Endpoint 0, check USBD_EPSTS[10:8] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[16] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT1 : Endpoint 1's USB Event Status\n
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 1

#1 : 1

USB event occurred on Endpoint 1, check USBD_EPSTS[13:11] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[17] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT2 : Endpoint 2's USB Event Status\n
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 2

#1 : 1

USB event occurred on Endpoint 2, check USBD_EPSTS[16:14] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[18] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT3 : Endpoint 3's USB Event Status\n
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 3

#1 : 1

USB event occurred on Endpoint 3, check USBD_EPSTS[19:17] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[19] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT4 : Endpoint 4's USB Event Status\n
bits : 20 - 20 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 4

#1 : 1

USB event occurred on Endpoint 4, check USBD_EPSTS[22:20] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[20] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT5 : Endpoint 5's USB Event Status\n
bits : 21 - 21 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 5

#1 : 1

USB event occurred on Endpoint 5, check USBD_EPSTS[25:23] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[21] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT6 : Endpoint 6's USB Event Status\n
bits : 22 - 22 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 6

#1 : 1

USB event occurred on Endpoint 6, check USBD_EPSTS[28:26] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[22] or USBD_INTSTS[1]

End of enumeration elements list.

EPEVT7 : Endpoint 7's USB Event Status\n
bits : 23 - 23 (1 bit)
access : read-write

Enumeration:

#0 : 0

No event occurred in endpoint 7

#1 : 1

USB event occurred on Endpoint 7, check USBD_EPSTS[31:29] to know which kind of USB event was occurred, cleared by write 1 to USBD_INTSTS[23] or USBD_INTSTS[1]

End of enumeration elements list.

SETUP : Setup Event Status\n
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Setup event

#1 : 1

Setup event occurred, cleared by write 1 to USBD_INTSTS[31]

End of enumeration elements list.


USBD_BUFSEG0 (BUFSEG0)

Endpoint 0 Buffer Segmentation Register
address_offset : 0x500 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG0 USBD_BUFSEG0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BUFSEG

BUFSEG : Endpoint Buffer Segmentation\nIt is used to indicate the offset address for each endpoint with the USB SRAM starting address. The effective starting address of the endpoint is\nUSBD_SRAM address + { BUFSEG[9:3], 3'b000}\nRefer to the section 6.19.5.7 for the endpoint SRAM structure and its description.
bits : 3 - 9 (7 bit)
access : read-write


USBD_MXPLD0 (MXPLD0)

Endpoint 0 Maximal Payload Register
address_offset : 0x504 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD0 USBD_MXPLD0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MXPLD

MXPLD : Maximal Payload\nDefine the data length which is transmitted to host (IN token) or the actual data length which is received from the host (OUT token). It also used to indicate that the endpoint is ready to be transmitted in IN token or received in OUT token.\n(1) When the register is written by CPU, \nFor IN token, the value of MXPLD is used to define the data length to be transmitted and indicate the data buffer is ready.\nFor OUT token, it means that the controller is ready to receive data from the host and the value of MXPLD is the maximal data length comes from host.\n(2) When the register is read by CPU,\nFor IN token, the value of MXPLD is indicated by the data length be transmitted to host\nFor OUT token, the value of MXPLD is indicated the actual data length receiving from host.\nNote: Once MXPLD is written, the data packets will be transmitted/received immediately after IN/OUT token arrived.
bits : 0 - 9 (10 bit)
access : read-write


USBD_CFG0 (CFG0)

Endpoint 0 Configuration Register
address_offset : 0x508 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG0 USBD_CFG0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 EPNUM ISOCH STATE DSQSYNC CSTALL

EPNUM : Endpoint Number\nThese bits are used to define the endpoint number of the current endpoint
bits : 0 - 3 (4 bit)
access : read-write

ISOCH : Isochronous Endpoint\nThis bit is used to set the endpoint as Isochronous endpoint, no handshake.\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Isochronous endpoint

#1 : 1

Isochronous endpoint

End of enumeration elements list.

STATE : Endpoint STATE\n
bits : 5 - 6 (2 bit)
access : read-write

Enumeration:

#00 : 0

Endpoint is Disabled

#01 : 1

Out endpoint

#10 : 2

IN endpoint

#11 : 3

Undefined

End of enumeration elements list.

DSQSYNC : Data Sequence Synchronization\nNote: It is used to specify the DATA0 or DATA1 PID in the following IN token transaction. Hardware will toggle automatically in IN token base on the bit.
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

DATA0 PID

#1 : 1

DATA1 PID

End of enumeration elements list.

CSTALL : Clear STALL Response\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable the device to clear the STALL handshake in setup stage

#1 : 1

Clear the device to response STALL handshake in setup stage

End of enumeration elements list.


USBD_CFGP0 (CFGP0)

Endpoint 0 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x50C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP0 USBD_CFGP0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CLRRDY SSTALL

CLRRDY : Clear Ready\nFor IN token, write '1' to clear the IN token had ready to transmit the data to USB.\nFor OUT token, write '1' to clear the OUT token had ready to receive the data from USB.\nThis bit is write 1 only and is always 0 when it is read back.
bits : 0 - 0 (1 bit)
access : read-write

SSTALL : Set STALL\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable the device to response STALL

#1 : 1

Set the device to respond STALL automatically

End of enumeration elements list.


USBD_BUFSEG1 (BUFSEG1)

Endpoint 1 Buffer Segmentation Register
address_offset : 0x510 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG1 USBD_BUFSEG1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD1 (MXPLD1)

Endpoint 1 Maximal Payload Register
address_offset : 0x514 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD1 USBD_MXPLD1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG1 (CFG1)

Endpoint 1 Configuration Register
address_offset : 0x518 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG1 USBD_CFG1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP1 (CFGP1)

Endpoint 1 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x51C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP1 USBD_CFGP1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG2 (BUFSEG2)

Endpoint 2 Buffer Segmentation Register
address_offset : 0x520 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG2 USBD_BUFSEG2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD2 (MXPLD2)

Endpoint 2 Maximal Payload Register
address_offset : 0x524 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD2 USBD_MXPLD2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG2 (CFG2)

Endpoint 2 Configuration Register
address_offset : 0x528 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG2 USBD_CFG2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP2 (CFGP2)

Endpoint 2 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x52C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP2 USBD_CFGP2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG3 (BUFSEG3)

Endpoint 3 Buffer Segmentation Register
address_offset : 0x530 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG3 USBD_BUFSEG3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD3 (MXPLD3)

Endpoint 3 Maximal Payload Register
address_offset : 0x534 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD3 USBD_MXPLD3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG3 (CFG3)

Endpoint 3 Configuration Register
address_offset : 0x538 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG3 USBD_CFG3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP3 (CFGP3)

Endpoint 3 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x53C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP3 USBD_CFGP3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG4 (BUFSEG4)

Endpoint 4 Buffer Segmentation Register
address_offset : 0x540 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG4 USBD_BUFSEG4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD4 (MXPLD4)

Endpoint 4 Maximal Payload Register
address_offset : 0x544 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD4 USBD_MXPLD4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG4 (CFG4)

Endpoint 4 Configuration Register
address_offset : 0x548 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG4 USBD_CFG4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP4 (CFGP4)

Endpoint 4 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x54C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP4 USBD_CFGP4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG5 (BUFSEG5)

Endpoint 5 Buffer Segmentation Register
address_offset : 0x550 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG5 USBD_BUFSEG5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD5 (MXPLD5)

Endpoint 5 Maximal Payload Register
address_offset : 0x554 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD5 USBD_MXPLD5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG5 (CFG5)

Endpoint 5 Configuration Register
address_offset : 0x558 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG5 USBD_CFG5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP5 (CFGP5)

Endpoint 5 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x55C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP5 USBD_CFGP5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG6 (BUFSEG6)

Endpoint 6 Buffer Segmentation Register
address_offset : 0x560 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG6 USBD_BUFSEG6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD6 (MXPLD6)

Endpoint 6 Maximal Payload Register
address_offset : 0x564 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD6 USBD_MXPLD6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG6 (CFG6)

Endpoint 6 Configuration Register
address_offset : 0x568 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG6 USBD_CFG6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP6 (CFGP6)

Endpoint 6 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x56C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP6 USBD_CFGP6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_BUFSEG7 (BUFSEG7)

Endpoint 7 Buffer Segmentation Register
address_offset : 0x570 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_BUFSEG7 USBD_BUFSEG7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_MXPLD7 (MXPLD7)

Endpoint 7 Maximal Payload Register
address_offset : 0x574 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_MXPLD7 USBD_MXPLD7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFG7 (CFG7)

Endpoint 7 Configuration Register
address_offset : 0x578 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFG7 USBD_CFG7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_CFGP7 (CFGP7)

Endpoint 7 Set Stall and Clear In/Out Ready Control Register
address_offset : 0x57C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_CFGP7 USBD_CFGP7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

USBD_FADDR (FADDR)

USB Device Function Address Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_FADDR USBD_FADDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FADDR

FADDR : USB Device Function Address
bits : 0 - 6 (7 bit)
access : read-write


USBD_LPMATTR (LPMATTR)

USB LPM Attribution Register
address_offset : 0x88 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

USBD_LPMATTR USBD_LPMATTR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LPMLINKSTS LPMBESL LPMRWAKUP

LPMLINKSTS : LPM Link State\nThese bits contain the bLinkState received with last ACK LPM Token\n
bits : 0 - 3 (4 bit)
access : read-only

Enumeration:

#0000 : 0

Reserve

#0001 : 1

L1 (Sleep)

End of enumeration elements list.

LPMBESL : LPM Best Effort Service Latency\nThese bits contain the BESL value received with last ACK LPM Token\n
bits : 4 - 7 (4 bit)
access : read-only

Enumeration:

#0000 : 0

125us

#0001 : 1

150us

#0010 : 2

200us

#0011 : 3

300us

#0100 : 4

400us

#0101 : 5

500us

#0110 : 6

1000us

#0111 : 7

2000us

#1000 : 8

3000us

#1001 : 9

4000us

#1010 : 10

5000us

#1011 : 11

6000us

#1100 : 12

7000us

#1101 : 13

8000us

#1110 : 14

9000us

#1111 : 15

10000us

End of enumeration elements list.

LPMRWAKUP : LPM Remote Wakeup\nThis bit contains the bRemoteWake value received with last ACK LPM Token
bits : 8 - 8 (1 bit)
access : read-only


USBD_FN (FN)

USB Frame Number Register
address_offset : 0x8C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

USBD_FN USBD_FN read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FN

FN : Frame Number\nThese bits contain the 11-bits frame number in the last received SOF packet.
bits : 0 - 10 (11 bit)
access : read-only


USBD_SE0 (SE0)

USB Device Drive SE0 Control Register
address_offset : 0x90 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

USBD_SE0 USBD_SE0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SE0

SE0 : Drive Single Ended Zero in USB Bus\nThe Single Ended Zero (SE0) is when both lines (USB_D+ and USB_D-) are being pulled low.\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal operation

#1 : 1

Force USB PHY transceiver to drive SE0

End of enumeration elements list.


USBD_EPSTS (EPSTS)

USB Device Endpoint Status Register
address_offset : 0xC Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

USBD_EPSTS USBD_EPSTS read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OV EPSTS0 EPSTS1 EPSTS2 EPSTS3 EPSTS4 EPSTS5 EPSTS6 EPSTS7

OV : Overrun\nIt indicates that the received data is over the maximum payload number or not.\n
bits : 7 - 7 (1 bit)
access : read-only

Enumeration:

#0 : 0

No overrun

#1 : 1

Out Data is more than the Max Payload in MXPLD register or the Setup Data is more than 8 Bytes

End of enumeration elements list.

EPSTS0 : Endpoint 0 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 8 - 10 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS1 : Endpoint 1 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 11 - 13 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS2 : Endpoint 2 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 14 - 16 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS3 : Endpoint 3 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 17 - 19 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS4 : Endpoint 4 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 20 - 22 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS5 : Endpoint 5 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 23 - 25 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS6 : Endpoint 6 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 26 - 28 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.

EPSTS7 : Endpoint 7 Status\nThese bits are used to indicate the current status of this endpoint\n
bits : 29 - 31 (3 bit)
access : read-only

Enumeration:

#000 : 0

In ACK

#001 : 1

In NAK

#010 : 2

Out Packet Data0 ACK

#011 : 3

Setup ACK

#110 : 6

Out Packet Data1 ACK

#111 : 7

Isochronous transfer end

End of enumeration elements list.



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.