rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
usbd_bulk.c File Reference

Detailed Description

This file provides the high layer firmware functions to manage a USB bulk device.

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.

Definition in file usbd_bulk.c.

Functions

void UsbReceivePipeBulkOUT (uint8_t epnum)
 
void UsbTransmitPipeBulkIN (void)
 
static uint8_t USBD_Bulk_Init (USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 USBD_Bulk_Init Initialize the Bulk interface.
 
static uint8_t USBD_Bulk_DeInit (USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 USBD_Bulk_DeInit DeInitialize the Bulk layer.
 
static uint8_t USBD_Bulk_Setup (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
 USBD_Bulk_Setup Handle the bulk specific requests.
 
static uint8_t USBD_Bulk_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum)
 USBD_Bulk_DataIn Data sent on non-control IN endpoint.
 
static uint8_t USBD_Bulk_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum)
 USBD_Bulk_DataOut Data received on non-control Out endpoint.
 
static uint8_t USBD_Bulk_SOF (USBD_HandleTypeDef *pdev)
 USBD_Bulk_SOF Start Of Frame event management.
 
static uint8_t * USBD_Bulk_GetFSCfgDesc (uint16_t *length)
 USBD_Bulk_GetFSCfgDesc Return configuration descriptor.
 
uint8_t * USBD_Bulk_GetDeviceQualifierDescriptor (uint16_t *length)
 DeviceQualifierDescriptor return Device Qualifier descriptor.
 
uint8_t * USBD_Bulk_GetRxBufferPtr (void)
 USBD_Bulk_GetRxBufferPtr.
 

Variables

static __ALIGN_BEGIN uint8_t USBD_Bulk_DeviceQualifierDesc[USB_LEN_DEV_QUALIFIER_DESC] __ALIGN_END
 
USBD_ClassTypeDef USBD_Bulk
 

Go to the source code of this file.