Home
last modified time | relevance | path

Searched refs:s_msc_driver (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_host.c65 static msc_driver_t *s_msc_driver; variable
160 usb_host_interface_release(s_msc_driver->client_handle, dev->handle, dev->config.iface_num); in msc_deinit_device()
161 usb_host_device_close(s_msc_driver->client_handle, dev->handle); in msc_deinit_device()
164 …MSC_RETURN_ON_ERROR( usb_host_interface_release(s_msc_driver->client_handle, dev->handle, dev->con… in msc_deinit_device()
165 MSC_RETURN_ON_ERROR( usb_host_device_close(s_msc_driver->client_handle, dev->handle) ); in msc_deinit_device()
203 if ( usb_host_device_open(s_msc_driver->client_handle, dev_addr, &device) == ESP_OK) { in is_mass_storage_device()
211 usb_host_device_close(s_msc_driver->client_handle, device); in is_mass_storage_device()
220 usb_host_client_handle_events(s_msc_driver->client_handle, pdMS_TO_TICKS(50)); in event_handler_task()
222 if (s_msc_driver->end_client_event_handling) { in event_handler_task()
226 usb_host_client_unblock(s_msc_driver->client_handle); in event_handler_task()
[all …]