AnsweredAssumed Answered

What is the meaning of this code(lpc1857)?

Question asked by KRISHNA DAIVAJNA on Oct 24, 2018
Latest reply on Oct 24, 2018 by Bernhard Fink

#define CCU_CLK_CFG_RUN (1 << 0)
#define CCU_CLK_CFG_AUTO (1 << 1)
#define CCU_CLK_STAT_RUN (1 << 0)

 

 

 

 

LPC_CCU1->CLK_M3_GPIO_CFG = CCU_CLK_CFG_AUTO |
CCU_CLK_CFG_RUN;
while (!(LPC_CCU1->CLK_M3_GPIO_STAT & CCU_CLK_STAT_RUN));

Outcomes