ConsoleTom
Member
Hi !
I have a structure and i don't understand what the numbers after the colons
mean (UBYTE Pause:1). Could anyone tell me please ?
typedef unsigned char UBYTE;
typedef struct
{
union
{
struct
{
UBYTE Pause:1;
UBYTE Cart0IO:1;
UBYTE Cart1IO:1;
UBYTE spare:5;
}Bits;
UBYTE Byte;
};
}TSWITCHES;
Greetings
Tobias
I have a structure and i don't understand what the numbers after the colons
mean (UBYTE Pause:1). Could anyone tell me please ?
typedef unsigned char UBYTE;
typedef struct
{
union
{
struct
{
UBYTE Pause:1;
UBYTE Cart0IO:1;
UBYTE Cart1IO:1;
UBYTE spare:5;
}Bits;
UBYTE Byte;
};
}TSWITCHES;
Greetings
Tobias