This file provides all the USBD core functions. More...
#include "usbd_core.h"
#include "usbd_req.h"
#include "usbd_ioreq.h"
#include "usb_dcd_int.h"
#include "usb_bsp.h"
Go to the source code of this file.
Functions | |
USBD_Status | USBD_ClrCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_ClrCfg Clear current configuration. More... | |
static uint8_t | USBD_DataInStage (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum) |
USBD_DataInStage Handle data in stage. More... | |
static uint8_t | USBD_DataOutStage (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum) |
USBD_DataOutStage Handle data out stage. More... | |
USBD_Status | USBD_DeInit (USB_OTG_CORE_HANDLE *pdev) |
USBD_DeInit Re-Initialize the device library. More... | |
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. More... | |
static uint8_t | USBD_IsoINIncomplete (USB_OTG_CORE_HANDLE *pdev) |
USBD_IsoINIncomplete Handle iso in incomplete event. More... | |
static uint8_t | USBD_IsoOUTIncomplete (USB_OTG_CORE_HANDLE *pdev) |
USBD_IsoOUTIncomplete Handle iso out incomplete event. More... | |
static uint8_t | USBD_Reset (USB_OTG_CORE_HANDLE *pdev) |
USBD_Reset Handle Reset event. More... | |
static uint8_t | USBD_Resume (USB_OTG_CORE_HANDLE *pdev) |
USBD_Resume Handle Resume event. More... | |
static uint8_t | USBD_RunTestMode (USB_OTG_CORE_HANDLE *pdev) |
USBD_RunTestMode Launch test mode process. More... | |
USBD_Status | USBD_SetCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_SetCfg Configure device and start the interface. More... | |
static uint8_t | USBD_SetupStage (USB_OTG_CORE_HANDLE *pdev) |
USBD_SetupStage Handle the setup stage. More... | |
static uint8_t | USBD_SOF (USB_OTG_CORE_HANDLE *pdev) |
USBD_SOF Handle SOF event. More... | |
static uint8_t | USBD_Suspend (USB_OTG_CORE_HANDLE *pdev) |
USBD_Suspend Handle Suspend event. More... | |
Variables | |
__IO USB_OTG_DCTL_TypeDef | SET_TEST_MODE |
USBD_DCD_INT_cb_TypeDef | USBD_DCD_INT_cb |
USBD_DCD_INT_cb_TypeDef * | USBD_DCD_INT_fops = &USBD_DCD_INT_cb |
This file provides all the USBD core functions.
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.
Definition in file usbd_core.c.