usb_dcd.c File Reference

Peripheral Device Interface Layer. More...

#include "usb_dcd.h"
#include "usb_bsp.h"
Include dependency graph for usb_dcd.c:

Go to the source code of this file.


void DCD_DevConnect (USB_OTG_CORE_HANDLE *pdev)
 Connect device (enable internal pull-up) More...
void DCD_DevDisconnect (USB_OTG_CORE_HANDLE *pdev)
 Disconnect device (disable internal pull-up) More...
uint32_t DCD_EP_Close (USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr)
 called when an EP is disabled More...
uint32_t DCD_EP_ClrStall (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 Clear stall condition on endpoints. More...
uint32_t DCD_EP_Flush (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 This Function flushes the FIFOs. More...
uint32_t DCD_EP_Open (USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_type)
 Configure an EP. More...
uint32_t DCD_EP_PrepareRx (USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t buf_len)
 DCD_EP_PrepareRx. More...
void DCD_EP_SetAddress (USB_OTG_CORE_HANDLE *pdev, uint8_t address)
 This Function set USB device address. More...
uint32_t DCD_EP_Stall (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 Stall an endpoint. More...
uint32_t DCD_EP_Tx (USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t buf_len)
 Transmit data over USB. More...
uint32_t DCD_GetEPStatus (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 returns the EP Status More...
void DCD_Init (USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID)
void DCD_SetEPStatus (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum, uint32_t Status)
 Set the EP Status. More...

Detailed Description

Peripheral Device Interface Layer.

MCD Application Team

© 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:

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 usb_dcd.c.

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