25 rcc_clock_setup_in_hsi_out_64mhz();
30 rcc_clock_setup_in_hsi_out_48mhz();
35 rcc_clock_setup_in_hsi_out_24mhz();
40 rcc_clock_setup_in_hse_8mhz_out_24mhz();
45 rcc_clock_setup_in_hse_8mhz_out_72mhz();
59 return rcc_apb2_frequency;
65 return rcc_apb1_frequency;
External 8MHz oscillator, multiplied to 24MHz final.
External 8MHz oscillator, multiplied to 72MHz final.
Error clock: Clock speed doesn't exist.
clock_option
Clock configuration available for MCU.
uint32_t CLOCK_getSpeed(void)
Get the current clock speed of the device.
Internal oscillator, multiplied to 48MHz final.
Internal oscillator, multiplied to 64MHz final.
uint32_t CLOCK_getSpeedAlternate(void)
Get the current clock speed of the alternate bus.
Header file for stm32f103 CLOCK.
Internal oscillator, multiplied to 24MHz final.
mcu_error CLOCK_setSpeed(clock_option option)
Set the final clock speed of the device.
mcu_error
Error enumerators for the Debug peripheral.