I'm tinkering with some code, looking how it works in libraries, it is a library for dmx, the light communication protocol, a serial communication, over rs 485 connection.
I often see this kind of code :
if ((U0IS & (1 << UIBD)))
U0IS is the interrupter status, and UIBD a kind of interrupter.
I don't understand why the 1 is at left the variable at right, can someone explains me why ?
Thanks, and happy new year