EasyManuals Logo

ST STM32F2 User Manual

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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals