Go to the source code of this file.
|
| static void | usb_attach (void) |
| |
| static void | usb_detach (void) |
| |
| static void | usb_memcpy (uint8_t *dest, uint8_t *src, uint16_t size) |
| |
| static void | usb_control_send_zlp (void) |
| |
| static uint8_t | decode_ep_addr (USBD_EP_T *ep) |
| |
| static USBD_EP_T * | ep_entry (uint8_t ep_addr, bool add) |
| |
| static void | dcd_in_xfer (struct xfer_ctl_t *xfer, USBD_EP_T *ep) |
| |
| static void | bus_reset (void) |
| |
| bool | dcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
| |
| void | dcd_int_enable (uint8_t rhport) |
| |
| void | dcd_int_disable (uint8_t rhport) |
| |
| void | dcd_set_address (uint8_t rhport, uint8_t dev_addr) |
| |
| void | dcd_remote_wakeup (uint8_t rhport) |
| |
| bool | dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *p_endpoint_desc) |
| |
| void | dcd_edpt_close_all (uint8_t rhport) |
| |
| bool | dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t total_bytes) |
| |
| bool | dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t *ff, uint16_t total_bytes) |
| |
| void | dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr) |
| |
| void | dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) |
| |
| void | dcd_int_handler (uint8_t rhport) |
| |
| void | dcd_disconnect (uint8_t rhport) |
| |
| void | dcd_connect (uint8_t rhport) |
| |
| void | dcd_sof_enable (uint8_t rhport, bool en) |
| |
◆ ep_enum
| Enumerator |
|---|
| PERIPH_EP0 | |
| PERIPH_EP1 | |
| PERIPH_EP2 | |
| PERIPH_EP3 | |
| PERIPH_EP4 | |
| PERIPH_EP5 | |
| PERIPH_MAX_EP | |
Definition at line 55 of file dcd_nuc120.c.
◆ bus_reset()
| static void bus_reset |
( |
void | | ) |
|
|
static |
◆ dcd_connect()
| void dcd_connect |
( |
uint8_t | rhport | ) |
|
◆ dcd_disconnect()
| void dcd_disconnect |
( |
uint8_t | rhport | ) |
|
◆ dcd_edpt_clear_stall()
| void dcd_edpt_clear_stall |
( |
uint8_t | rhport, |
|
|
uint8_t | ep_addr ) |
◆ dcd_edpt_close_all()
| void dcd_edpt_close_all |
( |
uint8_t | rhport | ) |
|
◆ dcd_edpt_open()
◆ dcd_edpt_stall()
| void dcd_edpt_stall |
( |
uint8_t | rhport, |
|
|
uint8_t | ep_addr ) |
◆ dcd_edpt_xfer()
| bool dcd_edpt_xfer |
( |
uint8_t | rhport, |
|
|
uint8_t | ep_addr, |
|
|
uint8_t * | buffer, |
|
|
uint16_t | total_bytes ) |
◆ dcd_edpt_xfer_fifo()
| bool dcd_edpt_xfer_fifo |
( |
uint8_t | rhport, |
|
|
uint8_t | ep_addr, |
|
|
tu_fifo_t * | ff, |
|
|
uint16_t | total_bytes ) |
◆ dcd_in_xfer()
| static void dcd_in_xfer |
( |
struct xfer_ctl_t * | xfer, |
|
|
USBD_EP_T * | ep ) |
|
static |
◆ dcd_init()
◆ dcd_int_disable()
| void dcd_int_disable |
( |
uint8_t | rhport | ) |
|
◆ dcd_int_enable()
| void dcd_int_enable |
( |
uint8_t | rhport | ) |
|
◆ dcd_int_handler()
| void dcd_int_handler |
( |
uint8_t | rhport | ) |
|
◆ dcd_remote_wakeup()
| void dcd_remote_wakeup |
( |
uint8_t | rhport | ) |
|
◆ dcd_set_address()
| void dcd_set_address |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr ) |
◆ dcd_sof_enable()
| void dcd_sof_enable |
( |
uint8_t | rhport, |
|
|
bool | en ) |
◆ decode_ep_addr()
| static uint8_t decode_ep_addr |
( |
USBD_EP_T * | ep | ) |
|
|
static |
◆ ep_entry()
| static USBD_EP_T * ep_entry |
( |
uint8_t | ep_addr, |
|
|
bool | add ) |
|
static |
◆ usb_attach()
| static void usb_attach |
( |
void | | ) |
|
|
static |
◆ usb_control_send_zlp()
| static void usb_control_send_zlp |
( |
void | | ) |
|
|
static |
◆ usb_detach()
| static void usb_detach |
( |
void | | ) |
|
|
static |
◆ usb_memcpy()
| static void usb_memcpy |
( |
uint8_t * | dest, |
|
|
uint8_t * | src, |
|
|
uint16_t | size ) |
|
inlinestatic |
◆ active_ep0_xfer
◆ assigned_address
| volatile uint8_t assigned_address |
|
static |
◆ bufseg_addr
◆ enabled_irqs
| const uint32_t enabled_irqs = USBD_INTSTS_FLDET_STS_Msk | USBD_INTSTS_BUS_STS_Msk | USBD_INTSTS_SETUP_Msk | USBD_INTSTS_USB_STS_Msk |
|
static |
◆ xfer_table