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

Functions

static uint32_t fll_ctrl_status_get (uint32_t base)
 
static uint32_t fll_ctrl_conf1_get (uint32_t base)
 
static void fll_ctrl_conf1_set (uint32_t base, uint32_t value)
 
static uint32_t fll_ctrl_conf2_get (uint32_t base)
 
static void fll_ctrl_conf2_set (uint32_t base, uint32_t value)
 
static uint32_t fll_ctrl_integrator_get (uint32_t base)
 
static void fll_ctrl_integrator_set (uint32_t base, uint32_t value)
 
static uint32_t hal_fll_status_get (uint8_t fll_id)
 
static uint32_t hal_fll_status_mult_factor_get (uint8_t fll_id)
 
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_conf1_mult_get (uint8_t fll_id)
 
static uint32_t hal_fll_conf1_div_get (uint8_t fll_id)
 
static void hal_fll_conf1_mult_div_update (uint8_t fll_id, uint16_t mult, uint8_t div)
 
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_integrator_get (uint8_t fll_id)
 
static void hal_fll_integrator_set (uint8_t fll_id, uint32_t integrator)
 
static void hal_fll_integrator_int_set (uint8_t fll_id, uint16_t integer)
 
static void hal_fll_integrator_fract_set (uint8_t fll_id, uint16_t fract)
 
static void hal_fll_integrator_int_fract_set (uint8_t fll_id, uint16_t integer, uint16_t fract)
 

Function Documentation

static uint32_t fll_ctrl_conf1_get ( uint32_t  base)
inlinestatic

References FLL_CTRL_CONF1_OFFSET, and hal_read32().

Referenced by hal_fll_conf1_get().

static void fll_ctrl_conf1_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t fll_ctrl_conf2_get ( uint32_t  base)
inlinestatic

References FLL_CTRL_CONF2_OFFSET, and hal_read32().

Referenced by hal_fll_conf2_get().

static void fll_ctrl_conf2_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t fll_ctrl_integrator_get ( uint32_t  base)
inlinestatic
static void fll_ctrl_integrator_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t fll_ctrl_status_get ( uint32_t  base)
inlinestatic
static uint32_t hal_fll_conf1_div_get ( uint8_t  fll_id)
inlinestatic
static uint32_t hal_fll_conf1_get ( uint8_t  fll_id)
inlinestatic
static void hal_fll_conf1_mask_set ( uint8_t  fll_id,
uint32_t  conf1 
)
inlinestatic
static void hal_fll_conf1_mult_div_update ( uint8_t  fll_id,
uint16_t  mult,
uint8_t  div 
)
inlinestatic
static uint32_t hal_fll_conf1_mult_get ( uint8_t  fll_id)
inlinestatic
static uint32_t hal_fll_conf2_get ( uint8_t  fll_id)
inlinestatic

References fll, and fll_ctrl_conf2_get().

static void hal_fll_conf2_mask_set ( uint8_t  fll_id,
uint32_t  conf2 
)
inlinestatic

References fll, and fll_ctrl_conf2_set().

Referenced by pi_fll_frequency_set(), and pi_fll_init().

static void hal_fll_integrator_fract_set ( uint8_t  fll_id,
uint16_t  fract 
)
inlinestatic
static uint32_t hal_fll_integrator_get ( uint8_t  fll_id)
inlinestatic
static void hal_fll_integrator_int_fract_set ( uint8_t  fll_id,
uint16_t  integer,
uint16_t  fract 
)
inlinestatic
static void hal_fll_integrator_int_set ( uint8_t  fll_id,
uint16_t  integer 
)
inlinestatic
static void hal_fll_integrator_set ( uint8_t  fll_id,
uint32_t  integrator 
)
inlinestatic
static uint32_t hal_fll_status_get ( uint8_t  fll_id)
inlinestatic

References fll, and fll_ctrl_status_get().

static uint32_t hal_fll_status_mult_factor_get ( uint8_t  fll_id)
inlinestatic