setup interrupt for I2C_ACK_ERR_INT (ack error)
Posted: Fri Apr 13, 2018 12:27 pm
I would like to setup the I2C_ACK_ERR_INT interrupt for I2C driver.
Both "i2c_driver_install" and "i2c_isr_register" function require "intr_alloc_flags" but I don't know how to specify it.
I have searched some examples but I didn't found.
Thanks
Both "i2c_driver_install" and "i2c_isr_register" function require "intr_alloc_flags" but I don't know how to specify it.
I have searched some examples but I didn't found.
Thanks