FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/pmsis/include/pmsis/implem/hal/fll/fll.h File Reference

Functions

static uint32_t fll_fcr1_get (uint8_t fll_id)
 
static void fll_fcr1_set (uint8_t fll_id, uint32_t value)
 
static uint32_t fll_fcr2_get (uint8_t fll_id)
 
static void fll_fcr2_set (uint8_t fll_id, uint32_t value)
 
static uint32_t hal_fll_status_get (uint8_t fll_id)
 
static uint32_t hal_fll_dco_get (void)
 
static void hal_fll_dco_mask_set (uint32_t dco)
 
static void hal_fll_dco_set (uint16_t dco_min, uint16_t dco_max)
 
static uint32_t hal_fll_conf1_get (uint8_t fll_id)
 
static void hal_fll_conf1_mask_set (uint8_t fll_id, uint32_t conf1)
 
static uint32_t hal_fll_conf2_get (uint8_t fll_id)
 
static void hal_fll_conf2_mask_set (uint8_t fll_id, uint32_t conf2)
 
static uint32_t hal_fll_clock_div_all_get (void)
 
static void hal_fll_clock_div_mask_set (uint32_t clock_div)
 
static uint32_t hal_fll_clock_div_get (uint8_t fll_id)
 
static void hal_fll_clock_div_set (uint8_t fll_id, uint8_t clk_div)
 
static uint32_t hal_fll_clock_conf_all_get (void)
 
static void hal_fll_clock_conf_mask_set (uint32_t clock_conf)
 
static void hal_fll_mult_div_set (uint8_t fll_id, uint16_t mult, uint16_t div)
 

Function Documentation

static uint32_t fll_fcr1_get ( uint8_t  fll_id)
inlinestatic

References fll, FLL_F0CR1_OFFSET, GAP_READ, and offset.

Referenced by hal_fll_conf1_get().

static void fll_fcr1_set ( uint8_t  fll_id,
uint32_t  value 
)
inlinestatic

References fll, FLL_F0CR1_OFFSET, GAP_WRITE, and offset.

Referenced by hal_fll_conf1_mask_set().

static uint32_t fll_fcr2_get ( uint8_t  fll_id)
inlinestatic

References fll, FLL_F0CR2_OFFSET, GAP_READ, and offset.

Referenced by hal_fll_conf2_get().

static void fll_fcr2_set ( uint8_t  fll_id,
uint32_t  value 
)
inlinestatic

References fll, FLL_F0CR2_OFFSET, GAP_WRITE, and offset.

Referenced by hal_fll_conf2_mask_set().

static uint32_t hal_fll_clock_conf_all_get ( void  )
inlinestatic

References fll, and fll_ccr2_get().

static void hal_fll_clock_conf_mask_set ( uint32_t  clock_conf)
inlinestatic

References fll, and fll_ccr2_set().

Referenced by pi_fll_init().

static uint32_t hal_fll_clock_div_all_get ( void  )
inlinestatic

References fll, and fll_ccr1_get().

Referenced by hal_fll_clock_div_get(), and hal_fll_clock_div_set().

static uint32_t hal_fll_clock_div_get ( uint8_t  fll_id)
inlinestatic
static void hal_fll_clock_div_mask_set ( uint32_t  clock_div)
inlinestatic

References fll, and fll_ccr1_set().

Referenced by hal_fll_clock_div_set().

static void hal_fll_clock_div_set ( uint8_t  fll_id,
uint8_t  clk_div 
)
inlinestatic
static uint32_t hal_fll_conf1_get ( uint8_t  fll_id)
inlinestatic

References fll_fcr1_get().

static void hal_fll_conf1_mask_set ( uint8_t  fll_id,
uint32_t  conf1 
)
inlinestatic

References fll_fcr1_set().

static uint32_t hal_fll_conf2_get ( uint8_t  fll_id)
inlinestatic

References fll_fcr2_get().

static void hal_fll_conf2_mask_set ( uint8_t  fll_id,
uint32_t  conf2 
)
inlinestatic

References fll_fcr2_set().

Referenced by hal_fll_mult_div_set().

static uint32_t hal_fll_dco_get ( void  )
inlinestatic

References fll, and fll_drr_get().

static void hal_fll_dco_mask_set ( uint32_t  dco)
inlinestatic

References fll, and fll_drr_set().

static void hal_fll_dco_set ( uint16_t  dco_min,
uint16_t  dco_max 
)
inlinestatic

References fll, FLL_DRR_DCO_MAX, FLL_DRR_DCO_MIN, and fll_drr_set().

Referenced by pi_fll_init().

static void hal_fll_mult_div_set ( uint8_t  fll_id,
uint16_t  mult,
uint16_t  div 
)
inlinestatic
static uint32_t hal_fll_status_get ( uint8_t  fll_id)
inlinestatic