#define STM32F4xx_HAL_PCD_H
#include "stm32f4xx_ll_usb.h"
Exported types
PCD_StateTypeDef
HAL_PCD_STATE_RESET
HAL_PCD_STATE_READY
HAL_PCD_STATE_ERROR
HAL_PCD_STATE_BUSY
HAL_PCD_STATE_TIMEOUT
PCD_LPM_StateTypeDef
LPM_L0
LPM_L1
LPM_L2
LPM_L3
PCD_LPM_MsgTypeDef
PCD_LPM_L0_ACTIVE
PCD_LPM_L1_ACTIVE
PCD_BCD_MsgTypeDef
PCD_BCD_ERROR
PCD_BCD_CONTACT_DETECTION
PCD_BCD_STD_DOWNSTREAM_PORT
PCD_BCD_CHARGING_DOWNSTREAM_PORT
PCD_BCD_DEDICATED_CHARGING_PORT
PCD_BCD_DISCOVERY_COMPLETED
PCD_TypeDef
PCD_InitTypeDef
PCD_EPTypeDef
PCD_HandleTypeDef
Instance
Init
USB_Address
IN_ep
OUT_ep
Lock
State
ErrorCode
Setup
LPM_State
BESL
FrameNumber
lpm_active
battery_charging_active
pData
#include "stm32f4xx_hal_pcd_ex.h"
Exported constants
#define PCD_SPEED_HIGH
#define PCD_SPEED_HIGH_IN_FULL
#define PCD_SPEED_FULL
#define PCD_PHY_ULPI
#define PCD_PHY_EMBEDDED
#define PCD_PHY_UTMI
#define HAL_PCD_ERROR_INVALID_CALLBACK
Exported macros
#define __HAL_PCD_ENABLE
#define __HAL_PCD_DISABLE
#define __HAL_PCD_CLEAR_FLAG
#define __HAL_PCD_IS_INVALID_INTERRUPT
#define __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT
#define __HAL_USB_OTG_HS_WAKEUP_EXTI_DISABLE_IT
#define __HAL_USB_OTG_HS_WAKEUP_EXTI_GET_FLAG
#define __HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG
#define __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT
#define __HAL_USB_OTG_FS_WAKEUP_EXTI_DISABLE_IT
#define __HAL_USB_OTG_FS_WAKEUP_EXTI_GET_FLAG
#define __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG
Exported functions
HAL_PCD_Init(PCD_HandleTypeDef *);
HAL_PCD_DeInit(PCD_HandleTypeDef *);
HAL_PCD_MspInit(PCD_HandleTypeDef *);
HAL_PCD_MspDeInit(PCD_HandleTypeDef *);
HAL_PCD_Start(PCD_HandleTypeDef *);
HAL_PCD_Stop(PCD_HandleTypeDef *);
HAL_PCD_IRQHandler(PCD_HandleTypeDef *);
HAL_PCD_WKUP_IRQHandler(PCD_HandleTypeDef *);
HAL_PCD_SOFCallback(PCD_HandleTypeDef *);
HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *);
HAL_PCD_ResetCallback(PCD_HandleTypeDef *);
HAL_PCD_SuspendCallback(PCD_HandleTypeDef *);
HAL_PCD_ResumeCallback(PCD_HandleTypeDef *);
HAL_PCD_ConnectCallback(PCD_HandleTypeDef *);
HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *);
HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_DevConnect(PCD_HandleTypeDef *);
HAL_PCD_DevDisconnect(PCD_HandleTypeDef *);
HAL_PCD_SetAddress(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_Open(PCD_HandleTypeDef *, uint8_t, uint16_t, uint8_t);
HAL_PCD_EP_Close(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_Receive(PCD_HandleTypeDef *, uint8_t, uint8_t *, uint32_t);
HAL_PCD_EP_Transmit(PCD_HandleTypeDef *, uint8_t, uint8_t *, uint32_t);
HAL_PCD_EP_SetStall(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_Flush(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_Abort(PCD_HandleTypeDef *, uint8_t);
HAL_PCD_ActivateRemoteWakeup(PCD_HandleTypeDef *);
HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *);
HAL_PCD_SetTestMode(const PCD_HandleTypeDef *, uint8_t);
HAL_PCD_EP_GetRxCount(const PCD_HandleTypeDef *, uint8_t);
HAL_PCD_GetState(const PCD_HandleTypeDef *);
Private constants
#define USB_OTG_FS_WAKEUP_EXTI_LINE
#define USB_OTG_HS_WAKEUP_EXTI_LINE
#define USB_OTG_DOEPINT_OTEPSPR
#define USB_OTG_DOEPMSK_OTEPSPRM
#define USB_OTG_DOEPINT_NAK
#define USB_OTG_DOEPMSK_NAKM
#define USB_OTG_DOEPINT_STPKTRX
#define USB_OTG_DOEPMSK_NYETM