S32K146 clock initilization

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

S32K146 clock initilization

129件の閲覧回数
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 返答(返信)

94件の閲覧回数
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 件の賞賛

121件の閲覧回数
547416104
Contributor III

I have fixed the question.

0 件の賞賛