HAL PCD Generic Driver
HAL_PCD_EP_GetRxCount
Function name
Function description
Parameters
Return values
HAL_PCD_EP_SetStall
Function name
Function description
Parameters
Return values
HAL_PCD_EP_ClrStall
Function name
Function description
Parameters
Return values
HAL_PCD_EP_Flush
Function name
Function description
Parameters
Return values
HAL_PCD_ActivateRemoteWakeup
Function name
Function description
Parameters
Return values
400/1371
uint16_t HAL_PCD_EP_GetRxCount (PCD_HandleTypeDef *
hpcd, uint8_t ep_addr)
Get Received Data Size.
hpcd: PCD handle
ep_addr: endpoint address
Data: Size
HAL_StatusTypeDef HAL_PCD_EP_SetStall
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr)
Set a STALL condition over an endpoint.
hpcd: PCD handle
ep_addr: endpoint address
HAL: status
HAL_StatusTypeDef HAL_PCD_EP_ClrStall
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr)
Clear a STALL condition over in an endpoint.
hpcd: PCD handle
ep_addr: endpoint address
HAL: status
HAL_StatusTypeDef HAL_PCD_EP_Flush
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr)
Flush an endpoint.
hpcd: PCD handle
ep_addr: endpoint address
HAL: status
HAL_StatusTypeDef HAL_PCD_ActivateRemoteWakeup
(PCD_HandleTypeDef * hpcd)
Activate remote wakeup signalling.
hpcd: PCD handle
HAL: status
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers