3 ms·
>> C supports bit fields in structs, but that feature is seldom used. Every micro controller I've ever worked with has header files defining bit fields for har
by phkahler 10y ago
>> C supports bit fields in structs, but that feature is seldom used.
Every micro controller I've ever worked with has header files defining bit fields for hardware registers. It's a matter of what level you're writing for. I would expect Linux to contain tons of these.