You can set the ADC clock settings in run time using the External ADC clock configuration. For that you have to enable the clock source as External in the ADC component GUI as shown in the image below:
After that you can assign a clock component to the ADC as shown in the image below:
Now you can set the clock frequencies in run time using the Clock APIs present in the Clock component datasheet. You can right click on Clock_1 component and get the clock component datasheet.
For changing the IMO clock frequencies in run time you can refer the APIs present in PSoC 4 System reference guide attached with this email.
You can also refer the static void ClockSetup(void) function in the cyfitter_cfg.c file to know how the IMO clock frequency is set.
Please update if you have more queries.
cy_boot_v5_90_psoc4.pdf 1.5 MB