bitfield index of a bit variable

Is there a way (macro ?) to get the index of a bitfield variable in a byte ?

More questions in this forum