STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
PCD Private Functions
Collaboration diagram for PCD Private Functions:

Functions

static HAL_StatusTypeDef PCD_WriteEmptyTxFifo (PCD_HandleTypeDef *hpcd, uint32_t epnum)
 Check FIFO for the next packet to be loaded.
 
static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int (PCD_HandleTypeDef *hpcd, uint32_t epnum)
 process EP OUT transfer complete interrupt.
 
static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int (PCD_HandleTypeDef *hpcd, uint32_t epnum)
 process EP OUT setup packet received interrupt.
 

Detailed Description

Function Documentation

◆ PCD_WriteEmptyTxFifo()

static HAL_StatusTypeDef PCD_WriteEmptyTxFifo ( PCD_HandleTypeDef * hpcd,
uint32_t epnum )
static

#include <stm32f4xx_hal_pcd.c>

Check FIFO for the next packet to be loaded.

Parameters
hpcdPCD handle
epnumendpoint number
Return values
HALstatus

Definition at line 2181 of file stm32f4xx_hal_pcd.c.

References HAL_ERROR, HAL_OK, PCD_HandleTypeDef::IN_ep, PCD_HandleTypeDef::Init, and PCD_HandleTypeDef::Instance.

Referenced by HAL_PCD_IRQHandler().

◆ PCD_EP_OutXfrComplete_int()

static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int ( PCD_HandleTypeDef * hpcd,
uint32_t epnum )
static

#include <stm32f4xx_hal_pcd.c>

process EP OUT transfer complete interrupt.

Parameters
hpcdPCD handle
epnumendpoint number
Return values
HALstatus

Definition at line 2241 of file stm32f4xx_hal_pcd.c.

References HAL_OK, HAL_PCD_DataOutStageCallback(), PCD_HandleTypeDef::Init, PCD_HandleTypeDef::Instance, PCD_HandleTypeDef::OUT_ep, PCD_HandleTypeDef::Setup, USB_OTG_DOEPINT_OTEPSPR, and USB_OTG_DOEPINT_STPKTRX.

Referenced by HAL_PCD_IRQHandler().

◆ PCD_EP_OutSetupPacket_int()

static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int ( PCD_HandleTypeDef * hpcd,
uint32_t epnum )
static

#include <stm32f4xx_hal_pcd.c>

process EP OUT setup packet received interrupt.

Parameters
hpcdPCD handle
epnumendpoint number
Return values
HALstatus

Definition at line 2353 of file stm32f4xx_hal_pcd.c.

References HAL_OK, HAL_PCD_SetupStageCallback(), PCD_HandleTypeDef::Init, PCD_HandleTypeDef::Instance, PCD_HandleTypeDef::Setup, and USB_OTG_DOEPINT_STPKTRX.

Referenced by HAL_PCD_IRQHandler().