Go to the source code of this file.
|
static tusb_speed_t | get_speed (void) |
|
static void | dcd_transmit_packet (xfer_ctl_t *xfer, uint8_t ep_ix) |
|
static TU_ATTR_ALWAYS_INLINE void | CleanInValidateCache (uint32_t *addr, int32_t size) |
|
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) |
|
void | dcd_connect (uint8_t rhport) |
|
void | dcd_disconnect (uint8_t rhport) |
|
void | dcd_sof_enable (uint8_t rhport, bool en) |
|
static void | dcd_ep_handler (uint8_t ep_ix) |
|
static void | dcd_dma_handler (uint8_t ep_ix) |
|
void | dcd_int_handler (uint8_t rhport) |
|
void | dcd_edpt0_status_complete (uint8_t rhport, tusb_control_request_t const *request) |
|
bool | dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *ep_desc) |
|
void | dcd_edpt_close_all (uint8_t rhport) |
|
void | dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) |
|
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) |
|
◆ CleanInValidateCache()
static TU_ATTR_ALWAYS_INLINE void CleanInValidateCache |
( |
uint32_t * |
addr, |
|
|
int32_t |
size |
|
) |
| |
|
inlinestatic |
◆ dcd_connect()
void dcd_connect |
( |
uint8_t |
rhport | ) |
|
◆ dcd_disconnect()
void dcd_disconnect |
( |
uint8_t |
rhport | ) |
|
◆ dcd_dma_handler()
static void dcd_dma_handler |
( |
uint8_t |
ep_ix | ) |
|
|
static |
◆ dcd_edpt0_status_complete()
◆ dcd_edpt_clear_stall()
void dcd_edpt_clear_stall |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr |
|
) |
| |
◆ dcd_edpt_close()
void dcd_edpt_close |
( |
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_ep_handler()
static void dcd_ep_handler |
( |
uint8_t |
ep_ix | ) |
|
|
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 |
|
) |
| |
◆ dcd_transmit_packet()
static void dcd_transmit_packet |
( |
xfer_ctl_t * |
xfer, |
|
|
uint8_t |
ep_ix |
|
) |
| |
|
static |
◆ get_speed()
◆ dma_desc
◆ ep0_desc
Initial value:=
{
.bEndpointAddress = 0x00,
.wMaxPacketSize = CFG_TUD_ENDPOINT0_SIZE,
}
Definition at line 84 of file dcd_samx7x.c.
◆ xfer_status