S32K146 clock initilization

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

S32K146 clock initilization

525 次查看
547416104
Contributor III

Hello EveryOne,

I configure the clock module and use clockMan1 HAL function to initilization, I do not know what is the difference between CLOCK_SYS_Init() and CLOCK_DRV_Init()? if use CLOCK_DRV_Init(), whether have any matter? thanks

 

0 项奖励
2 回复数

490 次查看
lama
NXP TechSupport
NXP TechSupport

Response prom the apps team.

 

Briefly explain for your concern as my understood is

  • The difference between CLOCK_SYS_Init() and CLOCK_DRV_Init()? if use CLOCK_DRV_Init()?

                CLOCK_SYS_Init – will combine with CLOCK_SYS_UpdateConfiguration to do init the clock and those provide a callback mechanism to inform the result of the init process.

                                CLOCK_SYS_UpdateConfiguration – could use to switch configuration in case the g_clockManConfigsArr from clockMan1 contain more than 1 set of it

CLOCK_DRV_Init – simply do init the clock without any notification sending back to the driver.

 

  • Both of them could use the g_clockManConfigsArr from clockMan1, but in difference manner I suppose you recognize it. 

Best regards

0 项奖励

517 次查看
547416104
Contributor III

I have fixed the question.

0 项奖励