Hello everyone! I have a programming question regarding the use of C for a 8051 microcontroller.
I have been going over some Silicon Labs premade examples, it seems that for even a simple one bit variable they will declare it as a U8. Would there be a good reason why they aren't using the BIT data type?
Generally c does not have a native bit type. Many programmer will use a byte aka U8 type which wastes 7 bits but makes accessing the variable faster then using just a bit and having to access a structure to get to it.