forked from u-blox/ubxlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi2c_timing_utility.h
29 lines (25 loc) · 1.11 KB
/
i2c_timing_utility.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
******************************************************************************
* @file I2C/I2C_TwoBoards_ComPolling/Inc/i2c_timing_utility.h
* @author MCD Application Team
* @brief Header of i2c_timing_utility.c
******************************************************************************
* @attention
*
* Copyright (c) 2021 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __I2C_TIMING_UTILITY_H
#define __I2C_TIMING_UTILITY_H
/* Includes ------------------------------------------------------------------*/
#include "stm32u5xx_hal.h"
/* Exported functions ------------------------------------------------------- */
uint32_t I2C_GetTiming(uint32_t clock_src_freq, uint32_t i2c_freq);
#endif /* __I2C_TIMING_UTILITY_H */