Prusa MINI Firmware overview
usbd_core.c File Reference

This file provides all the USBD core functions. More...

#include "usbd_core.h"

Functions

USBD_StatusTypeDef USBD_Init (USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id)
 USBD_Init Initializes the device stack and load the class driver. More...
 
USBD_StatusTypeDef USBD_DeInit (USBD_HandleTypeDef *pdev)
 USBD_DeInit Re-Initialize th device library. More...
 
USBD_StatusTypeDef USBD_RegisterClass (USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass)
 USBD_RegisterClass Link class driver to Device Core. More...
 
USBD_StatusTypeDef USBD_Start (USBD_HandleTypeDef *pdev)
 USBD_Start Start the USB Device Core. More...
 
USBD_StatusTypeDef USBD_Stop (USBD_HandleTypeDef *pdev)
 USBD_Stop Stop the USB Device Core. More...
 
USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev)
 USBD_RunTestMode Launch test mode process. More...
 
USBD_StatusTypeDef USBD_SetClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 USBD_SetClassConfig Configure device and start the interface. More...
 
USBD_StatusTypeDef USBD_ClrClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 USBD_ClrClassConfig Clear current configuration. More...
 
USBD_StatusTypeDef USBD_LL_SetupStage (USBD_HandleTypeDef *pdev, uint8_t *psetup)
 USBD_SetupStage Handle the setup stage. More...
 
USBD_StatusTypeDef USBD_LL_DataOutStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata)
 USBD_DataOutStage Handle data OUT stage. More...
 
USBD_StatusTypeDef USBD_LL_DataInStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata)
 USBD_DataInStage Handle data in stage. More...
 
USBD_StatusTypeDef USBD_LL_Reset (USBD_HandleTypeDef *pdev)
 USBD_LL_Reset Handle Reset event. More...
 
USBD_StatusTypeDef USBD_LL_SetSpeed (USBD_HandleTypeDef *pdev, USBD_SpeedTypeDef speed)
 USBD_LL_Reset Handle Reset event. More...
 
USBD_StatusTypeDef USBD_LL_Suspend (USBD_HandleTypeDef *pdev)
 USBD_Suspend Handle Suspend event. More...
 
USBD_StatusTypeDef USBD_LL_Resume (USBD_HandleTypeDef *pdev)
 USBD_Resume Handle Resume event. More...
 
USBD_StatusTypeDef USBD_LL_SOF (USBD_HandleTypeDef *pdev)
 USBD_SOF Handle SOF event. More...
 
USBD_StatusTypeDef USBD_LL_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum)
 USBD_IsoINIncomplete Handle iso in incomplete event. More...
 
USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum)
 USBD_IsoOUTIncomplete Handle iso out incomplete event. More...
 
USBD_StatusTypeDef USBD_LL_DevConnected (USBD_HandleTypeDef *pdev)
 USBD_DevConnected Handle device connection event. More...
 
USBD_StatusTypeDef USBD_LL_DevDisconnected (USBD_HandleTypeDef *pdev)
 USBD_DevDisconnected Handle device disconnection event. More...
 

Detailed Description

This file provides all the USBD core functions.

Author
MCD Application Team
Version
V2.4.2
Date
11-December-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.