/** ****************************************************************************** * File Name : SPI.h * Description : This file provides code for the configuration * of the SPI instances. ****************************************************************************** ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __spi_H #define __spi_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" #include "main.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ extern SPI_HandleTypeDef hspi1; /* USER CODE BEGIN Private defines */ /* USER CODE END Private defines */ extern void _Error_Handler(char *, int); void MX_SPI1_Init(void); /* USER CODE BEGIN Prototypes */ /* USER CODE END Prototypes */ #ifdef __cplusplus } #endif #endif /*__ spi_H */ /** * @} */ /** * @} */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/