2 #if (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE)
31 #ifndef __USBD_USR_H__
32 #define __USBD_USR_H__
35 #include "stm32/usb/usbd_core.h"
56 extern USBD_Usr_cb_TypeDef USR_cb;
57 extern USBD_Usr_cb_TypeDef USR_FS_cb;
58 extern USBD_Usr_cb_TypeDef USR_HS_cb;
87 void USBD_USR_Init(
void);
88 void USBD_USR_DeviceReset (uint8_t speed);
89 void USBD_USR_DeviceConfigured (
void);
90 void USBD_USR_DeviceSuspended(
void);
91 void USBD_USR_DeviceResumed(
void);
93 void USBD_USR_DeviceConnected(
void);
94 void USBD_USR_DeviceDisconnected(
void);
96 void USBD_USR_FS_Init(
void);
97 void USBD_USR_FS_DeviceReset (uint8_t speed);
98 void USBD_USR_FS_DeviceConfigured (
void);
99 void USBD_USR_FS_DeviceSuspended(
void);
100 void USBD_USR_FS_DeviceResumed(
void);
102 void USBD_USR_FS_DeviceConnected(
void);
103 void USBD_USR_FS_DeviceDisconnected(
void);
105 void USBD_USR_HS_Init(
void);
106 void USBD_USR_HS_DeviceReset (uint8_t speed);
107 void USBD_USR_HS_DeviceConfigured (
void);
108 void USBD_USR_HS_DeviceSuspended(
void);
109 void USBD_USR_HS_DeviceResumed(
void);
111 void USBD_USR_HS_DeviceConnected(
void);
112 void USBD_USR_HS_DeviceDisconnected(
void);
libheivs configuration file