STM32H735xx HAL User Manual
|
00001 /** 00002 ****************************************************************************** 00003 * @file stm32h7xx_hal_spi_ex.h 00004 * @author MCD Application Team 00005 * @brief Header file of SPI HAL Extended module. 00006 ****************************************************************************** 00007 * @attention 00008 * 00009 * Copyright (c) 2017 STMicroelectronics. 00010 * All rights reserved. 00011 * 00012 * This software is licensed under terms that can be found in the LICENSE file 00013 * in the root directory of this software component. 00014 * If no LICENSE file comes with this software, it is provided AS-IS. 00015 * 00016 ****************************************************************************** 00017 */ 00018 00019 /* Define to prevent recursive inclusion -------------------------------------*/ 00020 #ifndef STM32H7xx_HAL_SPI_EX_H 00021 #define STM32H7xx_HAL_SPI_EX_H 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 /* Includes ------------------------------------------------------------------*/ 00028 #include "stm32h7xx_hal_def.h" 00029 00030 /** @addtogroup STM32H7xx_HAL_Driver 00031 * @{ 00032 */ 00033 00034 /** @addtogroup SPIEx 00035 * @{ 00036 */ 00037 00038 /* Exported types ------------------------------------------------------------*/ 00039 /** @defgroup SPIEx_Exported_Types SPIEx Exported Types 00040 * @{ 00041 */ 00042 00043 /** 00044 * @} 00045 */ 00046 00047 /* Exported constants --------------------------------------------------------*/ 00048 /** @defgroup SPIEx_Exported_Constants SPIEx Exported Constants 00049 * @{ 00050 */ 00051 00052 /** 00053 * @} 00054 */ 00055 00056 /* Exported macros -----------------------------------------------------------*/ 00057 /** @defgroup SPIEx_Exported_Macros SPIEx Extended Exported Macros 00058 * @{ 00059 */ 00060 00061 /** 00062 * @} 00063 */ 00064 00065 /* Exported functions --------------------------------------------------------*/ 00066 /** @addtogroup SPIEx_Exported_Functions 00067 * @{ 00068 */ 00069 00070 /* Initialization and de-initialization functions ****************************/ 00071 /* IO operation functions *****************************************************/ 00072 /** @addtogroup SPIEx_Exported_Functions_Group1 00073 * @{ 00074 */ 00075 HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(SPI_HandleTypeDef *hspi); 00076 HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration(SPI_HandleTypeDef *hspi); 00077 HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun(SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection, 00078 uint32_t UnderrunBehaviour); 00079 /** 00080 * @} 00081 */ 00082 /** 00083 * @} 00084 */ 00085 00086 /** 00087 * @} 00088 */ 00089 00090 /** 00091 * @} 00092 */ 00093 00094 00095 #ifdef __cplusplus 00096 } 00097 #endif 00098 00099 #endif /* STM32H7xx_HAL_SPI_EX_H */