/hal_espressif-3.6.0/components/hal/ |
D | i2c_hal.c | 47 void i2c_hal_set_scl_timing(i2c_hal_context_t *hal, int hight_period, int low_period) in i2c_hal_set_scl_timing() argument 49 i2c_ll_set_scl_timing(hal->dev, hight_period, low_period); in i2c_hal_set_scl_timing() 142 void i2c_hal_get_scl_timing(i2c_hal_context_t *hal, int *high_period, int *low_period) in i2c_hal_get_scl_timing() argument 144 i2c_ll_get_scl_timing(hal->dev, high_period, low_period); in i2c_hal_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/esp32/include/hal/ |
D | i2c_ll.h | 182 static inline void i2c_ll_set_scl_timing(i2c_dev_t *hw, int hight_period, int low_period) in i2c_ll_set_scl_timing() argument 184 hw->scl_low_period.period = low_period; in i2c_ll_set_scl_timing() 546 static inline void i2c_ll_get_scl_timing(i2c_dev_t *hw, int *high_period, int *low_period) in i2c_ll_get_scl_timing() argument 549 *low_period = hw->scl_low_period.period; in i2c_ll_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | i2c_ll.h | 186 static inline void i2c_ll_set_scl_timing(i2c_dev_t *hw, int hight_period, int low_period) in i2c_ll_set_scl_timing() argument 188 hw->scl_low_period.period = low_period-1; in i2c_ll_set_scl_timing() 553 static inline void i2c_ll_get_scl_timing(i2c_dev_t *hw, int *high_period, int *low_period) in i2c_ll_get_scl_timing() argument 556 *low_period = hw->scl_low_period.period + 1; in i2c_ll_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | i2c_ll.h | 212 static inline void i2c_ll_set_scl_timing(i2c_dev_t *hw, int hight_period, int low_period) in i2c_ll_set_scl_timing() argument 214 hw->scl_low_period.period = low_period - 1; in i2c_ll_set_scl_timing() 564 static inline void i2c_ll_get_scl_timing(i2c_dev_t *hw, int *high_period, int *low_period) in i2c_ll_get_scl_timing() argument 567 *low_period = hw->scl_low_period.period + 1; in i2c_ll_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | i2c_ll.h | 206 static inline void i2c_ll_set_scl_timing(i2c_dev_t *hw, int high_period, int low_period) in i2c_ll_set_scl_timing() argument 209 hw->scl_low_period.scl_low_period = low_period - 1; in i2c_ll_set_scl_timing() 575 static inline void i2c_ll_get_scl_timing(i2c_dev_t *hw, int *high_period, int *low_period) in i2c_ll_get_scl_timing() argument 578 *low_period = hw->scl_low_period.scl_low_period + 1; in i2c_ll_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | i2c_ll.h | 216 static inline void i2c_ll_set_scl_timing(i2c_dev_t *hw, int hight_period, int low_period) in i2c_ll_set_scl_timing() argument 218 hw->scl_low_period.period = low_period - 1; in i2c_ll_set_scl_timing() 581 static inline void i2c_ll_get_scl_timing(i2c_dev_t *hw, int *high_period, int *low_period) in i2c_ll_get_scl_timing() argument 584 *low_period = hw->scl_low_period.period + 1; in i2c_ll_get_scl_timing()
|
/hal_espressif-3.6.0/components/hal/include/hal/ |
D | i2c_hal.h | 202 void i2c_hal_set_scl_timing(i2c_hal_context_t *hal, int hight_period, int low_period); 398 void i2c_hal_get_scl_timing(i2c_hal_context_t *hal, int *high_period, int *low_period);
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | i2c.h | 493 esp_err_t i2c_set_period(i2c_port_t i2c_num, int high_period, int low_period); 506 esp_err_t i2c_get_period(i2c_port_t i2c_num, int *high_period, int *low_period);
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2c.c | 168 int high_period, low_period; variable 176 TEST_ESP_OK(i2c_get_period(I2C_MASTER_NUM, &high_period, &low_period)); 178 TEST_ASSERT_EQUAL_INT(I2C_SCL_HIGH_PERIOD_V, low_period); 183 TEST_ESP_OK(i2c_get_period(I2C_MASTER_NUM, &high_period, &low_period)); 185 TEST_ASSERT_EQUAL_INT(400, low_period);
|
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 705 esp_err_t i2c_set_period(i2c_port_t i2c_num, int high_period, int low_period) in i2c_set_period() argument 709 …ESP_RETURN_ON_FALSE((low_period <= I2C_SCL_LOW_PERIOD_V) && (low_period > 0), ESP_ERR_INVALID_ARG,… in i2c_set_period() 712 i2c_hal_set_scl_timing(&(i2c_context[i2c_num].hal), high_period, low_period); in i2c_set_period() 718 esp_err_t i2c_get_period(i2c_port_t i2c_num, int *high_period, int *low_period) in i2c_get_period() argument 720 …ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX && high_period != NULL && low_period != NULL, ESP_ERR_IN… in i2c_get_period() 722 i2c_hal_get_scl_timing(&(i2c_context[i2c_num].hal), high_period, low_period); in i2c_get_period()
|