I am trying to get it to work as an I2C slave device and this is the only way I got it working.
Now I am using an interrupt on the falling edge of SDA and checking STL to see if I received the start condition.
What I can't figure out is how to have an I2C ISR that also gives access to read/write bit
Search found 2 matches
- Wed May 01, 2019 9:51 am
- Forum: ESP-IDF
- Topic: I2C ISR help
- Replies: 2
- Views: 3637
- Mon Apr 29, 2019 12:57 pm
- Forum: ESP-IDF
- Topic: I2C ISR help
- Replies: 2
- Views: 3637
I2C ISR help
Hey! I'm trying to figure out how to setup i2c interrupts with the following function (i2c_isr_register). I am not sure what to put mainly in the arguments, `arg`, `intr_alloc_flags` and `handle`.