usbd_core.h
Go to the documentation of this file.
1 
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __USBD_CORE_H
30 #define __USBD_CORE_H
31 
32 /* Includes ------------------------------------------------------------------*/
33 #include "usb_dcd.h"
34 #include "usbd_def.h"
35 #include "usbd_conf.h"
36 
51 typedef enum {
52  USBD_OK = 0,
93  USBD_DEVICE *pDevice,
94  USBD_Class_cb_TypeDef *class_cb,
95  USBD_Usr_cb_TypeDef *usr_cb);
96 
98 
99 USBD_Status USBD_ClrCfg(USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx);
100 
101 USBD_Status USBD_SetCfg(USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx);
102 
107 #endif /* __USBD_CORE_H */
108 
117 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
118 
119 
120 
USBD_Status
Definition: usbd_core.h:51
USBD_Status USBD_ClrCfg(USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx)
USBD_ClrCfg Clear current configuration.
Definition: usbd_core.c:459
USB_OTG_CORE_ID_TypeDef
Definition: usb_defines.h:190
void USBD_Init(USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID, USBD_DEVICE *pDevice, USBD_Class_cb_TypeDef *class_cb, USBD_Usr_cb_TypeDef *usr_cb)
USBD_Init Initializes the device stack and load the class driver.
Definition: usbd_core.c:137
USBD_Status USBD_SetCfg(USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx)
USBD_SetCfg Configure device and start the interface.
Definition: usbd_core.c:443
USBD_Status USBD_DeInit(USB_OTG_CORE_HANDLE *pdev)
USBD_DeInit Re-Initialize the device library.
Definition: usbd_core.c:169
USB Device configuration file.
Peripheral Driver Header file.
general defines for the usb device library


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:20