The Arduino cli() & sei() macros are used to control the global interrupt flag bit. Calling the cli() will clear the flag bit (disable interrupts), while calling the sei() will set the flag bit (re-enable interrupts). They are similar to the Arduino noInterrupts() and interrupts() functions.