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:
Kumar Gala <kumar.gala@linaro.org>
Loading
Please sign in to comment