Module s2pac_ch32v103::usbhd
source · Expand description
USB register
Modules§
- USB device physical prot control
- endpoint 0 control
- endpoint 0 transmittal length
- endpoint 1 control;host aux setup
- endpoint 1 transmittal length
- endpoint 2/3 mode;host endpoint mode
- endpoint 2 control;host receiver endpoint control
- endpoint 2 transmittal length;host endpoint and PID
- endpoint 3 control;host transmittal endpoint control
- endpoint 3 transmittal length;host transmittal endpoint transmittal length
- endpoint 4/1 mode
- endpoint 4 control
- endpoint 4 transmittal length
- USB base control
- USB device address
- USB interrupt enable
- USB interrupt flag
- USB interrupt status
- USB miscellaneous status
- USB receiving length
- USB type-C control
- endpoint 0 DMA buffer address
- endpoint 1 DMA buffer address
- endpoint 2 DMA buffer address;host rx endpoint buffer high address
- endpoint 3 DMA buffer address;host tx endpoint buffer high address
Structs§
- Register block
Type Aliases§
- R8_UDEV_CTRL__R8_UHOST_CTRL (rw) register accessor: USB device physical prot control
- R8_UEP0_CTRL (rw) register accessor: endpoint 0 control
- R8_UEP0_T_LEN (rw) register accessor: endpoint 0 transmittal length
- R8_UEP1_CTRL__R8_UH_SETUP (rw) register accessor: endpoint 1 control;host aux setup
- R8_UEP1_T_LEN (rw) register accessor: endpoint 1 transmittal length
- R8_UEP2_3_MOD__R8_UH_EP_MOD (rw) register accessor: endpoint 2/3 mode;host endpoint mode
- R8_UEP2_CTRL__R8_UH_RX_CTRL (rw) register accessor: endpoint 2 control;host receiver endpoint control
- R8_UEP2_T_LEN__R8_UH_EP_PID (rw) register accessor: endpoint 2 transmittal length;host endpoint and PID
- R8_UEP3_CTRL__R8_UH_TX_CTRL (rw) register accessor: endpoint 3 control;host transmittal endpoint control
- R8_UEP3_T_LEN__R8_UH_TX_LEN (rw) register accessor: endpoint 3 transmittal length;host transmittal endpoint transmittal length
- R8_UEP4_1_MOD (rw) register accessor: endpoint 4/1 mode
- R8_UEP4_CTRL (rw) register accessor: endpoint 4 control
- R8_UEP4_T_LEN (rw) register accessor: endpoint 4 transmittal length
- R8_USB_CTRL (rw) register accessor: USB base control
- R8_USB_DEV_AD (rw) register accessor: USB device address
- R8_USB_INT_EN (rw) register accessor: USB interrupt enable
- R8_USB_INT_FG (rw) register accessor: USB interrupt flag
- R8_USB_INT_ST (r) register accessor: USB interrupt status
- R8_USB_MIS_ST (r) register accessor: USB miscellaneous status
- R8_USB_RX_LEN (r) register accessor: USB receiving length
- R8_USB_TYPE_C_CTRL (rw) register accessor: USB type-C control
- R16_UEP0_DMA (rw) register accessor: endpoint 0 DMA buffer address
- R16_UEP1_DMA (rw) register accessor: endpoint 1 DMA buffer address
- R16_UEP2_DMA__R16_UH_RX_DMA (rw) register accessor: endpoint 2 DMA buffer address;host rx endpoint buffer high address
- R16_UEP3_DMA__R16_UH_TX_DMA (rw) register accessor: endpoint 3 DMA buffer address;host tx endpoint buffer high address