Go to the source code of this file.
|
static uint8_t | get_free_fifo (void) |
|
static void | bus_reset (void) |
|
static void | enum_done_processing (void) |
|
bool | dcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
|
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) |
|
bool | dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *desc_edpt) |
|
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) |
|
static void | receive_packet (xfer_ctl_t *xfer, uint16_t xfer_size) |
|
static void | transmit_packet (xfer_ctl_t *xfer, volatile usb_in_endpoint_t *in_ep, uint8_t fifo_num) |
|
static void | read_rx_fifo (void) |
|
static void | handle_epout_ints (void) |
|
static void | handle_epin_ints (void) |
|
static void | _dcd_int_handler (void *arg) |
|
void | dcd_int_enable (uint8_t rhport) |
|
void | dcd_int_disable (uint8_t rhport) |
|
◆ _dcd_int_handler()
static void _dcd_int_handler |
( |
void * |
arg | ) |
|
|
static |
◆ 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_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 |
|
) |
| |
◆ enum_done_processing()
static void enum_done_processing |
( |
void |
| ) |
|
|
static |
◆ get_free_fifo()
static uint8_t get_free_fifo |
( |
void |
| ) |
|
|
static |
◆ handle_epin_ints()
static void handle_epin_ints |
( |
void |
| ) |
|
|
static |
◆ handle_epout_ints()
static void handle_epout_ints |
( |
void |
| ) |
|
|
static |
◆ read_rx_fifo()
static void read_rx_fifo |
( |
void |
| ) |
|
|
static |
◆ receive_packet()
static void receive_packet |
( |
xfer_ctl_t * |
xfer, |
|
|
uint16_t |
xfer_size |
|
) |
| |
|
static |
◆ transmit_packet()
static void transmit_packet |
( |
xfer_ctl_t * |
xfer, |
|
|
volatile usb_in_endpoint_t * |
in_ep, |
|
|
uint8_t |
fifo_num |
|
) |
| |
|
static |
◆ _allocated_fifos
uint8_t _allocated_fifos = 1 |
|
static |
◆ _setup_packet
uint32_t _setup_packet[2] |
|
static |
◆ TAG
const char* TAG = "TUSB:DCD" |
|
static |
◆ usb_ih
◆ xfer_status