On 2018-07-03 12:57, Kalle Valo wrote: >>> To me that does not make any sense, I have never heard about bit >>> endianness any of the devices I have worked on. >> >> Unfortunately, the order in which these fields are laid out is different >> between big and little endian, even when only dealing with u8. > > Oh, didn't know that. Can you give some examples about endian problems > with u8 bitfields? Still not getting it. Not that it matters, just > curious. On a quick google search, I found this: http://mjfrazer.org/mjfrazer/bitfields/ - Felix