#ifndef __HAL_LKSMCU_clk_h__
#define __HAL_LKSMCU_clk_h__
#include "stdint.h"

/// @brief 主频
typedef enum
{
    HAL_CLK_FREQ_RC_4MHZ,     ///< 主频4Mhz
    HAL_CLK_FREQ_RC_6MHZ,     ///< 主频6Mhz
    HAL_CLK_FREQ_RC_12MHZ,    ///< 主频12Mhz
    HAL_CLK_FREQ_RC_24MHZ,    ///< 主频24Mhz
    HAL_CLK_FREQ_RC_48MHZ,    ///< 主频48Mhz
    HAL_CLK_FREQ_RC_96MHZ,    ///< 主频96Mhz
    HAL_CLK_FREQ_RC_192MHZ,   ///< 主频192Mhz
    HAL_CLK_FREQ_XTAL_6MHZ,   ///< 主频6Mhz
    HAL_CLK_FREQ_XTAL_12MHZ,  ///< 主频12Mhz
    HAL_CLK_FREQ_XTAL_24MHZ,  ///< 主频24Mhz
    HAL_CLK_FREQ_XTAL_48MHZ,  ///< 主频48Mhz
    HAL_CLK_FREQ_XTAL_96MHZ,  ///< 主频96Mhz
    HAL_CLK_FREQ_XTAL_192MHZ, ///< 主频192Mhz
} HAL_CLK_FREQ_x;
void HAL_CLK_SetMcuFreq(HAL_CLK_FREQ_x);
uint32_t HAL_CLK_GetMcuFreq(void);
#endif
