We have earlier generated code using CubeMX. After that, entire application have been developed on the generated code/project. But midway, there is a requirement of changing the clock frequency from 80 MHz to 24 MHz. Since, the application is developed almost 80%, we cannot generate the code again using the CubeMX. But instead, we need to know which parts of the code (configuration section(s)) needs to be changed to get 24 MHz CPU frequency from existing 80 MHz setting.
Can anyone point out which configuration functions need to be changed or which section of the generate code needs to be modified to cater to the CPU clock frequency change?