| Line | |
|---|
| 1 | /**
|
|---|
| 2 | ******************************************************************************
|
|---|
| 3 | * File Name : I2C.h
|
|---|
| 4 | * Description : This file provides code for the configuration
|
|---|
| 5 | * of the I2C instances.
|
|---|
| 6 | ******************************************************************************
|
|---|
| 7 | * @attention
|
|---|
| 8 | *
|
|---|
| 9 | * <h2><center>© Copyright (c) 2020 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 | #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 I2C_HandleTypeDef hi2c1;
|
|---|
| 34 |
|
|---|
| 35 | /* USER CODE BEGIN Private defines */
|
|---|
| 36 |
|
|---|
| 37 | /* USER CODE END Private defines */
|
|---|
| 38 |
|
|---|
| 39 | void MX_I2C1_Init(void);
|
|---|
| 40 |
|
|---|
| 41 | /* USER CODE BEGIN Prototypes */
|
|---|
| 42 |
|
|---|
| 43 | /* USER CODE END Prototypes */
|
|---|
| 44 |
|
|---|
| 45 | #ifdef __cplusplus
|
|---|
| 46 | }
|
|---|
| 47 | #endif
|
|---|
| 48 | #endif /*__ i2c_H */
|
|---|
| 49 |
|
|---|
| 50 | /**
|
|---|
| 51 | * @}
|
|---|
| 52 | */
|
|---|
| 53 |
|
|---|
| 54 | /**
|
|---|
| 55 | * @}
|
|---|
| 56 | */
|
|---|
| 57 |
|
|---|
| 58 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.