esp-idf/components/ulp/ulp_riscv/include
Sudeep Mohanty 08600cb1a3 ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
The commit 88e4c06028 introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.

The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.

Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 15:07:50 +02:00
..
esp32s2 ulp: change deprecated headers to use relative includes to avoid recursivly including the same header 2022-02-11 14:56:11 +08:00
ulp_riscv ulp-riscv: add support for using ADC as well as an example show-casing it. 2022-07-11 09:31:22 +08:00
ulp_riscv_adc.h ulp-fsm: Update ulp-fsm ADC example with S3 support 2022-09-07 16:48:06 +08:00
ulp_riscv_i2c.h ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option 2023-05-09 15:07:50 +02:00
ulp_riscv_lock.h ulp-riscv: added lock API to provide mutual exclusion when sharing variables between the main CPU and the ULP. 2022-08-05 18:16:31 +08:00
ulp_riscv.h ulp: Added APIs to handle ULP signal ISRs for the main CPU 2023-02-24 07:25:39 +00:00