uint32_t val; uint32_t address= [color=#00f]type in your address here[/color]; val = (*(uint32_t*)address); |
const __attribute__ ((section(".param_page"))) struct sParams { uint8_tsize;///< size of this struct // more stuff int16_t altAlarm;///< Altitude (lower boundary) when an alarm shall be generated } Params; |