LPC546xx: CLOCK_EnableClock(kCLOCK_InputMux);

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC546xx: CLOCK_EnableClock(kCLOCK_InputMux);

972件の閲覧回数
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 返信

945件の閲覧回数
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 件の賞賛
返信