![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Classes | |
struct | usbd_class_driver_t |
Typedefs | |
typedef bool(* | usbd_control_xfer_cb_t) (uint8_t rhport, uint8_t stage, tusb_control_request_t const *request) |
Functions | |
usbd_class_driver_t const * | usbd_app_driver_get_cb (uint8_t *driver_count) TU_ATTR_WEAK |
void | usbd_int_set (bool enabled) |
bool | usbd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *desc_ep) |
void | usbd_edpt_close (uint8_t rhport, uint8_t ep_addr) |
bool | usbd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t total_bytes) |
bool | usbd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t *ff, uint16_t total_bytes) |
bool | usbd_edpt_claim (uint8_t rhport, uint8_t ep_addr) |
bool | usbd_edpt_release (uint8_t rhport, uint8_t ep_addr) |
bool | usbd_edpt_busy (uint8_t rhport, uint8_t ep_addr) |
void | usbd_edpt_stall (uint8_t rhport, uint8_t ep_addr) |
void | usbd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) |
bool | usbd_edpt_stalled (uint8_t rhport, uint8_t ep_addr) |
bool | usbd_edpt_iso_alloc (uint8_t rhport, uint8_t ep_addr, uint16_t largest_packet_size) |
bool | usbd_edpt_iso_activate (uint8_t rhport, tusb_desc_endpoint_t const *p_endpoint_desc) |
static TU_ATTR_ALWAYS_INLINE bool | usbd_edpt_ready (uint8_t rhport, uint8_t ep_addr) |
void | usbd_sof_enable (uint8_t rhport, sof_consumer_t consumer, bool en) |
bool | usbd_open_edpt_pair (uint8_t rhport, uint8_t const *p_desc, uint8_t ep_count, uint8_t xfer_type, uint8_t *ep_out, uint8_t *ep_in) |
void | usbd_defer_func (osal_task_func_t func, void *param, bool in_isr) |
Variables | |
C | |
typedef bool(* usbd_control_xfer_cb_t) (uint8_t rhport, uint8_t stage, tusb_control_request_t const *request) |
Definition at line 68 of file usbd_pvt.h.
usbd_class_driver_t const * usbd_app_driver_get_cb | ( | uint8_t * | driver_count | ) |
void usbd_defer_func | ( | osal_task_func_t | func, |
void * | param, | ||
bool | in_isr | ||
) |
void usbd_edpt_clear_stall | ( | uint8_t | rhport, |
uint8_t | ep_addr | ||
) |
void usbd_edpt_close | ( | uint8_t | rhport, |
uint8_t | ep_addr | ||
) |
bool usbd_edpt_iso_activate | ( | uint8_t | rhport, |
tusb_desc_endpoint_t const * | p_endpoint_desc | ||
) |
bool usbd_edpt_iso_alloc | ( | uint8_t | rhport, |
uint8_t | ep_addr, | ||
uint16_t | largest_packet_size | ||
) |
bool usbd_edpt_open | ( | uint8_t | rhport, |
tusb_desc_endpoint_t const * | desc_ep | ||
) |
|
inlinestatic |
Definition at line 116 of file usbd_pvt.h.
bool usbd_edpt_xfer | ( | uint8_t | rhport, |
uint8_t | ep_addr, | ||
uint8_t * | buffer, | ||
uint16_t | total_bytes | ||
) |
bool usbd_edpt_xfer_fifo | ( | uint8_t | rhport, |
uint8_t | ep_addr, | ||
tu_fifo_t * | ff, | ||
uint16_t | total_bytes | ||
) |
bool usbd_open_edpt_pair | ( | uint8_t | rhport, |
uint8_t const * | p_desc, | ||
uint8_t | ep_count, | ||
uint8_t | xfer_type, | ||
uint8_t * | ep_out, | ||
uint8_t * | ep_in | ||
) |
void usbd_sof_enable | ( | uint8_t | rhport, |
sof_consumer_t | consumer, | ||
bool | en | ||
) |
|
extern |