DIY Logging Volt/Ampmeter
i2c.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file i2c.h
4  * @brief This file contains all the function prototypes for
5  * the i2c.c file
6  ******************************************************************************
7  * @attention
8  *
9  * <h2><center>&copy; Copyright (c) 2021 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 __I2C_H__
21 #define __I2C_H__
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "main.h"
29 
30 /* USER CODE BEGIN Includes */
31 
32 /* USER CODE END Includes */
33 
35 
36 /* USER CODE BEGIN Private defines */
37 
38 /* USER CODE END Private defines */
39 
40 void MX_I2C1_Init(void);
41 
42 /* USER CODE BEGIN Prototypes */
43 
44 /* USER CODE END Prototypes */
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* __I2C_H__ */
51 
52 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
hi2c1
I2C_HandleTypeDef hi2c1
Definition: i2c.c:27
main.h
Main header-file for the high-precision logging voltage/current meter project.
I2C_HandleTypeDef
Definition: stm32f1xx_hal_i2c.h:188
MX_I2C1_Init
void MX_I2C1_Init(void)
Definition: i2c.c:30