Files
esp-idf/components/driver
John bcf7608cf8 i2c: Enable I2C Slave mode with input-only pin as SCL.
Merges https://github.com/espressif/esp-idf/pull/8312

If we use I2C in slave mode, we can use input-only pin for SCL line (GPI 34-39).
But there is a problem in i2c_set_pin() which is called by i2c_param_config().
In case of using GPI as SCL the following statements are failed:
	1. gpio_set_level(scl_io_num, I2C_IO_INIT_LEVEL);
Function fails because it cannot set level for input pin. As a result a ESP_LOGE() is called.
	2. gpio_set_direction(scl_io_num, GPIO_MODE_INPUT_OUTPUT_OD);
Function fails because it accepts only GPIO pins. ESP_LOGE() is called, input mode is not enabled for the pin and as a result - no interrupts from the pin.
2022-02-21 17:32:04 +08:00
..
2022-02-09 23:05:45 +08:00
2022-01-18 10:06:08 +08:00
2022-01-18 10:06:08 +08:00
2021-05-25 17:43:57 +02:00
2022-02-09 23:05:45 +08:00
2022-01-18 10:06:08 +08:00
2022-02-09 23:05:45 +08:00
2022-02-09 23:05:45 +08:00
2021-12-28 10:18:18 +08:00
2022-01-27 19:21:48 +08:00
2022-02-09 23:05:45 +08:00
2021-05-25 17:43:57 +02:00
2021-05-25 17:43:57 +02:00
2021-05-25 17:43:57 +02:00
2021-08-26 14:01:24 +08:00
2021-05-25 17:43:57 +02:00
2022-01-12 11:30:29 +08:00
2022-02-09 23:05:45 +08:00