|
rt_err_t | rt_usb_host_init (const char *name) |
|
void | rt_usbh_hub_init (struct uhcd *hcd) |
|
struct uinstance * | rt_usbh_alloc_instance (uhcd_t uhcd) |
|
rt_err_t | rt_usbh_attatch_instance (struct uinstance *device) |
|
rt_err_t | rt_usbh_detach_instance (struct uinstance *device) |
|
rt_err_t | rt_usbh_get_descriptor (struct uinstance *device, rt_uint8_t type, void *buffer, int nbytes) |
|
rt_err_t | rt_usbh_set_configure (struct uinstance *device, int config) |
|
rt_err_t | rt_usbh_set_address (struct uinstance *device) |
|
rt_err_t | rt_usbh_set_interface (struct uinstance *device, int intf) |
|
rt_err_t | rt_usbh_clear_feature (struct uinstance *device, int endpoint, int feature) |
|
rt_err_t | rt_usbh_get_interface_descriptor (ucfg_desc_t cfg_desc, int num, uintf_desc_t *intf_desc) |
|
rt_err_t | rt_usbh_get_endpoint_descriptor (uintf_desc_t intf_desc, int num, uep_desc_t *ep_desc) |
|
rt_err_t | rt_usbh_class_driver_init (void) |
|
rt_err_t | rt_usbh_class_driver_register (ucd_t drv) |
|
rt_err_t | rt_usbh_class_driver_unregister (ucd_t drv) |
|
rt_err_t | rt_usbh_class_driver_enable (ucd_t drv, void *args) |
|
rt_err_t | rt_usbh_class_driver_disable (ucd_t drv, void *args) |
|
ucd_t | rt_usbh_class_driver_find (int class_code, int subclass_code) |
|
ucd_t | rt_usbh_class_driver_hub (void) |
|
ucd_t | rt_usbh_class_driver_storage (void) |
|
rt_err_t | rt_usbh_hub_get_descriptor (struct uinstance *device, rt_uint8_t *buffer, rt_size_t size) |
|
rt_err_t | rt_usbh_hub_get_status (struct uinstance *device, rt_uint32_t *buffer) |
|
rt_err_t | rt_usbh_hub_get_port_status (uhub_t uhub, rt_uint16_t port, rt_uint32_t *buffer) |
|
rt_err_t | rt_usbh_hub_clear_port_feature (uhub_t uhub, rt_uint16_t port, rt_uint16_t feature) |
|
rt_err_t | rt_usbh_hub_set_port_feature (uhub_t uhub, rt_uint16_t port, rt_uint16_t feature) |
|
rt_err_t | rt_usbh_hub_reset_port (uhub_t uhub, rt_uint16_t port) |
|
rt_err_t | rt_usbh_event_signal (uhcd_t uhcd, struct uhost_msg *msg) |
|
void | rt_usbh_root_hub_connect_handler (struct uhcd *hcd, rt_uint8_t port, rt_bool_t isHS) |
|
void | rt_usbh_root_hub_disconnect_handler (struct uhcd *hcd, rt_uint8_t port) |
|
rt_inline rt_err_t | rt_usb_instance_add_pipe (uinst_t inst, upipe_t pipe) |
|
rt_inline upipe_t | rt_usb_instance_find_pipe (uinst_t inst, rt_uint8_t ep_address) |
|
rt_inline rt_err_t | rt_usb_hcd_alloc_pipe (uhcd_t hcd, upipe_t *pipe, uinst_t inst, uep_desc_t ep) |
|
rt_inline void | rt_usb_pipe_add_callback (upipe_t pipe, func_callback callback) |
|
rt_inline rt_err_t | rt_usb_hcd_free_pipe (uhcd_t hcd, upipe_t pipe) |
|
int | rt_usb_hcd_pipe_xfer (uhcd_t hcd, upipe_t pipe, void *buffer, int nbytes, int timeout) |
|
rt_inline int | rt_usb_hcd_setup_xfer (uhcd_t hcd, upipe_t pipe, ureq_t setup, int timeout) |
|