Functions | Variables
usbd_req.c File Reference

This file provides the standard USB requests following chapter 9. More...

#include "usbd_req.h"
#include "usbd_ioreq.h"
#include "usbd_desc.h"
Include dependency graph for usbd_req.c:

Go to the source code of this file.

Functions

static void USBD_ClrFeature (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_ClrFeature Handle clear device feature request. More...
 
void USBD_CtlError (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_CtlError Handle USB low level Error. More...
 
static void USBD_GetConfig (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_GetConfig Handle Get device configuration request. More...
 
static void USBD_GetDescriptor (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_GetDescriptor Handle Get Descriptor requests. More...
 
static uint8_t USBD_GetLen (uint8_t *buf)
 USBD_GetLen return the string length. More...
 
static void USBD_GetStatus (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_GetStatus Handle Get Status request. More...
 
void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len)
 USBD_GetString Convert Ascii string into unicode one. More...
 
void USBD_ParseSetupRequest (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_ParseSetupRequest Copy buffer into setup structure. More...
 
static void USBD_SetAddress (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_SetAddress Set device address. More...
 
static void USBD_SetConfig (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_SetConfig Handle Set device configuration request. More...
 
static void USBD_SetFeature (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_SetFeature Handle Set device feature request. More...
 
USBD_Status USBD_StdDevReq (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_StdDevReq Handle standard usb device requests. More...
 
USBD_Status USBD_StdEPReq (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_StdEPReq Handle standard usb endpoint requests. More...
 
USBD_Status USBD_StdItfReq (USB_OTG_CORE_HANDLE *pdev, USB_SETUP_REQ *req)
 USBD_StdItfReq Handle standard usb interface requests. More...
 

Variables

__ALIGN_BEGIN uint32_t USBD_ep_status __ALIGN_END = 0
 
__IO USB_OTG_DCTL_TypeDef SET_TEST_MODE
 

Detailed Description

This file provides the standard USB requests following chapter 9.

Author
MCD Application Team
Version
V1.2.0
Date
09-November-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.

Definition in file usbd_req.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:53