|
vsf_err_t | ch32f10x_usbd_init (ch32f10x_usbd_t *usbd, usb_dc_cfg_t *cfg) |
|
void | ch32f10x_usbd_fini (ch32f10x_usbd_t *usbd) |
|
void | ch32f10x_usbd_reset (ch32f10x_usbd_t *usbd, usb_dc_cfg_t *cfg) |
|
void | ch32f10x_usbd_connect (ch32f10x_usbd_t *usbd) |
|
void | ch32f10x_usbd_disconnect (ch32f10x_usbd_t *usbd) |
|
void | ch32f10x_usbd_wakeup (ch32f10x_usbd_t *usbd) |
|
void | ch32f10x_usbd_set_address (ch32f10x_usbd_t *usbd, uint_fast8_t addr) |
|
uint_fast8_t | ch32f10x_usbd_get_address (ch32f10x_usbd_t *usbd) |
|
uint_fast16_t | ch32f10x_usbd_get_frame_number (ch32f10x_usbd_t *usbd) |
|
uint_fast8_t | ch32f10x_usbd_get_mframe_number (ch32f10x_usbd_t *usbd) |
|
void | ch32f10x_usbd_get_setup (ch32f10x_usbd_t *usbd, uint8_t *buffer) |
|
void | ch32f10x_usbd_status_stage (ch32f10x_usbd_t *usbd, bool is_in) |
|
uint_fast8_t | ch32f10x_usbd_ep_get_feature (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint_fast8_t feature) |
|
vsf_err_t | ch32f10x_usbd_ep_add (ch32f10x_usbd_t *usbd, uint_fast8_t ep, usb_ep_type_t type, uint_fast16_t size) |
|
uint_fast16_t | ch32f10x_usbd_ep_get_size (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
vsf_err_t | ch32f10x_usbd_ep_set_stall (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
bool | ch32f10x_usbd_ep_is_stalled (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
vsf_err_t | ch32f10x_usbd_ep_clear_stall (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
uint_fast32_t | ch32f10x_usbd_ep_get_data_size (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
vsf_err_t | ch32f10x_usbd_ep_transaction_read_buffer (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint8_t *buffer, uint_fast16_t size) |
|
vsf_err_t | ch32f10x_usbd_ep_transaction_enable_out (ch32f10x_usbd_t *usbd, uint_fast8_t ep) |
|
vsf_err_t | ch32f10x_usbd_ep_transaction_set_data_size (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint_fast16_t size) |
|
vsf_err_t | ch32f10x_usbd_ep_transaction_write_buffer (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint8_t *buffer, uint_fast16_t size) |
|
vsf_err_t | ch32f10x_usbd_ep_transfer_recv (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint8_t *buffer, uint_fast32_t size) |
|
vsf_err_t | ch32f10x_usbd_ep_transfer_send (ch32f10x_usbd_t *usbd, uint_fast8_t ep, uint8_t *buffer, uint_fast32_t size, bool zlp) |
|
void | ch32f10x_usbd_irq (ch32f10x_usbd_t *usbd) |
|