AnsweredAssumed Answered

pointer to PE macro defined

Question asked by Mauricio Vergara on Oct 30, 2010
Latest reply on Oct 31, 2010 by kef

Hi:

 

I have this macro in my project:

 

#define Col1_GetVal() ( \
    (bool)((getReg8(PTAD) & 0x10))     /* Return port data */ \
  )

 

I have severals Colx_GetVal macros and i need use a array of pointers to them:

 

ptr[0]= &Col1_GetVal;

ptr[1]= &Col2_GetVal;

 

and so....

 

Anybody can give me some tip how i can o it?

 

Best Regards.

 

Mauricio.

Outcomes