i have defined a structure in header file as shown below
typedef struct {
UNSIGNED8 NumOfEntries;
UNSIGNED32 ModChargeCounter;
UNSIGNED32 ModDisChargeCounter;
UNSIGNED32 TotalDisChargeTime;
UNSIGNED32 TotalChargePower;
} PERFM_REG;
I am trying to use _attribute__ align as given below but am receiving an error.
EXTERN PERFM_REG per_reg __attribute__((aligned(128))) ;
Is there something that i am doing wrong or simply not aware of?