In a project of STM32, I came through a code like this :
typedef union {
    struct __attribute__ ((packed)){        
        uint8_t ModePin0 :1;                
        uint8_t ModePin1 :1;
        uint8_t ModePin2 :1;
        uint8_t ModePin3 :1;
    } dmxModeBytes;
    uint16_t dmxMode;
} dmxModeUnion;
So, my question is what is the meaning of :1 after ModePin0 variable and for similar variables?
Is it related to memory alignment?
 
    