Syntax
typedef struct
#endif
{
HCD_TypeDef *Instance;
HCD_InitTypeDef Init;
HCD_HCTypeDef hc[16];
HAL_LockTypeDef Lock;
__IO HCD_StateTypeDef State;
__IO uint32_t ErrorCode;
void *pData;
#if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U)
void (* SOFCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* ConnectCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* DisconnectCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* PortEnabledCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* PortDisabledCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* HC_NotifyURBChangeCallback)(struct __HCD_HandleTypeDef *hhcd, uint8_t chnum,
HCD_URBStateTypeDef urb_state);
void (* MspInitCallback)(struct __HCD_HandleTypeDef *hhcd);
void (* MspDeInitCallback)(struct __HCD_HandleTypeDef *hhcd);
#endif
} HCD_HandleTypeDef;
Fields
Host channels parameters.
Examples
HCD_HandleTypeDef is referenced by 103 libraries and example projects: