STM32L443xx HAL User Manual
|
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. |
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.
hpcd | PCD handle |
ep | current endpoint handle |
wEPVal | Last snapshot of EPRx register value taken in ISR |
HAL | status |
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.
hpcd | PCD handle |
ep | current endpoint handle |
wEPVal | Last snapshot of EPRx register value taken in ISR |
HAL | status |
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] |
This function handles PCD Endpoint interrupt request.
hpcd | PCD handle |
HAL | status |
Definition at line 2338 of file stm32l4xx_hal_pcd.c.
References __PCD_HandleTypeDef::DataInStageCallback, __PCD_HandleTypeDef::DataOutStageCallback, HAL_PCD_DataInStageCallback(), HAL_PCD_DataOutStageCallback(), HAL_PCD_EP_DB_Receive(), HAL_PCD_EP_DB_Transmit(), HAL_PCD_SetupStageCallback(), __PCD_HandleTypeDef::IN_ep, __PCD_HandleTypeDef::Instance, __PCD_HandleTypeDef::OUT_ep, PCD_CLEAR_RX_EP_CTR, PCD_CLEAR_TX_EP_CTR, PCD_ENDP0, PCD_FREE_USER_BUFFER, PCD_GET_ENDPOINT, PCD_GET_EP_DBUF0_CNT, PCD_GET_EP_DBUF1_CNT, PCD_GET_EP_RX_CNT, PCD_GET_EP_TX_CNT, PCD_SET_EP_DBUF0_CNT, PCD_SET_EP_DBUF1_CNT, PCD_SET_EP_RX_CNT, PCD_SET_EP_RX_STATUS, __PCD_HandleTypeDef::Setup, __PCD_HandleTypeDef::SetupStageCallback, and __PCD_HandleTypeDef::USB_Address.
Referenced by HAL_PCD_IRQHandler().