Yuliya Smirnova / ADE7912

Dependents:   h7adc

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers spi.h Source File

spi.h

00001 /**
00002   ******************************************************************************
00003   * File Name          : SPI.h
00004   * Description        : This file provides code for the configuration
00005   *                      of the SPI instances.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
00010   * All rights reserved.</center></h2>
00011   *
00012   * This software component is licensed by ST under Ultimate Liberty license
00013   * SLA0044, the "License"; You may not use this file except in compliance with
00014   * the License. You may obtain a copy of the License at:
00015   *                             www.st.com/SLA0044
00016   *
00017   ******************************************************************************
00018   */
00019 /* Define to prevent recursive inclusion -------------------------------------*/
00020 #ifndef __spi_H
00021 #define __spi_H
00022 #ifdef __cplusplus
00023  extern "C" {
00024 #endif
00025 
00026 /* Includes ------------------------------------------------------------------*/
00027 #include "main.h"
00028 
00029 /* USER CODE BEGIN Includes */
00030 
00031 /* USER CODE END Includes */
00032 
00033 extern SPI_HandleTypeDef hspi1;
00034 
00035 /* USER CODE BEGIN Private defines */
00036 
00037 /* USER CODE END Private defines */
00038 
00039 void MX_SPI1_Init(void);
00040 
00041 /* USER CODE BEGIN Prototypes */
00042 
00043 /* USER CODE END Prototypes */
00044 
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 #endif /*__ spi_H */
00049 
00050 /**
00051   * @}
00052   */
00053 
00054 /**
00055   * @}
00056   */
00057 
00058 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
00059