STM32F4xx HAL Driver
master
STM32CubeF4 HAL / LL Drivers API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
stm32f4xx_hal_pcd_ex.h
Go to the documentation of this file.
1
18
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
#ifndef STM32F4xx_HAL_PCD_EX_H
21
#define STM32F4xx_HAL_PCD_EX_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
/* __cplusplus */
26
27
/* Includes ------------------------------------------------------------------*/
28
#include "
stm32f4xx_hal_def.h
"
29
30
#if defined (USB_OTG_FS) || defined (USB_OTG_HS)
34
38
/* Exported types ------------------------------------------------------------*/
39
/* Exported constants --------------------------------------------------------*/
40
/* Exported macros -----------------------------------------------------------*/
41
/* Exported functions --------------------------------------------------------*/
48
#if defined (USB_OTG_FS) || defined (USB_OTG_HS)
49
HAL_StatusTypeDef
HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size);
50
HAL_StatusTypeDef
HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size);
51
#endif
/* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
52
53
#if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) \
54
|| defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) \
55
|| defined(STM32F423xx)
56
HAL_StatusTypeDef
HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd);
57
HAL_StatusTypeDef
HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd);
58
#endif
/* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) ||
59
defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) ||
60
defined(STM32F423xx) */
61
#if defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) \
62
|| defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx)
63
HAL_StatusTypeDef
HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd);
64
HAL_StatusTypeDef
HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd);
65
void
HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd);
66
#endif
/* defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) ||
67
defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */
68
void
HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
69
void
HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg);
70
74
78
82
86
#endif
/* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
87
88
#ifdef __cplusplus
89
}
90
#endif
/* __cplusplus */
91
92
93
#endif
/* STM32F4xx_HAL_PCD_EX_H */
stm32f4xx_hal_def.h
This file contains HAL common defines, enumeration, macros and structures definitions.
HAL_StatusTypeDef
HAL_StatusTypeDef
HAL Status structures definition.
Definition
stm32f4xx_hal_def.h:39
hal-driver
Inc
stm32f4xx_hal_pcd_ex.h
Generated by
1.17.0