PIN DECLARATION

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PIN DECLARATION

988件の閲覧回数
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 返答(返信)

936件の閲覧回数
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 件の賞賛
返信

936件の閲覧回数
aravindpb5009
Contributor III

thank you

0 件の賞賛
返信