pinSDA = sda;#if0ETS_GPIO_INTR_DISABLE();// ETS_INTR_LOCK();// Assume the pin mux is set before calling this function//PIN_FUNC_SELECT(I2C_MASTER_SDA_MUX, I2C_MASTER_SDA_FUNC);//PIN_FUNC_SELECT(I2C_MASTER_SCL_MUX, I2C_MASTER_SCL_FUNC);GPIO_REG_WRITE(GPIO_PIN_ADDR(GPIO_ID_PI...
Assunming the gpio_set_intr_type() was set for any interrupt type other than GPIO_INTR_DISABLE and the interrupt was enabled for a pin in interest. Now if I want to disable (temporary) the interrupt on this pin: is gpio_set_intr_type(pinX, GPIO_INTR_DISABLE); enough ...
pinSDA = sda;#if0ETS_GPIO_INTR_DISABLE();// ETS_INTR_LOCK();// Assume the pin mux is set before calling this function//PIN_FUNC_SELECT(I2C_MASTER_SDA_MUX, I2C_MASTER_SDA_FUNC);//PIN_FUNC_SELECT(I2C_MASTER_SCL_MUX, I2C_MASTER_SCL_FUNC);GPIO_REG_WRITE(GPIO_PIN_ADDR(GPIO_ID_PI...