SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By EnneGi
#161155
Hi all! I need your help for my porting of a source.

I take a source code of LPC214x and I found this:
Code: Select all
 

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!
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]