rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* |
2 | * i2c-stm32.h | ||||
3 | * | ||||
4 | * Copyright (C) M'boumba Cedric Madianga 2017 | ||||
5 | * Author: M'boumba Cedric Madianga <cedric.madianga@gmail.com> | ||||
6 | * | ||||
7 | * License terms: GNU General Public License (GPL), version 2 | ||||
8 | */ | ||||
9 | |||||
10 | #ifndef _I2C_STM32_H | ||||
11 | #define _I2C_STM32_H | ||||
12 | |||||
13 | enum stm32_i2c_speed { | ||||
14 | STM32_I2C_SPEED_STANDARD, /* 100 kHz */ | ||||
15 | STM32_I2C_SPEED_FAST, /* 400 kHz */ | ||||
16 | STM32_I2C_SPEED_FAST_PLUS, /* 1 MHz */ | ||||
17 | STM32_I2C_SPEED_END, | ||||
18 | }; | ||||
19 | |||||
20 | #endif /* _I2C_STM32_H */ |