cancel
Showing results for 
Search instead for 
Did you mean: 

Do multiple HAL_RCCEx_PeriphCLKConfig() calls overwrite each other?

RBamf.1
Associate III

Hi i'm trying to configure two parts the SDMMC and the SAI. Both are initialized seperate from each other in my design, before i put them together, can i just run both configurations seperately?

1 REPLY 1

Hello

HAL_RCCEx_PeriphCLKConfig (...) configures peripheral clocking by giving the parameters from init_structure to the peripheral .

For the same peripheral, yes it overwrites the previous settings only if PeriphClockSelection is enabled for that peripheral