discoverpixy
Functions | Variables
usbh_usr.h File Reference
#include "stm32f4_discovery.h"
#include "usbh_core.h"
#include <stdio.h>
Include dependency graph for usbh_usr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void USBH_USR_Init (void)
 USBH_USR_Init. More...
 
void USBH_USR_DeviceAttached (void)
 USBH_USR_DeviceAttached. More...
 
void USBH_USR_ResetDevice (void)
 USBH_USR_ResetUSBDevice. More...
 
void USBH_USR_DeviceDisconnected (void)
 USBH_DisconnectEvent Device disconnect event. More...
 
void USBH_USR_OverCurrentDetected (void)
 USBH_USR_OverCurrentDetected Over Current Detected on VBUS. More...
 
void USBH_USR_DeviceSpeedDetected (uint8_t DeviceSpeed)
 USBH_USR_DeviceSpeedDetected Displays the message on LCD for device speed. More...
 
void USBH_USR_Device_DescAvailable (void *)
 USBH_USR_Device_DescAvailable. More...
 
void USBH_USR_DeviceAddressAssigned (void)
 USBH_USR_DeviceAddressAssigned USB device is successfully assigned the Address. More...
 
void USBH_USR_Configuration_DescAvailable (USBH_CfgDesc_TypeDef *cfgDesc, USBH_InterfaceDesc_TypeDef *itfDesc, USBH_EpDesc_TypeDef *epDesc)
 USBH_USR_Conf_Desc. More...
 
void USBH_USR_Manufacturer_String (void *)
 USBH_USR_Manufacturer_String. More...
 
void USBH_USR_Product_String (void *)
 USBH_USR_Product_String. More...
 
void USBH_USR_SerialNum_String (void *)
 USBH_USR_SerialNum_String. More...
 
void USBH_USR_EnumerationDone (void)
 EnumerationDone User response request is displayed to ask application jump to class. More...
 
USBH_USR_Status USBH_USR_UserInput (void)
 USBH_USR_UserInput User Action for application state entry. More...
 
int USBH_USR_MSC_Application (void)
 USBH_USR_MSC_Application. More...
 
void USBH_USR_DeInit (void)
 USBH_USR_DeInit Deint User state and associated variables. More...
 
void USBH_USR_DeviceNotSupported (void)
 USBH_USR_DeviceNotSupported Device is not supported. More...
 
void USBH_USR_UnrecoveredError (void)
 USBH_USR_UnrecoveredError. More...
 

Variables

USBH_Usr_cb_TypeDef USR_Callbacks
 

Function Documentation

void USBH_USR_Configuration_DescAvailable ( USBH_CfgDesc_TypeDef *  cfgDesc,
USBH_InterfaceDesc_TypeDef *  itfDesc,
USBH_EpDesc_TypeDef *  epDesc 
)

USBH_USR_Conf_Desc.

Parameters
Configurationdescriptor
Return values
None
void USBH_USR_DeInit ( void  )

USBH_USR_DeInit Deint User state and associated variables.

Parameters
None
Return values
None
void USBH_USR_Device_DescAvailable ( void *  DeviceDesc)

USBH_USR_Device_DescAvailable.

Parameters
devicedescriptor
Return values
None
void USBH_USR_DeviceAddressAssigned ( void  )

USBH_USR_DeviceAddressAssigned USB device is successfully assigned the Address.

Parameters
None
Return values
None
void USBH_USR_DeviceAttached ( void  )

USBH_USR_DeviceAttached.

Parameters
None
Return values
None
void USBH_USR_DeviceDisconnected ( void  )

USBH_DisconnectEvent Device disconnect event.

Parameters
None
Return values
Staus
void USBH_USR_DeviceNotSupported ( void  )

USBH_USR_DeviceNotSupported Device is not supported.

Parameters
None
Return values
None
void USBH_USR_DeviceSpeedDetected ( uint8_t  DeviceSpeed)

USBH_USR_DeviceSpeedDetected Displays the message on LCD for device speed.

Parameters
Devicespeed:
Return values
None
void USBH_USR_EnumerationDone ( void  )

EnumerationDone User response request is displayed to ask application jump to class.

Parameters
None
Return values
None
void USBH_USR_Init ( void  )

USBH_USR_Init.

Parameters
None
Return values
None
void USBH_USR_Manufacturer_String ( void *  ManufacturerString)

USBH_USR_Manufacturer_String.

Parameters
ManufacturerString
Return values
None
int USBH_USR_MSC_Application ( void  )

USBH_USR_MSC_Application.

Parameters
None
Return values
Staus
void USBH_USR_OverCurrentDetected ( void  )

USBH_USR_OverCurrentDetected Over Current Detected on VBUS.

Parameters
None
Return values
None
void USBH_USR_Product_String ( void *  ProductString)

USBH_USR_Product_String.

Parameters
ProductString
Return values
None
void USBH_USR_ResetDevice ( void  )

USBH_USR_ResetUSBDevice.

Parameters
None
Return values
None
void USBH_USR_SerialNum_String ( void *  SerialNumString)

USBH_USR_SerialNum_String.

Parameters
SerialNum_String
Return values
None
void USBH_USR_UnrecoveredError ( void  )

USBH_USR_UnrecoveredError.

Parameters
None
Return values
None
USBH_USR_Status USBH_USR_UserInput ( void  )

USBH_USR_UserInput User Action for application state entry.

Parameters
None
Return values
USBH_USR_Status: User response for key button

Variable Documentation

USBH_Usr_cb_TypeDef USR_Callbacks