Hal_Pcd_Ep_Getrxcount; Hal_Pcd_Ep_Setstall; Hal_Pcd_Ep_Clrstall; Hal_Pcd_Ep_Flush - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF