AnsweredAssumed Answered

HAL Equivelant for RCC_GetClocksFreq

Question asked by Stehelin.Etenne on Jul 28, 2016
Latest reply on Jul 28, 2016 by Stehelin.Etenne
Hi.   I've compiled a couple very simple working programs for my 446Nucleo board using CubeMX.   I'm having trouble when I want to use functions found in the SPL, like
RCC_GetClocksFreq.
Is there a loose translation of similar functions?

This is all I'm trying to do:

(USART2 is already set up and working via CubeMX)

RCC_GetClocksFreq(&RCC_Clocks);
 
printf("Running at %d MHz\n", RCC_Clocks.SYSCLK_Frequency / 1000000);


thanks for any advice
/etienne

Outcomes