ivory-bsp-stm32f4: getFreq fully implemented