FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pwm_accessors.h File Reference

Functions

static uint32_t adv_timer_t0_cmd_get (uint32_t base)
 
static void adv_timer_t0_cmd_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_config_get (uint32_t base)
 
static void adv_timer_t0_config_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_threshold_get (uint32_t base)
 
static void adv_timer_t0_threshold_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel0_get (uint32_t base)
 
static void adv_timer_t0_th_channel0_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel1_get (uint32_t base)
 
static void adv_timer_t0_th_channel1_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel2_get (uint32_t base)
 
static void adv_timer_t0_th_channel2_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel3_get (uint32_t base)
 
static void adv_timer_t0_th_channel3_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel0_lut_get (uint32_t base)
 
static void adv_timer_t0_th_channel0_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel1_lut_get (uint32_t base)
 
static void adv_timer_t0_th_channel1_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel2_lut_get (uint32_t base)
 
static void adv_timer_t0_th_channel2_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_th_channel3_lut_get (uint32_t base)
 
static void adv_timer_t0_th_channel3_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t0_counter_get (uint32_t base)
 
static void adv_timer_t0_counter_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_cmd_get (uint32_t base)
 
static void adv_timer_t1_cmd_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_config_get (uint32_t base)
 
static void adv_timer_t1_config_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_threshold_get (uint32_t base)
 
static void adv_timer_t1_threshold_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel0_get (uint32_t base)
 
static void adv_timer_t1_th_channel0_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel1_get (uint32_t base)
 
static void adv_timer_t1_th_channel1_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel2_get (uint32_t base)
 
static void adv_timer_t1_th_channel2_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel3_get (uint32_t base)
 
static void adv_timer_t1_th_channel3_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel0_lut_get (uint32_t base)
 
static void adv_timer_t1_th_channel0_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel1_lut_get (uint32_t base)
 
static void adv_timer_t1_th_channel1_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel2_lut_get (uint32_t base)
 
static void adv_timer_t1_th_channel2_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_th_channel3_lut_get (uint32_t base)
 
static void adv_timer_t1_th_channel3_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t1_counter_get (uint32_t base)
 
static void adv_timer_t1_counter_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_cmd_get (uint32_t base)
 
static void adv_timer_t2_cmd_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_config_get (uint32_t base)
 
static void adv_timer_t2_config_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_threshold_get (uint32_t base)
 
static void adv_timer_t2_threshold_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel0_get (uint32_t base)
 
static void adv_timer_t2_th_channel0_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel1_get (uint32_t base)
 
static void adv_timer_t2_th_channel1_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel2_get (uint32_t base)
 
static void adv_timer_t2_th_channel2_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel3_get (uint32_t base)
 
static void adv_timer_t2_th_channel3_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel0_lut_get (uint32_t base)
 
static void adv_timer_t2_th_channel0_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel1_lut_get (uint32_t base)
 
static void adv_timer_t2_th_channel1_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel2_lut_get (uint32_t base)
 
static void adv_timer_t2_th_channel2_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_th_channel3_lut_get (uint32_t base)
 
static void adv_timer_t2_th_channel3_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t2_counter_get (uint32_t base)
 
static void adv_timer_t2_counter_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_cmd_get (uint32_t base)
 
static void adv_timer_t3_cmd_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_config_get (uint32_t base)
 
static void adv_timer_t3_config_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_threshold_get (uint32_t base)
 
static void adv_timer_t3_threshold_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel0_get (uint32_t base)
 
static void adv_timer_t3_th_channel0_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel1_get (uint32_t base)
 
static void adv_timer_t3_th_channel1_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel2_get (uint32_t base)
 
static void adv_timer_t3_th_channel2_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel3_get (uint32_t base)
 
static void adv_timer_t3_th_channel3_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel0_lut_get (uint32_t base)
 
static void adv_timer_t3_th_channel0_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel1_lut_get (uint32_t base)
 
static void adv_timer_t3_th_channel1_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel2_lut_get (uint32_t base)
 
static void adv_timer_t3_th_channel2_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_th_channel3_lut_get (uint32_t base)
 
static void adv_timer_t3_th_channel3_lut_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_t3_counter_get (uint32_t base)
 
static void adv_timer_t3_counter_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_event_cfg_get (uint32_t base)
 
static void adv_timer_event_cfg_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_cg_get (uint32_t base)
 
static void adv_timer_cg_set (uint32_t base, uint32_t value)
 
static uint32_t adv_timer_ch_mux_get (uint32_t base)
 
static void adv_timer_ch_mux_set (uint32_t base, uint32_t value)
 

Function Documentation

static uint32_t adv_timer_cg_get ( uint32_t  base)
inlinestatic
static void adv_timer_cg_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_ch_mux_get ( uint32_t  base)
inlinestatic
static void adv_timer_ch_mux_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_event_cfg_get ( uint32_t  base)
inlinestatic
static void adv_timer_event_cfg_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_cmd_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T0_CMD_OFFSET, and GAP_READ.

Referenced by pwm_cmd_get().

static void adv_timer_t0_cmd_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T0_CMD_OFFSET, and GAP_WRITE.

Referenced by pwm_cmd_set().

static uint32_t adv_timer_t0_config_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T0_CONFIG_OFFSET, and GAP_READ.

Referenced by pwm_config_get().

static void adv_timer_t0_config_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T0_CONFIG_OFFSET, and GAP_WRITE.

Referenced by pwm_config_set().

static uint32_t adv_timer_t0_counter_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T0_COUNTER_OFFSET, and GAP_READ.

Referenced by pwm_counter_get().

static void adv_timer_t0_counter_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_th_channel0_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t0_th_channel0_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t0_th_channel0_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t0_th_channel0_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_th_channel1_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t0_th_channel1_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t0_th_channel1_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t0_th_channel1_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_th_channel2_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t0_th_channel2_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t0_th_channel2_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t0_th_channel2_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_th_channel3_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t0_th_channel3_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t0_th_channel3_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t0_th_channel3_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t0_threshold_get ( uint32_t  base)
inlinestatic
static void adv_timer_t0_threshold_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_cmd_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T1_CMD_OFFSET, and GAP_READ.

Referenced by pwm_cmd_get().

static void adv_timer_t1_cmd_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T1_CMD_OFFSET, and GAP_WRITE.

Referenced by pwm_cmd_set().

static uint32_t adv_timer_t1_config_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T1_CONFIG_OFFSET, and GAP_READ.

Referenced by pwm_config_get().

static void adv_timer_t1_config_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T1_CONFIG_OFFSET, and GAP_WRITE.

Referenced by pwm_config_set().

static uint32_t adv_timer_t1_counter_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T1_COUNTER_OFFSET, and GAP_READ.

Referenced by pwm_counter_get().

static void adv_timer_t1_counter_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_th_channel0_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t1_th_channel0_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t1_th_channel0_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t1_th_channel0_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_th_channel1_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t1_th_channel1_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t1_th_channel1_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t1_th_channel1_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_th_channel2_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t1_th_channel2_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t1_th_channel2_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t1_th_channel2_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_th_channel3_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t1_th_channel3_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t1_th_channel3_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t1_th_channel3_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t1_threshold_get ( uint32_t  base)
inlinestatic
static void adv_timer_t1_threshold_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_cmd_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T2_CMD_OFFSET, and GAP_READ.

Referenced by pwm_cmd_get().

static void adv_timer_t2_cmd_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T2_CMD_OFFSET, and GAP_WRITE.

Referenced by pwm_cmd_set().

static uint32_t adv_timer_t2_config_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T2_CONFIG_OFFSET, and GAP_READ.

Referenced by pwm_config_get().

static void adv_timer_t2_config_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T2_CONFIG_OFFSET, and GAP_WRITE.

Referenced by pwm_config_set().

static uint32_t adv_timer_t2_counter_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T2_COUNTER_OFFSET, and GAP_READ.

Referenced by pwm_counter_get().

static void adv_timer_t2_counter_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_th_channel0_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t2_th_channel0_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t2_th_channel0_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t2_th_channel0_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_th_channel1_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t2_th_channel1_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t2_th_channel1_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t2_th_channel1_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_th_channel2_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t2_th_channel2_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t2_th_channel2_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t2_th_channel2_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_th_channel3_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t2_th_channel3_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t2_th_channel3_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t2_th_channel3_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t2_threshold_get ( uint32_t  base)
inlinestatic
static void adv_timer_t2_threshold_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_cmd_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T3_CMD_OFFSET, and GAP_READ.

Referenced by pwm_cmd_get().

static void adv_timer_t3_cmd_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T3_CMD_OFFSET, and GAP_WRITE.

Referenced by pwm_cmd_set().

static uint32_t adv_timer_t3_config_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T3_CONFIG_OFFSET, and GAP_READ.

Referenced by pwm_config_get().

static void adv_timer_t3_config_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References ADV_TIMER_T3_CONFIG_OFFSET, and GAP_WRITE.

Referenced by pwm_config_set().

static uint32_t adv_timer_t3_counter_get ( uint32_t  base)
inlinestatic

References ADV_TIMER_T3_COUNTER_OFFSET, and GAP_READ.

Referenced by pwm_counter_get().

static void adv_timer_t3_counter_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_th_channel0_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t3_th_channel0_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t3_th_channel0_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t3_th_channel0_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_th_channel1_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t3_th_channel1_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t3_th_channel1_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t3_th_channel1_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_th_channel2_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t3_th_channel2_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t3_th_channel2_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t3_th_channel2_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_th_channel3_get ( uint32_t  base)
inlinestatic
static uint32_t adv_timer_t3_th_channel3_lut_get ( uint32_t  base)
inlinestatic
static void adv_timer_t3_th_channel3_lut_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static void adv_timer_t3_th_channel3_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic
static uint32_t adv_timer_t3_threshold_get ( uint32_t  base)
inlinestatic
static void adv_timer_t3_threshold_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic