Hal_Hcd_Mspdeinit; Hal_Hcd_Hc_Submitrequest; Hal_Hcd_Irqhandler; Hal_Hcd_Sof_Callback - ST STM32F2 User Manual

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

Advertisement

UM1940
Function description
Parameters
Return values

HAL_HCD_MspDeInit

Function name
Function description
Parameters
Return values

HAL_HCD_HC_SubmitRequest

Function name
Function description
Parameters
Return values

HAL_HCD_IRQHandler

Function name
Function description
Parameters
Return values

HAL_HCD_SOF_Callback

Function name
Function description
Initialize the HCD MSP.
hhcd: HCD handle
None:
void HAL_HCD_MspDeInit (HCD_HandleTypeDef * hhcd)
DeInitialize the HCD MSP.
hhcd: HCD handle
None:
HAL_StatusTypeDef HAL_HCD_HC_SubmitRequest
(HCD_HandleTypeDef * hhcd, uint8_t ch_num, uint8_t
direction, uint8_t ep_type, uint8_t token, uint8_t * pbuff,
uint16_t length, uint8_t do_ping)
Submit a new URB for processing.
hhcd: HCD handle
ch_num: Channel number. This parameter can be a value
from 1 to 15
direction: Channel number. This parameter can be one of
these values: 0 : Output / 1 : Input
ep_type: Endpoint Type. This parameter can be one of these
values: EP_TYPE_CTRL: Control type/ EP_TYPE_ISOC:
Isochronous type/ EP_TYPE_BULK: Bulk type/
EP_TYPE_INTR: Interrupt type/
token: Endpoint Type. This parameter can be one of these
values: 0: HC_PID_SETUP / 1: HC_PID_DATA1
pbuff: pointer to URB data
length: Length of URB data
do_ping: activate do ping protocol (for high speed only). This
parameter can be one of these values: 0 : do ping inactive / 1
: do ping active
HAL: status
void HAL_HCD_IRQHandler (HCD_HandleTypeDef * hhcd)
Handle HCD interrupt request.
hhcd: HCD handle
None:
void HAL_HCD_SOF_Callback (HCD_HandleTypeDef * hhcd)
SOF callback.
DocID028236 Rev 2
HAL HCD Generic Driver
283/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?

Questions and answers

Table of Contents

Save PDF