Steve Pratt

HCS08GT60 __isflag_int()

Discussion created by Steve Pratt on Mar 28, 2006
Latest reply on Mar 29, 2006 by CompilerGuru
I am trying to use the __isfalg_int() macro to poll the level of the ext int pin, I keep getting compiler errors? How can i do this? Is the following format correct?
static void test(void)
   if (__isflag_int()) goto label;
Warning : C1801: Implicit parameter-declaration for '__isflag_int'
GPS_Buoy_Receiver.c line 1680  
Error   : C2801: ';' missing
GPS_Buoy_Receiver.c line 1683  
Error   : C2450: Expected:  { IDENT auto break case const continue default do extern for goto if register return static switch typedef
volatile while __asm __interrupt     
GPS_Buoy_Receiver.c line 1684  
Error   : Compile failed