Midnight Sun Firmware
Loading...
Searching...
No Matches
MCU

MCU library. More...

Macros

#define HSE_LSE_TIMEOUT_MS   5000U
 
#define USE_INTERNAL_OSCILLATOR   1U
 

Functions

StatusCode mcu_init (void)
 Initialize MCU system clock and HAL. More...
 
void retarget_init ()
 Initialze the UART interface for hard fault register dumping.
 

Detailed Description

MCU library.

Function Documentation

◆ mcu_init()

StatusCode mcu_init ( void  )

Initialize MCU system clock and HAL.

Call this function once at the start of your application.