LPC546xx: CLOCK_EnableClock(kCLOCK_InputMux);

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

LPC546xx: CLOCK_EnableClock(kCLOCK_InputMux);

971 次查看
giusloq
Contributor III

In many SDK examples I see this instruction usually near the beginning of main() function:

CLOCK_EnableClock(kCLOCK_InputMux);

Obviously it enables the clock to the INPUTMUX peripheral that manages some external pins function (inputs to SCT, interrupts from external pins, DMA triggers from external pins, inputs for frequency meter).

I just started studying lpcxpresso54628_lwip_dhcp_bm project example and that instruction is present in the main(). Why? I don't think this project uses any of the INPUTMUX functions.

 

0 项奖励
回复
1 回复

944 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your feedback.

If the demo works without enabling the INPUTMUX, you can ignore that line. I’ll notify the team about this.

Regards, Daniel.

0 项奖励
回复