|
int | rt_usbd_class_list_init (void) |
|
udevice_t | rt_usbd_device_new (void) |
|
uconfig_t | rt_usbd_config_new (void) |
|
ufunction_t | rt_usbd_function_new (udevice_t device, udev_desc_t dev_desc, ufunction_ops_t ops) |
|
uintf_t | rt_usbd_interface_new (udevice_t device, uintf_handler_t handler) |
|
uep_t | rt_usbd_endpoint_new (uep_desc_t ep_desc, udep_handler_t handler) |
|
ualtsetting_t | rt_usbd_altsetting_new (rt_size_t desc_size) |
|
rt_err_t | rt_usbd_core_init (void) |
|
rt_err_t | rt_usb_device_init (void) |
|
rt_err_t | rt_usbd_event_signal (struct udev_msg *msg) |
|
rt_err_t | rt_usbd_device_set_controller (udevice_t device, udcd_t dcd) |
|
rt_err_t | rt_usbd_device_set_descriptor (udevice_t device, udev_desc_t dev_desc) |
|
rt_err_t | rt_usbd_device_set_string (udevice_t device, const char **ustring) |
|
rt_err_t | rt_usbd_device_set_interface_string (udevice_t device, int index, const char *string) |
|
rt_err_t | rt_usbd_device_set_qualifier (udevice_t device, struct usb_qualifier_descriptor *qualifier) |
|
rt_err_t | rt_usbd_device_set_os_comp_id_desc (udevice_t device, usb_os_comp_id_desc_t os_comp_id_desc) |
|
rt_err_t | rt_usbd_device_add_config (udevice_t device, uconfig_t cfg) |
|
rt_err_t | rt_usbd_config_add_function (uconfig_t cfg, ufunction_t func) |
|
rt_err_t | rt_usbd_class_register (udclass_t udclass) |
|
rt_err_t | rt_usbd_function_add_interface (ufunction_t func, uintf_t intf) |
|
rt_err_t | rt_usbd_interface_add_altsetting (uintf_t intf, ualtsetting_t setting) |
|
rt_err_t | rt_usbd_altsetting_add_endpoint (ualtsetting_t setting, uep_t ep) |
|
rt_err_t | rt_usbd_os_comp_id_desc_add_os_func_comp_id_desc (usb_os_comp_id_desc_t os_comp_id_desc, usb_os_func_comp_id_desc_t os_func_comp_id_desc) |
|
rt_err_t | rt_usbd_altsetting_config_descriptor (ualtsetting_t setting, const void *desc, rt_off_t intf_pos) |
|
rt_err_t | rt_usbd_set_config (udevice_t device, rt_uint8_t value) |
|
rt_err_t | rt_usbd_set_altsetting (uintf_t intf, rt_uint8_t value) |
|
udevice_t | rt_usbd_find_device (udcd_t dcd) |
|
uconfig_t | rt_usbd_find_config (udevice_t device, rt_uint8_t value) |
|
uintf_t | rt_usbd_find_interface (udevice_t device, rt_uint8_t value, ufunction_t *pfunc) |
|
uep_t | rt_usbd_find_endpoint (udevice_t device, ufunction_t *pfunc, rt_uint8_t ep_addr) |
|
rt_size_t | rt_usbd_io_request (udevice_t device, uep_t ep, uio_request_t req) |
|
rt_size_t | rt_usbd_ep0_write (udevice_t device, void *buffer, rt_size_t size) |
|
rt_size_t | rt_usbd_ep0_read (udevice_t device, void *buffer, rt_size_t size, rt_err_t(*rx_ind)(udevice_t device, rt_size_t size)) |
|
int | rt_usbd_vcom_class_register (void) |
|
int | rt_usbd_ecm_class_register (void) |
|
int | rt_usbd_hid_class_register (void) |
|
int | rt_usbd_msc_class_register (void) |
|
int | rt_usbd_rndis_class_register (void) |
|
int | rt_usbd_winusb_class_register (void) |
|
rt_err_t | rt_usbd_set_feature (udevice_t device, rt_uint16_t value, rt_uint16_t index) |
|
rt_err_t | rt_usbd_clear_feature (udevice_t device, rt_uint16_t value, rt_uint16_t index) |
|
rt_err_t | rt_usbd_ep_set_stall (udevice_t device, uep_t ep) |
|
rt_err_t | rt_usbd_ep_clear_stall (udevice_t device, uep_t ep) |
|
rt_err_t | rt_usbd_ep0_set_stall (udevice_t device) |
|
rt_err_t | rt_usbd_ep0_clear_stall (udevice_t device) |
|
rt_err_t | rt_usbd_ep0_setup_handler (udcd_t dcd, struct urequest *setup) |
|
rt_err_t | rt_usbd_ep0_in_handler (udcd_t dcd) |
|
rt_err_t | rt_usbd_ep0_out_handler (udcd_t dcd, rt_size_t size) |
|
rt_err_t | rt_usbd_ep_in_handler (udcd_t dcd, rt_uint8_t address, rt_size_t size) |
|
rt_err_t | rt_usbd_ep_out_handler (udcd_t dcd, rt_uint8_t address, rt_size_t size) |
|
rt_err_t | rt_usbd_reset_handler (udcd_t dcd) |
|
rt_err_t | rt_usbd_connect_handler (udcd_t dcd) |
|
rt_err_t | rt_usbd_disconnect_handler (udcd_t dcd) |
|
rt_err_t | rt_usbd_sof_handler (udcd_t dcd) |
|
rt_inline rt_err_t | dcd_set_address (udcd_t dcd, rt_uint8_t address) |
|
rt_inline rt_err_t | dcd_set_config (udcd_t dcd, rt_uint8_t address) |
|
rt_inline rt_err_t | dcd_ep_enable (udcd_t dcd, uep_t ep) |
|
rt_inline rt_err_t | dcd_ep_disable (udcd_t dcd, uep_t ep) |
|
rt_inline rt_size_t | dcd_ep_read_prepare (udcd_t dcd, rt_uint8_t address, void *buffer, rt_size_t size) |
|
rt_inline rt_size_t | dcd_ep_read (udcd_t dcd, rt_uint8_t address, void *buffer) |
|
rt_inline rt_size_t | dcd_ep_write (udcd_t dcd, rt_uint8_t address, void *buffer, rt_size_t size) |
|
rt_inline rt_err_t | dcd_ep0_send_status (udcd_t dcd) |
|
rt_inline rt_err_t | dcd_ep_set_stall (udcd_t dcd, rt_uint8_t address) |
|
rt_inline rt_err_t | dcd_ep_clear_stall (udcd_t dcd, rt_uint8_t address) |
|
rt_inline void | usbd_os_proerty_descriptor_send (ufunction_t func, ureq_t setup, usb_os_proerty_t usb_os_proerty, rt_uint8_t number_of_proerty) |
|