Porting from LPC214X to LPC1768

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Porting from LPC214X to LPC1768

785 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ennegi on Tue Jul 02 08:50:39 MST 2013

Hi all! I need your help for my porting of a source.


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


 


void


EnterCriticalSection(  )


{


        VIC_Temp = VICIntEnable;    /* Save VICIntEnable */


<span class="Apple-tab-span" style="white-space: pre;"> </span>VICIntEnClr = VIC_Temp;     /* Disable Interruptions */


}


 


void


ExitCriticalSection(  )


{


    VICIntEnable = VIC_Temp;    /* Restore VICIntEnable */


}


<div>How I "traslate" this for my LPC1768? Thanks a lot!</div>
标签 (1)
0 项奖励
回复
1 回复

777 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cfbsoftware on Tue Jul 02 15:23:27 MST 2013
See the reply from CodeRed support to an identical question on the LPCXpresso forum:

http://knowledgebase.nxp.com/showthread.php?t=4772
0 项奖励
回复