Go to the source code of this file.
|
enum | ep_enum {
PERIPH_EP0 = 0
, PERIPH_EP1 = 1
, PERIPH_EP2 = 2
, PERIPH_EP3 = 3
,
PERIPH_EP4 = 4
, PERIPH_EP5 = 5
, PERIPH_MAX_EP
, PERIPH_EP0 = 0
,
PERIPH_EP1 = 1
, PERIPH_EP2 = 2
, PERIPH_EP3 = 3
, PERIPH_EP4 = 4
,
PERIPH_EP5 = 5
, PERIPH_EP6 = 6
, PERIPH_EP7 = 7
, PERIPH_MAX_EP
,
PERIPH_EPA = 0
, PERIPH_EPB = 1
, PERIPH_EPC = 2
, PERIPH_EPD = 3
,
PERIPH_EPE = 4
, PERIPH_EPF = 5
, PERIPH_EPG = 6
, PERIPH_EPH = 7
,
PERIPH_EPI = 8
, PERIPH_EPJ = 9
, PERIPH_EPK = 10
, PERIPH_EPL = 11
,
PERIPH_MAX_EP
} |
|
|
static void | usb_attach (void) |
|
static void | usb_detach (void) |
|
static void | usb_control_send_zlp (void) |
|
static USBD_EP_T * | ep_entry (uint8_t ep_addr, bool add) |
|
static void | dcd_userEP_in_xfer (struct xfer_ctl_t *xfer, USBD_EP_T *ep) |
|
static void | bus_reset (void) |
|
static void | service_dma (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 | |
PERIPH_EP0 | |
PERIPH_EP1 | |
PERIPH_EP2 | |
PERIPH_EP3 | |
PERIPH_EP4 | |
PERIPH_EP5 | |
PERIPH_EP6 | |
PERIPH_EP7 | |
PERIPH_MAX_EP | |
PERIPH_EPA | |
PERIPH_EPB | |
PERIPH_EPC | |
PERIPH_EPD | |
PERIPH_EPE | |
PERIPH_EPF | |
PERIPH_EPG | |
PERIPH_EPH | |
PERIPH_EPI | |
PERIPH_EPJ | |
PERIPH_EPK | |
PERIPH_EPL | |
PERIPH_MAX_EP | |
Definition at line 54 of file dcd_nuc505.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_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 |
|
) |
| |
◆ dcd_userEP_in_xfer()
static void dcd_userEP_in_xfer |
( |
struct xfer_ctl_t * |
xfer, |
|
|
USBD_EP_T * |
ep |
|
) |
| |
|
static |
◆ ep_entry()
static USBD_EP_T * ep_entry |
( |
uint8_t |
ep_addr, |
|
|
bool |
add |
|
) |
| |
|
static |
◆ service_dma()
static void service_dma |
( |
void |
| ) |
|
|
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 |
◆ assigned_address
volatile uint8_t assigned_address |
|
static |
◆ bufseg_addr
struct { ... } ctrl_in_xfer |
◆ current_dma_xfer
◆ data_ptr
◆ enabled_irqs
const uint32_t enabled_irqs |
|
static |
Initial value:= USBD_GINTEN_USBIEN_Msk | \
USBD_GINTEN_EPAIEN_Msk | USBD_GINTEN_EPBIEN_Msk | USBD_GINTEN_EPCIEN_Msk | USBD_GINTEN_EPDIEN_Msk | USBD_GINTEN_EPEIEN_Msk | USBD_GINTEN_EPFIEN_Msk | \
USBD_GINTEN_EPGIEN_Msk | USBD_GINTEN_EPHIEN_Msk | USBD_GINTEN_EPIIEN_Msk | USBD_GINTEN_EPJIEN_Msk | USBD_GINTEN_EPKIEN_Msk | USBD_GINTEN_EPLIEN_Msk | \
USBD_GINTEN_CEPIEN_Msk
Definition at line 273 of file dcd_nuc505.c.
◆ epcfg_eptype_table
const uint8_t epcfg_eptype_table[] |
|
static |
◆ eprspctl_eptype_table
const uint8_t eprspctl_eptype_table[] |
|
static |
◆ in_remaining_bytes
uint16_t in_remaining_bytes |
◆ total_bytes
◆ xfer_table