If I write 1 << (twint) on an arduino ide, does that set or clear the twi interrupt flag of the twi control register? I tried researching on the internet, I cannot find an answer.
If I write 1 << (twint) on an arduino ide,
does that set or clear the twi interrupt flag
of the twi control register? I tried researching on the internet,
I cannot find an answer.
If the TWINT bit was set, 1<<1 will give 10 and the TWINT bit will be unset. If the bit was unset, it will be set. But that can be done in many different ways.