Hal_Hcd_Stop; Hal_Hcd_Getstate; Hal_Hcd_Hc_Geturbstate; Hal_Hcd_Hc_Getxfercount - ST STM32F2 User Manual

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

Advertisement

UM1940
Parameters
Return values

HAL_HCD_Stop

Function name
Function description
Parameters
Return values

HAL_HCD_GetState

Function name
Function description
Parameters
Return values

HAL_HCD_HC_GetURBState

Function name
Function description
Parameters
Return values

HAL_HCD_HC_GetXferCount

Function name
Function description
Parameters
Return values
HAL_HCD_HC_GetState
Function name
Function description
hhcd: HCD handle
HAL: status
HAL_StatusTypeDef HAL_HCD_Stop (HCD_HandleTypeDef *
hhcd)
Stop the host driver.
hhcd: HCD handle
HAL: status
HCD_StateTypeDef HAL_HCD_GetState (HCD_HandleTypeDef
* hhcd)
Return the HCD handle state.
hhcd: HCD handle
HAL: state
HCD_URBStateTypeDef HAL_HCD_HC_GetURBState
(HCD_HandleTypeDef * hhcd, uint8_t chnum)
Return URB state for a channel.
hhcd: HCD handle
chnum: Channel number. This parameter can be a value
from 1 to 15
URB: state. This parameter can be one of these values:
URB_IDLE/ URB_DONE/ URB_NOTREADY/ URB_NYET/
URB_ERROR/ URB_STALL
uint32_t HAL_HCD_HC_GetXferCount (HCD_HandleTypeDef *
hhcd, uint8_t chnum)
Return the last host transfer size.
hhcd: HCD handle
chnum: Channel number. This parameter can be a value
from 1 to 15
last: transfer size in byte
HCD_HCStateTypeDef HAL_HCD_HC_GetState
(HCD_HandleTypeDef * hhcd, uint8_t chnum)
Return the Host Channel state.
DocID028236 Rev 2
HAL HCD Generic Driver
285/1371

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF