Search found 2 matches
- Mon Feb 12, 2024 11:07 am
- Forum: ESP-IDF
- Topic: ADC adc_continuous_read() return values
- Replies: 0
- Views: 395
ADC adc_continuous_read() return values
Hi, by modifying the continuous read example I can get adc_continous_read() to return ESP_OK and ESP_ERR_TIMEOUT. Cannot get ESP_ERR_INVALID_STATE even when I call adc_continous_read() every 2seconds with a sample frequency of 20Khz (.sample_freq_hz = 20 * 1000). Reading the documentation I assumed ...
- Wed Jan 24, 2024 1:26 pm
- Forum: ESP-IDF
- Topic: GPIO functions thread safe
- Replies: 1
- Views: 643
GPIO functions thread safe
Working on my first project with the ESP32 using ESP-IDF; the peripheral API documentation have a Thread safety section for each peripheral listing the thread safe functions. There is no such section on the GPIO API. Is gpio_set_level() function thread safe when called for different pins? Example :T...