Search found 2 matches

by christoss15
Wed May 01, 2019 9:51 am
Forum: ESP-IDF
Topic: I2C ISR help
Replies: 2
Views: 3637

Re: I2C ISR help

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
by christoss15
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`.
i2c_isr.png
i2c_isr.png (51.06 KiB) Viewed 3637 times