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;
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