AnsweredAssumed Answered

About advanced usage of C programming

Question asked by 童子 松下 on Apr 17, 2018
Latest reply on May 3, 2018 by David Tosenovjan

Hello, everyone:

  I am participating in a development project on MPC5644A, and I encountered a problem while I was reading a example about the mode of flash memory.This is specific:


typedef void(* flash_fuc_type_ptr_t)(void);
typedef unsigned long int uint32_t;

 

uint32_t FlashArray1OptData[]=
{
0x3C60C3FB,0x80030000,0x60000001,
0x3C60C3FB,0x90030000,0x3C60C3FB,
0x80030000,0x5400056A,0x2C000000,
0x4182FFF0,0x4E800020
};

 

#if 1
(*((flash_fuc_type_ptr_t)FlashArray1OptData))();

 

I want to understand the effect of the last sentence will be executed?

 

(add another point:  the example is the mode of flash memory on MPC5634M. )

Outcomes