K22F FSL_CLOCK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K22F FSL_CLOCK

1,819 次查看
oswaldo-153
Contributor III
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?
标签 (1)
0 项奖励
回复
1 回复

1,719 次查看
marek-trmac
NXP Employee
NXP Employee

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

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button
0 项奖励
回复