Can anybody explain me what it the sense of having such functions separate for any peripheral that can choose the PLL as the source clock ?
I mean... There is no independent "domains" for SYSCLK, ADC, I2S, etc.... There is only one instance of PLL and for me this is very confusing to have
- LL_RCC_PLL_ConfigDomain_SYS
LL_RCC_PLL_ConfigDomain_ADC
- LL_RCC_PLL_ConfigDomain_I2S1
- etc..
in ...ll_rcc.h file
Each of them reconfigures PLL which have nothing to do with peripherals that use it...
Why there is no one function to set up dividers / multipliers for PLL generally and the source clock selection should be the API of particular peripheral driver? Is there any explanation why the LL drivers are designed this way ?