Miscellaneous¶
Hardware Intialization¶
Defines
-
CLOCK_SOURCE_HSE¶ High Speed External Oscillator.
-
CLOCK_SOURCE_LSE¶ Low Speed External Oscillator.
-
CLOCK_SOURCE_HSI¶ High Speed Internal Oscillator.
-
CLOCK_SOURCE_LSI¶ Low Speed Internal Oscillator.
-
SYS_FREQ_100MHZ¶ Convenient System Frequency Values.
Functions
-
void
SystemClockConfig(ClockInitStruct clock_init)¶ System clock configuration and initialization.
- Parameters
clock_init: ClockInitStruct with the clock configuration parameters
-
void
DwtConfig(void)¶ Configures the Data Watchpoint Trigger for tracking clock cycles.
-
void
HAL_MspInit(void)¶ MCU Support Package (MSP) Initialization.
-
struct
ClockInitStruct¶ - #include <hardware_init.h>
System clock initialization struct.