[riot-devel] bitfeilds

Neil Jones neil.jones at imgtec.com
Wed Oct 26 16:52:07 CEST 2016


What is RIOT's position on using named bitfields for register
definitions ? I know they are frown upon as there are no endian
guarantees in the C standard, personally I don't use them, but the PIC32
device files supplied by Microchip do include bitfield structures for
most registers so could make life easier ? (thankfully there are #define
for most register fields too, if the answer is not to use them).



More information about the devel mailing list