• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2   ******************************************************************************
3   * @file    stm32mp1xx_hal_spi_ex.h
4   * @author  MCD Application Team
5   * @brief   Header file of SPI HAL Extended module.
6   ******************************************************************************
7   * @attention
8   *
9   * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10   * All rights reserved.</center></h2>
11   *
12   * This software component is licensed by ST under BSD 3-Clause license,
13   * the "License"; You may not use this file except in compliance with the
14   * License. You may obtain a copy of the License at:
15   *                        opensource.org/licenses/BSD-3-Clause
16   *
17   ******************************************************************************
18   */
19 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef STM32MP1xx_HAL_SPI_EX_H
22 #define STM32MP1xx_HAL_SPI_EX_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32mp1xx_hal_def.h"
30 
31 /** @addtogroup STM32MP1xx_HAL_Driver
32   * @{
33   */
34 
35 /** @addtogroup SPIEx
36   * @{
37   */
38 
39 /* Exported types ------------------------------------------------------------*/
40 /* Exported constants --------------------------------------------------------*/
41 /* Exported macros -----------------------------------------------------------*/
42 /* Exported functions --------------------------------------------------------*/
43 /** @addtogroup SPIEx_Exported_Functions
44   * @{
45   */
46 
47 /* Initialization and de-initialization functions  ****************************/
48 /* IO operation functions *****************************************************/
49 /** @addtogroup SPIEx_Exported_Functions_Group1
50   * @{
51   */
52 HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(SPI_HandleTypeDef *hspi);
53 HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration(SPI_HandleTypeDef *hspi);
54 HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun(SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection, uint32_t UnderrunBehaviour);
55 /**
56   * @}
57   */
58 
59 /**
60   * @}
61   */
62 
63 /**
64   * @}
65   */
66 
67 /**
68   * @}
69   */
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif /* STM32MP1xx_HAL_SPI_EX_H */
76 
77 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
78