PIN DECLARATION

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PIN DECLARATION

469 Views
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; 

Labels (1)
0 Kudos
2 Replies

417 Views
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 Kudos

417 Views
aravindpb5009
Contributor III

thank you

0 Kudos