You can define fields in structs that are a specific number of bits with the ':' syntax, but not outside of a struct.
struct foo_struct
{
unsigned int a : 3 ;
unsigned int b : 2 ;
} foo ;
You can define fields in structs that are a specific number of bits with the ':' syntax, but not outside of a struct.
struct foo_struct
{
unsigned int a : 3 ;
unsigned int b : 2 ;
} foo ;