I want to use a structure as given below on my ARM Cortex-M0, I am using C programming.
struct path_table_t {
uint8_t lut_index;
uint8_t flag : 1; };
'flag' field is made to be single bit by bit fields.How will be the memory allocation for the array of above mentioned structure will happen.
Will I get the benefit of bit fields as saving in total memory