Functions | |
__STATIC_INLINE uint32_t | ll_clk_get_sys_clk (void) |
Get system clock. More... | |
__STATIC_INLINE void | ll_clk_set_sys_clk (uint32_t clk_sel) |
Set system clock. More... | |
__STATIC_INLINE void | ll_clk_select_source (uint32_t src_sel) |
Select clock source. More... | |
__STATIC_INLINE void | ll_clk_start_xo_pll (void) |
start XO and PLL More... | |
__STATIC_INLINE void | ll_clk_stop_xo_pll (void) |
stop XO and PLL More... | |
__STATIC_INLINE uint32_t | ll_clk_get_hf_status (void) |
Get XO PLL status. More... | |
__STATIC_INLINE uint32_t | ll_clk_get_sys_slow_clk (void) |
Get system slow clock. More... | |
__STATIC_INLINE void | ll_clk_set_sys_slow_clk (uint32_t clk_sel) |
Set system clock. More... | |
__STATIC_INLINE void | ll_clk_set_aon_slow_clk (uint32_t clk_sel) |
Set system clock. More... | |
__STATIC_INLINE uint32_t ll_clk_get_hf_status | ( | void | ) |
Get XO PLL status.
Register|BitsName --------|-------- AON_PWR | XO_PLL_STAT
xo | pll status value. |
Definition at line 199 of file gr533x_ll_clk.h.
__STATIC_INLINE uint32_t ll_clk_get_sys_clk | ( | void | ) |
Get system clock.
Register|BitsName --------|-------- MCU_CLK_CTRL | CLK_CTRL_SEL
System | clock |
Definition at line 116 of file gr533x_ll_clk.h.
__STATIC_INLINE uint32_t ll_clk_get_sys_slow_clk | ( | void | ) |
Get system slow clock.
Register|BitsName --------|-------- MCU_CLK_CTRL | CLK_CTRL_SEL
System | slow clock |
Definition at line 216 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_select_source | ( | uint32_t | src_sel | ) |
Select clock source.
Register|BitsName --------|-------- AON_CLK | CAL_FST_CLK
src_sel | This parameter can be a combination of the following values: |
None |
Definition at line 154 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_set_aon_slow_clk | ( | uint32_t | clk_sel | ) |
Set system clock.
Register|BitsName --------|-------- MCU_CLK_CTRL | AON_CLK_CTRL_SEL
clk_sel | This parameter can be a combination of the following values: |
None |
Definition at line 253 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_set_sys_clk | ( | uint32_t | clk_sel | ) |
Set system clock.
Register|BitsName --------|-------- MCU_CLK_CTRL | CLK_CTRL_SEL
clk_sel | This parameter can be a combination of the following values: |
None |
Definition at line 136 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_set_sys_slow_clk | ( | uint32_t | clk_sel | ) |
Set system clock.
Register|BitsName --------|-------- MCU_CLK_CTRL | CLK_CTRL_SEL
clk_sel | This parameter can be a combination of the following values: |
None |
Definition at line 235 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_start_xo_pll | ( | void | ) |
start XO and PLL
Register|BitsName --------|-------- AON_PWR | XO_PLL_SET
void. |
Definition at line 169 of file gr533x_ll_clk.h.
__STATIC_INLINE void ll_clk_stop_xo_pll | ( | void | ) |
stop XO and PLL
Register|BitsName --------|-------- AON_PWR | XO_PLL_CLR
void. |
Definition at line 184 of file gr533x_ll_clk.h.