![]() |
|
|||
File indexing completed on 2025-05-11 08:23:36
0001 /** 0002 ****************************************************************************** 0003 * @file stm32h7xx_hal_pcd_ex.h 0004 * @author MCD Application Team 0005 * @brief Header file of PCD HAL Extension module. 0006 ****************************************************************************** 0007 * @attention 0008 * 0009 * Copyright (c) 2017 STMicroelectronics. 0010 * All rights reserved. 0011 * 0012 * This software is licensed under terms that can be found in the LICENSE file 0013 * in the root directory of this software component. 0014 * If no LICENSE file comes with this software, it is provided AS-IS. 0015 * 0016 ****************************************************************************** 0017 */ 0018 0019 /* Define to prevent recursive inclusion -------------------------------------*/ 0020 #ifndef STM32H7xx_HAL_PCD_EX_H 0021 #define STM32H7xx_HAL_PCD_EX_H 0022 0023 #ifdef __cplusplus 0024 extern "C" { 0025 #endif /* __cplusplus */ 0026 0027 /* Includes ------------------------------------------------------------------*/ 0028 #include "stm32h7xx_hal_def.h" 0029 0030 #if defined (USB_OTG_FS) || defined (USB_OTG_HS) 0031 /** @addtogroup STM32H7xx_HAL_Driver 0032 * @{ 0033 */ 0034 0035 /** @addtogroup PCDEx 0036 * @{ 0037 */ 0038 /* Exported types ------------------------------------------------------------*/ 0039 /* Exported constants --------------------------------------------------------*/ 0040 /* Exported macros -----------------------------------------------------------*/ 0041 /* Exported functions --------------------------------------------------------*/ 0042 /** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions 0043 * @{ 0044 */ 0045 /** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions 0046 * @{ 0047 */ 0048 0049 #if defined (USB_OTG_FS) || defined (USB_OTG_HS) 0050 HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size); 0051 HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size); 0052 #endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */ 0053 0054 0055 HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd); 0056 HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd); 0057 0058 0059 HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd); 0060 HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd); 0061 void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd); 0062 0063 void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg); 0064 void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg); 0065 0066 /** 0067 * @} 0068 */ 0069 0070 /** 0071 * @} 0072 */ 0073 0074 /** 0075 * @} 0076 */ 0077 0078 /** 0079 * @} 0080 */ 0081 #endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */ 0082 0083 #ifdef __cplusplus 0084 } 0085 #endif /* __cplusplus */ 0086 0087 0088 #endif /* STM32H7xx_HAL_PCD_EX_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |