Home
last modified time | relevance | path

Searched refs:bus_freq (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Di2c_ll.h116 static inline void i2c_ll_cal_bus_clk(uint32_t source_clk, uint32_t bus_freq, i2c_clk_cal_t *clk_ca… in i2c_ll_cal_bus_clk() argument
118 uint32_t clkm_div = source_clk / (bus_freq * 1024) +1; in i2c_ll_cal_bus_clk()
120 uint32_t half_cycle = sclk_freq / bus_freq / 2; in i2c_ll_cal_bus_clk()
125 …int scl_wait_high = (bus_freq <= 50000) ? 0 : (half_cycle / 8); // compensate the time when freq >… in i2c_ll_cal_bus_clk()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Di2c_ll.h111 static inline void i2c_ll_cal_bus_clk(uint32_t source_clk, uint32_t bus_freq, i2c_clk_cal_t *clk_ca… in i2c_ll_cal_bus_clk() argument
113 uint32_t clkm_div = source_clk / (bus_freq * 1024) +1; in i2c_ll_cal_bus_clk()
115 uint32_t half_cycle = sclk_freq / bus_freq / 2; in i2c_ll_cal_bus_clk()
120 clk_cal->scl_high = (bus_freq <= 50000) ? half_cycle : (half_cycle / 5 * 4 + 4); in i2c_ll_cal_bus_clk()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Di2c_ll.h120 static inline void i2c_ll_cal_bus_clk(uint32_t source_clk, uint32_t bus_freq, i2c_clk_cal_t *clk_ca… in i2c_ll_cal_bus_clk() argument
122 uint32_t clkm_div = source_clk / (bus_freq * 1024) +1; in i2c_ll_cal_bus_clk()
124 uint32_t half_cycle = sclk_freq / bus_freq / 2; in i2c_ll_cal_bus_clk()
129 …int scl_wait_high = (bus_freq <= 50000) ? 0 : (half_cycle / 8); // compensate the time when freq >… in i2c_ll_cal_bus_clk()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Di2c_ll.h110 static inline void i2c_ll_cal_bus_clk(uint32_t source_clk, uint32_t bus_freq, i2c_clk_cal_t *clk_ca… in i2c_ll_cal_bus_clk() argument
112 uint32_t half_cycle = source_clk / bus_freq / 2; in i2c_ll_cal_bus_clk()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Di2c_ll.h108 static inline void i2c_ll_cal_bus_clk(uint32_t source_clk, uint32_t bus_freq, i2c_clk_cal_t *clk_ca… in i2c_ll_cal_bus_clk() argument
110 uint32_t half_cycle = source_clk / bus_freq / 2; in i2c_ll_cal_bus_clk()