How can I can disable peripherals clocks in order to optimize power consumption?
The register that controls the clock gate for some peripherals is the CLKG_CLK_CTL5 register.
But note that most of the peripherals clocks (exceptions only the ones on the mentioned register) are automatically disabled when the peripheral is disabled. That means that no extra effort is necessary from the user point of view except disabling the peripheral when not in use to optimize power consumption
Retrieving data ...