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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

484 Views
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

 

Labels (1)
0 Kudos
1 Reply

463 Views
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 Kudos