Question
HAL Equivelant for RCC_GetClocksFreq
Posted on July 28, 2016 at 05:41
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