Skip to content
Commit 9935581d authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

i2c: Add helper function to map from bitrate values to zephyr cfg



Add _i2c_map_dt_bitrate() that maps from a bitrate to the I2C zephyr
cfg bit fields used in i2c_configure().

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 670fc323
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment