Skip to content
Commit c79c0d7c authored by Francois Ramu's avatar Francois Ramu Committed by Carles Cufi
Browse files

drivers: i2c: stm32 driver has get_config api



Add the get_config API to the stm32 I2C driver.
It will return the value of the Clock  Control register for i2C V1 bus
or the TIMING register for the I2C V2 bus.
This is hold by a i2c_config_timing structure of the device data
Add a bool to check if the I2C is configured or not.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent 3d9b6bb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment