Define and functions required by UHC.
Macros | |
#define | UHI_MSC |
Global define which contains standard UHI API for UHC. More... | |
Functions required by UHC | |
uhc_enum_status_t | uhi_msc_install (uhc_device_t *dev) |
void | uhi_msc_enable (uhc_device_t *dev) |
Enable the interface. More... | |
void | uhi_msc_uninstall (uhc_device_t *dev) |
Uninstall the interface (if installed). More... | |
#define UHI_MSC |
Global define which contains standard UHI API for UHC.
It must be added in USB_HOST_UHI define from conf_usb_host.h file.
void uhi_msc_enable | ( | uhc_device_t * | dev | ) |
Enable the interface.
Enable a USB interface corresponding to UHI.
[in] | uhc_device_t | Device to request |
References Assert, b_uhi_msc_free, uhi_msc_dev_t::dev, NULL, and uhi_msc_enable_step1().
uhc_enum_status_t uhi_msc_install | ( | uhc_device_t * | dev | ) |
void uhi_msc_uninstall | ( | uhc_device_t * | dev | ) |
Uninstall the interface (if installed).
[in] | uhc_device_t | Device to request |
References uhi_msc_dev_t::dev, uhi_msc_dev_t::lun, NULL, and UHI_MSC_CHANGE.