lpcware

Porting from LPC214x to LPC1768

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ennegi on Tue Jul 02 12:02:42 MST 2013
Hi all! I need your help for my porting of a source file.

I take a source code of LPC214x and I found this:



void

EnterCriticalSection(  )

{

        VIC_Temp = VICIntEnable;    /* Save VICIntEnable */

VICIntEnClr = VIC_Temp;     /* Disable Interruptions */

}



void

ExitCriticalSection(  )

{

    VICIntEnable = VIC_Temp;    /* Restore VICIntEnable */

}



How I "traslate" this for my LPC1768? Thanks a lot!

Outcomes