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.
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.