is there a way to get the position of a bit in a bit filed struct ?
for example,
if I have
struct {
Uint16 a:1;
Uint16 b:1;
Uint16 c:1;
} myS;
is there a way to get bit position of "a", for example if I have to call a routine like this
setMyBit(&myS, /* bit pos of a */)