xref: /btstack/port/stm32-f4discovery-cc256x/Inc/spi.h (revision 225f4ba4fe806afeda1ee8519bb5f4a8ce540af2)
1 /**
2   ******************************************************************************
3   * File Name          : SPI.h
4   * Description        : This file provides code for the configuration
5   *                      of the SPI instances.
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 /* Define to prevent recursive inclusion -------------------------------------*/
20 #ifndef __spi_H
21 #define __spi_H
22 #ifdef __cplusplus
23  extern "C" {
24 #endif
25 
26 /* Includes ------------------------------------------------------------------*/
27 #include "main.h"
28 
29 /* USER CODE BEGIN Includes */
30 
31 /* USER CODE END Includes */
32 
33 extern SPI_HandleTypeDef hspi1;
34 
35 /* USER CODE BEGIN Private defines */
36 
37 /* USER CODE END Private defines */
38 
39 void MX_SPI1_Init(void);
40 
41 /* USER CODE BEGIN Prototypes */
42 
43 /* USER CODE END Prototypes */
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 #endif /*__ spi_H */
49 
50 /**
51   * @}
52   */
53 
54 /**
55   * @}
56   */
57 
58 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
59