I am writing a firmware for stm8 with Cosmic compiler and in ST Visual Develop. I am using astruct as the following:
typedef struct { uint8_t