Missing "CLOCK_DisableClock(kCLOCK_Iocon);" in pin_mux.c

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

Missing "CLOCK_DisableClock(kCLOCK_Iocon);" in pin_mux.c

964件の閲覧回数
1234567890
Contributor IV

I miss the function

CLOCK_DisableClock(kCLOCK_Iocon)

at the end of pin_mux.c generated with the Pins tool (actual SDK for LPC845-BRK).

Clocks for Iocon, Swm and Gpio0 are enabled at the beginning.

At the end Gpio0 remains enabled (of course) and Swm ist disabled. Even UM says:

1234567890_0-1609186425857.png

 

ラベル(1)
0 件の賞賛
返信
1 返信

943件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @1234567890 

Thank you for your pointers!  I will pass your comments.

At this moment,  if reducing power consumption is required , since the generated code  by config tools can not be edited manually,  one should call the CLOCK_DisableClock(kCLOCK_Iocon) in other place.

Regards, 

Diego.

 

 

0 件の賞賛
返信