RTEMS 6.1-rc7
Loading...
Searching...
No Matches
stm32h7xx_hal_pcd_ex.h
Go to the documentation of this file.
1
19/* Define to prevent recursive inclusion -------------------------------------*/
20#ifndef STM32H7xx_HAL_PCD_EX_H
21#define STM32H7xx_HAL_PCD_EX_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif /* __cplusplus */
26
27/* Includes ------------------------------------------------------------------*/
28#include "stm32h7xx_hal_def.h"
29
30#if defined (USB_OTG_FS) || defined (USB_OTG_HS)
38/* Exported types ------------------------------------------------------------*/
39/* Exported constants --------------------------------------------------------*/
40/* Exported macros -----------------------------------------------------------*/
41/* Exported functions --------------------------------------------------------*/
49#if defined (USB_OTG_FS) || defined (USB_OTG_HS)
50HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size);
51HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size);
52#endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
53
54
55HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd);
56HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd);
57
58
59HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd);
60HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd);
61void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd);
62
63void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
64void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg);
65
81#endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
82
83#ifdef __cplusplus
84}
85#endif /* __cplusplus */
86
87
88#endif /* STM32H7xx_HAL_PCD_EX_H */
This file contains HAL common defines, enumeration, macros and structures definitions.
HAL_StatusTypeDef
HAL Status structures definition.
Definition: stm32h7xx_hal_def.h:47
Definition: b1553brm.c:94