Bitstruct
I was looking at I2C code, and noted that there was an awful lot of manual bit manipulation. Unfortunately the native solution in c++, bitfields, are non-portable and for that reason is discouraged in code bases. For that reason, I have written a library called bitstructs, which aims to do what bitfields do but portably. What are bitfields Bitfields are a bit of an obscure feature in C++, aimed at embedded developers....