STM32L443xx HAL User Manual
Functions
PCD Private Functions
PCD

Functions

static HAL_StatusTypeDef PCD_EP_ISR_Handler (PCD_HandleTypeDef *hpcd)
 This function handles PCD Endpoint interrupt request.
static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit (PCD_HandleTypeDef *hpcd, PCD_EPTypeDef *ep, uint16_t wEPVal)
 Manage double buffer bulk IN transaction from ISR.
static uint16_t HAL_PCD_EP_DB_Receive (PCD_HandleTypeDef *hpcd, PCD_EPTypeDef *ep, uint16_t wEPVal)
 Manage double buffer bulk out transaction from ISR.

Function Documentation

static uint16_t HAL_PCD_EP_DB_Receive ( PCD_HandleTypeDef hpcd,
PCD_EPTypeDef ep,
uint16_t  wEPVal 
) [static]

Manage double buffer bulk out transaction from ISR.

Parameters:
hpcdPCD handle
epcurrent endpoint handle
wEPValLast snapshot of EPRx register value taken in ISR
Return values:
HALstatus

Definition at line 2611 of file stm32l4xx_hal_pcd.c.

References __PCD_HandleTypeDef::Instance, PCD_FREE_USER_BUFFER, PCD_GET_EP_DBUF0_CNT, PCD_GET_EP_DBUF1_CNT, and PCD_SET_EP_RX_STATUS.

Referenced by PCD_EP_ISR_Handler().

static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit ( PCD_HandleTypeDef hpcd,
PCD_EPTypeDef ep,
uint16_t  wEPVal 
) [static]

Manage double buffer bulk IN transaction from ISR.

Parameters:
hpcdPCD handle
epcurrent endpoint handle
wEPValLast snapshot of EPRx register value taken in ISR
Return values:
HALstatus

Definition at line 2692 of file stm32l4xx_hal_pcd.c.

References __PCD_HandleTypeDef::DataInStageCallback, HAL_PCD_DataInStageCallback(), __PCD_HandleTypeDef::Instance, PCD_FREE_USER_BUFFER, PCD_GET_EP_DBUF0_CNT, PCD_GET_EP_DBUF1_CNT, PCD_SET_EP_DBUF0_CNT, PCD_SET_EP_DBUF1_CNT, and PCD_SET_EP_TX_STATUS.

Referenced by PCD_EP_ISR_Handler().

static HAL_StatusTypeDef PCD_EP_ISR_Handler ( PCD_HandleTypeDef hpcd) [static]