TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_USBH_MSC_Functions

Library Functions. More...

Functions

TM_USBH_Result_t TM_USBH_MSC_Init (TM_USB_t USB_Mode)
 Initializes USB HOST MSC class for specific USB mode (PORT) More...
 
TM_USBH_Result_t TM_USBH_MSC_IsConnected (TM_USB_t USB_Mode)
 Checks if connecteed device on USB mode is type of MSC class. More...
 
TM_USBH_Result_t TM_USBH_MSC_IsReady (TM_USB_t USB_Mode)
 Checks if connecteed MSC device on USB mode is ready to be used with FATFS. More...
 

Detailed Description

Library Functions.

Function Documentation

TM_USBH_Result_t TM_USBH_MSC_Init ( TM_USB_t  USB_Mode)

Initializes USB HOST MSC class for specific USB mode (PORT)

Parameters
USB_ModeUSB mode where MSC HOST class will be registered. This parameter can be a value of TM_USB_t enumeration
Return values
Memberof TM_USBH_Result_t enumeration
TM_USBH_Result_t TM_USBH_MSC_IsConnected ( TM_USB_t  USB_Mode)

Checks if connecteed device on USB mode is type of MSC class.

Parameters
USB_ModeUSB mode where device will be checked. This parameter can be a value of TM_USB_t enumeration
Return values
Memberof TM_USBH_Result_t enumeration
TM_USBH_Result_t TM_USBH_MSC_IsReady ( TM_USB_t  USB_Mode)

Checks if connecteed MSC device on USB mode is ready to be used with FATFS.

Parameters
USB_ModeUSB mode where device will be checked. This parameter can be a value of TM_USB_t enumeration
Return values
Memberof TM_USBH_Result_t enumeration