PIN DECLARATION

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

PIN DECLARATION

626 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
Reply
2 Replies

574 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
Reply

574 Views
aravindpb5009
Contributor III

thank you

0 Kudos
Reply