S32K146 clock initilization

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K146 clock initilization

130 Views
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 Kudos
2 Replies

95 Views
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 Kudos

122 Views
547416104
Contributor III

I have fixed the question.

0 Kudos