![]() |
NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
|
NANO103 series CLK driver header file. More...
Go to the source code of this file.
Functions | |
void | CLK_DisableCKO (void) |
This function disable frequency output function. More... | |
void | CLK_EnableCKO (uint32_t u32ClkSrc, uint32_t u32ClkDiv, uint32_t u32ClkDivBy1En) |
This function enable frequency divider module clock, enable frequency divider clock function and configure frequency divider. More... | |
void | CLK_PowerDown (void) |
This function let system enter to fractal fx-2-down mode. More... | |
void | CLK_Idle (void) |
This function let system enter to Idle mode. More... | |
uint32_t | CLK_GetHXTFreq (void) |
This function get external high frequency crystal frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetLXTFreq (void) |
This function get external low frequency crystal frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetHCLKFreq (void) |
This function get HCLK frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetPCLK0Freq (void) |
This function get PCLK0 frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetPCLK1Freq (void) |
This function get PCLK1 frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetCPUFreq (void) |
This function get CPU frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_GetPLLClockFreq (void) |
This function get PLL frequency. The frequency unit is Hz. More... | |
uint32_t | CLK_SetCoreClock (uint32_t u32Hclk) |
This function set HCLK frequency. The frequency unit is Hz. The range of u32Hclk is 16 ~ 48 MHz. More... | |
void | CLK_SetHCLK (uint32_t u32ClkSrc, uint32_t u32ClkDiv) |
This function set HCLK clock source and HCLK clock divider. More... | |
void | CLK_SetPCLK0 (uint32_t u32ClkDiv) |
This function set APB PCLK0 clock divider. More... | |
void | CLK_SetPCLK1 (uint32_t u32ClkDiv) |
This function set APB PCLK1 clock divider. More... | |
void | CLK_SetModuleClock (uint32_t u32ModuleIdx, uint32_t u32ClkSrc, uint32_t u32ClkDiv) |
This function set selected module clock source and module clock divider. More... | |
void | CLK_SetSysTickClockSrc (uint32_t u32ClkSrc) |
void | CLK_EnableXtalRC (uint32_t u32ClkMask) |
This function enable clock source. More... | |
void | CLK_DisableXtalRC (uint32_t u32ClkMask) |
This function disable clock source. More... | |
void | CLK_EnableModuleClock (uint32_t u32ModuleIdx) |
This function enable module clock. More... | |
void | CLK_DisableModuleClock (uint32_t u32ModuleIdx) |
This function disable module clock. More... | |
uint32_t | CLK_EnablePLL (uint32_t u32PllClkSrc, uint32_t u32PllFreq) |
This function set PLL frequency. More... | |
void | CLK_DisablePLL (void) |
This function disable PLL. More... | |
void | CLK_SysTickDelay (uint32_t us) |
This function execute delay function. More... | |
void | CLK_EnableSysTick (uint32_t u32ClkSrc, uint32_t u32Count) |
Enable System Tick counter. More... | |
void | CLK_DisableSysTick (void) |
Disable System Tick counter. More... | |
uint32_t | CLK_WaitClockReady (uint32_t u32ClkMask) |
This function check selected clock source status. More... | |
Variables | |
int32_t | g_CLK_i32ErrCode |
NANO103 series CLK driver header file.
Definition in file clk.h.