struct torgle_register{
unsigned int SN:4; // 4 bits
unsigned int :4; //unused 4 bits
bool goodIn:1;
bool goodTorgle:1;
}
torgle_register tr[2] = {
{14,true,false},
{12,false,true},
};
if (tr[0].goodIn) {}
struct torgle_register{
unsigned int SN:4; // 4 bits
unsigned int :4; //unused 4 bits
bool goodIn:1;
bool goodTorgle:1;
}
torgle_register tr[2] = {
{14,true,false},
{12,false,true},
};
if (tr[0].goodIn) {}