|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Header file for usbd_core.c file. More...
Go to the source code of this file.
Macros | |
| #define | USBD_SOF USBD_LL_SOF |
Functions | |
| USBD_StatusTypeDef | USBD_Init (USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id) |
| USBD_Init Initialize the device stack and load the class driver. | |
| USBD_StatusTypeDef | USBD_DeInit (USBD_HandleTypeDef *pdev) |
| USBD_DeInit De-Initialize the device library. | |
| USBD_StatusTypeDef | USBD_Start (USBD_HandleTypeDef *pdev) |
| USBD_Start Start the USB Device Core. | |
| USBD_StatusTypeDef | USBD_Stop (USBD_HandleTypeDef *pdev) |
| USBD_Stop Stop the USB Device Core. | |
| USBD_StatusTypeDef | USBD_RegisterClass (USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass) |
| USBD_RegisterClass Link class driver to Device Core. | |
| uint8_t | USBD_CoreFindIF (USBD_HandleTypeDef *pdev, uint8_t index) |
| USBD_CoreFindIF return the class index relative to the selected interface. | |
| uint8_t | USBD_CoreFindEP (USBD_HandleTypeDef *pdev, uint8_t index) |
| USBD_CoreFindEP return the class index relative to the selected endpoint. | |
| USBD_StatusTypeDef | USBD_RunTestMode (USBD_HandleTypeDef *pdev) |
| USBD_RunTestMode Launch test mode process. | |
| USBD_StatusTypeDef | USBD_SetClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
| USBD_SetClassConfig Configure device and start the interface. | |
| USBD_StatusTypeDef | USBD_ClrClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
| USBD_ClrClassConfig Clear current configuration. | |
| USBD_StatusTypeDef | USBD_LL_SetupStage (USBD_HandleTypeDef *pdev, uint8_t *psetup) |
| USBD_LL_SetupStage Handle the setup stage. | |
| USBD_StatusTypeDef | USBD_LL_DataOutStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) |
| USBD_LL_DataOutStage Handle data OUT stage. | |
| USBD_StatusTypeDef | USBD_LL_DataInStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) |
| USBD_LL_DataInStage Handle data in stage. | |
| USBD_StatusTypeDef | USBD_LL_Reset (USBD_HandleTypeDef *pdev) |
| USBD_LL_Reset Handle Reset event. | |
| USBD_StatusTypeDef | USBD_LL_SetSpeed (USBD_HandleTypeDef *pdev, USBD_SpeedTypeDef speed) |
| USBD_LL_SetSpeed Handle Reset event. | |
| USBD_StatusTypeDef | USBD_LL_Suspend (USBD_HandleTypeDef *pdev) |
| USBD_LL_Suspend Handle Suspend event. | |
| USBD_StatusTypeDef | USBD_LL_Resume (USBD_HandleTypeDef *pdev) |
| USBD_LL_Resume Handle Resume event. | |
| USBD_StatusTypeDef | USBD_LL_SOF (USBD_HandleTypeDef *pdev) |
| USBD_LL_SOF Handle SOF event. | |
| USBD_StatusTypeDef | USBD_LL_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_LL_IsoINIncomplete Handle iso in incomplete event. | |
| USBD_StatusTypeDef | USBD_LL_IsoOUTIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_LL_IsoOUTIncomplete Handle iso out incomplete event. | |
| USBD_StatusTypeDef | USBD_LL_DevConnected (USBD_HandleTypeDef *pdev) |
| USBD_LL_DevConnected Handle device connection event. | |
| USBD_StatusTypeDef | USBD_LL_DevDisconnected (USBD_HandleTypeDef *pdev) |
| USBD_LL_DevDisconnected Handle device disconnection event. | |
| USBD_StatusTypeDef | USBD_LL_Init (USBD_HandleTypeDef *pdev) |
| Initializes the low level portion of the device driver. | |
| USBD_StatusTypeDef | USBD_LL_DeInit (USBD_HandleTypeDef *pdev) |
| De-Initializes the low level portion of the device driver. | |
| USBD_StatusTypeDef | USBD_LL_Start (USBD_HandleTypeDef *pdev) |
| Starts the low level portion of the device driver. | |
| USBD_StatusTypeDef | USBD_LL_Stop (USBD_HandleTypeDef *pdev) |
| Stops the low level portion of the device driver. | |
| USBD_StatusTypeDef | USBD_LL_OpenEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) |
| Opens an endpoint of the low level driver. | |
| USBD_StatusTypeDef | USBD_LL_CloseEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Closes an endpoint of the low level driver. | |
| USBD_StatusTypeDef | USBD_LL_FlushEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Flushes an endpoint of the Low Level Driver. | |
| USBD_StatusTypeDef | USBD_LL_StallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Sets a Stall condition on an endpoint of the Low Level Driver. | |
| USBD_StatusTypeDef | USBD_LL_ClearStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Clears a Stall condition on an endpoint of the Low Level Driver. | |
| USBD_StatusTypeDef | USBD_LL_SetUSBAddress (USBD_HandleTypeDef *pdev, uint8_t dev_addr) |
| Assigns a USB address to the device. | |
| USBD_StatusTypeDef | USBD_LL_Transmit (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size) |
| Transmits data over an endpoint. | |
| USBD_StatusTypeDef | USBD_LL_PrepareReceive (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size) |
| Prepares an endpoint for reception. | |
| uint8_t | USBD_LL_IsStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Returns Stall condition. | |
| uint32_t | USBD_LL_GetRxDataSize (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| Returns the last transferred packet size. | |
| void | USBD_LL_Delay (uint32_t Delay) |
| Delays routine for the USB device library. | |
| void * | USBD_GetEpDesc (uint8_t *pConfDesc, uint8_t EpAddr) |
| USBD_GetEpDesc This function return the Endpoint descriptor. | |
| USBD_DescHeaderTypeDef * | USBD_GetNextDesc (uint8_t *pbuf, uint16_t *ptr) |
| USBD_GetNextDesc This function return the next descriptor header. | |
Header file for usbd_core.c file.
Copyright (c) 2015 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file usbd_core.h.