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

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

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

497 次查看
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 回复

476 次查看
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 项奖励