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