PIN DECLARATION

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

PIN DECLARATION

985 次查看
aravindpb5009
Contributor III

hai 

 

In our sdk example file there is some difference having to declare the pin  plz let me know which one need to assign

SYSCON->SYSAHBCLKCTRL |= GPIO;

LPC_SYSCON->SYSAHBCLKCTRL |= GPIO; 

标签 (1)
0 项奖励
回复
2 回复数

933 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Aravind,

Regarding your question, it is dependent on which structure instance pointer in *.h is defined,  if the SYSCON structure instance pointer is defined, you use the one:SYSCON->SYSAHBCLKCTRL |= GPIO;,   if the LPC_SYSCON structure instance pointer is defined, you use the one:LPC_SYSCON->SYSAHBCLKCTRL |= GPIO;,

If you still have question about the topic, pls tell us the part number and the SDK package version.

BR

XiangJun Rong

0 项奖励
回复

933 次查看
aravindpb5009
Contributor III

thank you

0 项奖励
回复