Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:36

0001 /**
0002   ******************************************************************************
0003   * @file    stm32h7xx_hal_spi_ex.h
0004   * @author  MCD Application Team
0005   * @brief   Header file of SPI HAL Extended 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_SPI_EX_H
0021 #define STM32H7xx_HAL_SPI_EX_H
0022 
0023 #ifdef __cplusplus
0024 extern "C" {
0025 #endif
0026 
0027 /* Includes ------------------------------------------------------------------*/
0028 #include "stm32h7xx_hal_def.h"
0029 
0030 /** @addtogroup STM32H7xx_HAL_Driver
0031   * @{
0032   */
0033 
0034 /** @addtogroup SPIEx
0035   * @{
0036   */
0037 
0038 /* Exported types ------------------------------------------------------------*/
0039 /** @defgroup SPIEx_Exported_Types SPIEx Exported Types
0040   * @ingroup RTEMSBSPsARMSTM32H7
0041   * @{
0042   */
0043 
0044 /**
0045   * @}
0046   */
0047 
0048 /* Exported constants --------------------------------------------------------*/
0049 /** @defgroup SPIEx_Exported_Constants SPIEx Exported Constants
0050   * @ingroup RTEMSBSPsARMSTM32H7
0051   * @{
0052   */
0053 
0054 /**
0055   * @}
0056   */
0057 
0058 /* Exported macros -----------------------------------------------------------*/
0059 /** @defgroup SPIEx_Exported_Macros SPIEx Extended Exported Macros
0060   * @ingroup RTEMSBSPsARMSTM32H7
0061   * @{
0062   */
0063 
0064 /**
0065   * @}
0066   */
0067 
0068 /* Exported functions --------------------------------------------------------*/
0069 /** @addtogroup SPIEx_Exported_Functions
0070   * @{
0071   */
0072 
0073 /* Initialization and de-initialization functions  ****************************/
0074 /* IO operation functions *****************************************************/
0075 /** @addtogroup SPIEx_Exported_Functions_Group1
0076   * @{
0077   */
0078 HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi);
0079 HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration(SPI_HandleTypeDef *hspi);
0080 HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun(SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection,
0081                                               uint32_t UnderrunBehaviour);
0082 /**
0083   * @}
0084   */
0085 /**
0086   * @}
0087   */
0088 
0089 /**
0090   * @}
0091   */
0092 
0093 /**
0094   * @}
0095   */
0096 
0097 
0098 #ifdef __cplusplus
0099 }
0100 #endif
0101 
0102 #endif /* STM32H7xx_HAL_SPI_EX_H */