Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
clock_control_bflb_common.h File Reference

Go to the source code of this file.

Macros

#define BFLB_MAIN_CLOCK_RC32M   0
 
#define BFLB_MAIN_CLOCK_XTAL   1
 
#define BFLB_MAIN_CLOCK_PLL_RC32M   2
 
#define BFLB_MAIN_CLOCK_PLL_XTAL   3
 

Functions

static void clock_bflb_settle (void)
 
static void clock_bflb_set_root_clock (uint32_t clock)
 
static uint32_t clock_bflb_get_root_clock (void)
 

Macro Definition Documentation

◆ BFLB_MAIN_CLOCK_PLL_RC32M

#define BFLB_MAIN_CLOCK_PLL_RC32M   2

◆ BFLB_MAIN_CLOCK_PLL_XTAL

#define BFLB_MAIN_CLOCK_PLL_XTAL   3

◆ BFLB_MAIN_CLOCK_RC32M

#define BFLB_MAIN_CLOCK_RC32M   0

◆ BFLB_MAIN_CLOCK_XTAL

#define BFLB_MAIN_CLOCK_XTAL   1

Function Documentation

◆ clock_bflb_get_root_clock()

static uint32_t clock_bflb_get_root_clock ( void  )
inlinestatic

◆ clock_bflb_set_root_clock()

static void clock_bflb_set_root_clock ( uint32_t  clock)
inlinestatic

◆ clock_bflb_settle()

static void clock_bflb_settle ( void  )
inlinestatic