In order to save memory, it is recommended to implement globally accessible boolean flags as unsigned bitfields of width 1. However, using bitfields for other purposes is not recommended because:
Using bitfields to describe a bit pattern in memory is not portable between Compilers, even on the same target, as different Compilers may allocate bitfields differently.