typedef struct { uint32_t a; uint32_t b; uint32_t c; } tFlashParams; #define flashParams ((volatile tFlashParams *) 0x0801F000) Be sure, that only 16 bit wide AND 16 bit aligned writes should be used! I would NOT use any way of IAR specific pragma commands!