• Bitfield
    Hello to everyone, i have this example: union { struct { unsigned char x:4; unsigned char y:4; } nibble; unsigned char abyte; } value; I'am not sure how to acces to the byte and the...
  • Bitfield
    Hello to everyone, i have this example: union { struct { unsigned char x:4; unsigned char y:4; } nibble; unsigned char abyte; } value; I'am not sure how to acces to the byte and the...
  • Initializing a bitfield
    I get warning C141 'struct' to many initializer. struct { unsigned a:1; unsigned b:1; unsigned c:1; unsigned d:1; unsigned e:1; unsigned f:1; unsigned g:1; unsigned h:1; } blabla={1,1,1,0...
  • Bitfield inside Union
    Hi, sorry i know, this question is an evergreen. I have 320 bitfield variables, which i want to access as single Bit's on one hand, and as a field of 40 byte via RS-232 on the other hand. Yes i know...
  • Initializing a bitfield
    I get warning C141 'struct' to many initializer. struct { unsigned a:1; unsigned b:1; unsigned c:1; unsigned d:1; unsigned e:1; unsigned f:1; unsigned g:1; unsigned h:1; } blabla={1,1,1,0...