Good Afternoon
I am using the CCS compiler V5.024 with MPLABX V 2.05.
Code:
CLEAR_INTERRUPT(INT_EXT0);// if an interrupt occurred clear it
enable_interrupts(INT_EXT0); // turn the external interrupt back on
CLEAR_INTERRUPT(INT_EXT2);// if an interrupt occurred clear it
enable_interrupts(INT_EXT2); // turn the external interrupts back on
------The line below was added -----------------
enable_interrupts(GLOBAL);
and i now get an error
Error#12 Undefined identifier GLOBAL
is GLOBAL no longer defined in the CCS compiler ?, or is this a problem
with the MPLABX
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Apr 11, 2014 2:46 pm
What PIC are you using ? All of this stuff varies, based on what PIC
and what compiler you are using.
jeremiah
Joined: 20 Jul 2010 Posts: 1358
Posted: Fri Apr 11, 2014 5:43 pm
PIC24s and dsPICs for example use INTR_GLOBAL instead.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum