Hello I do not know the function of the file fsl_clock. I want to make conditions so that I can choose which clock source to use,
the modes of operation, divisors, and more. I'm working on the IAR compiler, MCUXpresso has the tools to guide me,
but I do not want to be dependent on the software for the clock settings. But I think this file has those conditions but I'm not sure, can someone advise me?
Hi Oswaldo,
fsl_clock is a driver for bus and core clock configuration of the selected device. You can write your own code to call the functions from this driver in right order or you can you Config Tools, that will generate the initialization code for you.
If you want to use source clock for ADC peripheral, you can use peripheral tool, that allows to configure ADC driver (including source clock)
You can also start with any example project provided inside the SDK package.
Regards
Marek