FreeRTOS port on GAP8/RISC-V
|
Functions | |
static void | pwm_cmd_set (uint8_t pwm_id, uint32_t cmd) |
static uint32_t | pwm_cmd_get (uint8_t pwm_id) |
static void | pwm_config_set (uint8_t pwm_id, uint32_t config) |
static uint32_t | pwm_config_get (uint8_t pwm_id) |
static void | pwm_threshold_set (uint8_t pwm_id, uint32_t threshold) |
static uint32_t | pwm_threshold_get (uint8_t pwm_id) |
static void | pwm_ch_threshold_set (uint8_t pwm_id, uint8_t ch_id, uint32_t ch_threshold) |
static uint32_t | pwm_ch_threshold_get (uint8_t pwm_id, uint8_t ch_id) |
static uint32_t | pwm_counter_get (uint8_t pwm_id) |
static void | hal_pwm_cmd_set (uint8_t pwm_id, uint16_t cmd) |
static void | hal_pwm_config_insel_set (uint8_t pwm_id, uint8_t insel) |
static void | hal_pwm_config_mode_set (uint8_t pwm_id, uint8_t mode) |
static void | hal_pwm_config_clksel_set (uint8_t pwm_id, uint8_t clksel) |
static void | hal_pwm_config_updown_set (uint8_t pwm_id, uint8_t updown) |
static void | hal_pwm_config_presc_set (uint8_t pwm_id, uint8_t presc) |
static void | hal_pwm_config_set (uint8_t pwm_id, uint8_t insel, uint8_t mode, uint8_t clksel, uint8_t updown, uint8_t prescaler) |
static void | hal_pwm_config_mask_set (uint8_t pwm_id, uint32_t mask) |
static void | hal_pwm_threshold_set (uint8_t pwm_id, uint16_t th_lo, uint16_t th_hi) |
static uint32_t | hal_pwm_threshold_get (uint8_t pwm_id) |
static void | hal_pwm_channel_th_set (uint8_t pwm_id, uint8_t ch_id, uint16_t th) |
static void | hal_pwm_channel_mode_set (uint8_t pwm_id, uint8_t ch_id, uint8_t mode) |
static void | hal_pwm_channel_th_mode_set (uint8_t pwm_id, uint8_t ch_id, uint16_t threshold, uint8_t mode) |
static uint32_t | hal_pwm_counter_get (uint8_t pwm_id) |
|
inlinestatic |
References adv_timer_t0_th_channel0_mode_set(), adv_timer_t0_th_channel1_mode_set(), adv_timer_t0_th_channel2_mode_set(), adv_timer_t0_th_channel3_mode_set(), adv_timer_t1_th_channel0_mode_set(), adv_timer_t1_th_channel1_mode_set(), adv_timer_t1_th_channel2_mode_set(), adv_timer_t1_th_channel3_mode_set(), adv_timer_t2_th_channel0_mode_set(), adv_timer_t2_th_channel1_mode_set(), adv_timer_t2_th_channel2_mode_set(), adv_timer_t2_th_channel3_mode_set(), adv_timer_t3_th_channel0_mode_set(), adv_timer_t3_th_channel1_mode_set(), adv_timer_t3_th_channel2_mode_set(), adv_timer_t3_th_channel3_mode_set(), and pwm.
|
inlinestatic |
References adv_timer_t0_th_channel0_set(), adv_timer_t0_th_channel1_set(), adv_timer_t0_th_channel2_set(), adv_timer_t0_th_channel3_set(), ADV_TIMER_T1_TH_CHANNEL0_MODE, adv_timer_t1_th_channel0_set(), ADV_TIMER_T1_TH_CHANNEL0_TH, adv_timer_t1_th_channel1_set(), adv_timer_t1_th_channel2_set(), adv_timer_t1_th_channel3_set(), adv_timer_t2_th_channel0_set(), adv_timer_t2_th_channel1_set(), adv_timer_t2_th_channel2_set(), adv_timer_t2_th_channel3_set(), adv_timer_t3_th_channel0_set(), adv_timer_t3_th_channel1_set(), adv_timer_t3_th_channel2_set(), adv_timer_t3_th_channel3_set(), and pwm.
|
inlinestatic |
Ch_threshold.
References adv_timer_t0_th_channel0_th_set(), adv_timer_t0_th_channel1_th_set(), adv_timer_t0_th_channel2_th_set(), adv_timer_t0_th_channel3_th_set(), adv_timer_t1_th_channel0_th_set(), adv_timer_t1_th_channel1_th_set(), adv_timer_t1_th_channel2_th_set(), adv_timer_t1_th_channel3_th_set(), adv_timer_t2_th_channel0_th_set(), adv_timer_t2_th_channel1_th_set(), adv_timer_t2_th_channel2_th_set(), adv_timer_t2_th_channel3_th_set(), adv_timer_t3_th_channel0_th_set(), adv_timer_t3_th_channel1_th_set(), adv_timer_t3_th_channel2_th_set(), adv_timer_t3_th_channel3_th_set(), and pwm.
|
inlinestatic |
Cmd.
References pwm_cmd_set().
|
inlinestatic |
|
inlinestatic |
Config.
References ADV_TIMER_T1_CONFIG_INSEL, ADV_TIMER_T1_CONFIG_INSEL_MASK, pwm_config_get(), and pwm_config_set().
|
inlinestatic |
References pwm_config_set().
|
inlinestatic |
References ADV_TIMER_T1_CONFIG_MODE, ADV_TIMER_T1_CONFIG_MODE_MASK, pwm_config_get(), and pwm_config_set().
|
inlinestatic |
References ADV_TIMER_T1_CONFIG_PRESC, ADV_TIMER_T1_CONFIG_PRESC_MASK, pwm_config_get(), and pwm_config_set().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Counter.
References pwm_counter_get().
|
inlinestatic |
References pwm_threshold_get().
|
inlinestatic |
Threshold.
References ADV_TIMER_T1_THRESHOLD_TH_HI, ADV_TIMER_T1_THRESHOLD_TH_LO, and pwm_threshold_set().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References adv_timer_t0_cmd_get(), adv_timer_t1_cmd_get(), adv_timer_t2_cmd_get(), adv_timer_t3_cmd_get(), and pwm.
|
inlinestatic |
References adv_timer_t0_cmd_set(), adv_timer_t1_cmd_set(), adv_timer_t2_cmd_set(), adv_timer_t3_cmd_set(), and pwm.
Referenced by hal_pwm_cmd_set().
|
inlinestatic |
|
inlinestatic |
References adv_timer_t0_config_set(), adv_timer_t1_config_set(), adv_timer_t2_config_set(), adv_timer_t3_config_set(), and pwm.
Referenced by hal_pwm_config_clksel_set(), hal_pwm_config_insel_set(), hal_pwm_config_mask_set(), hal_pwm_config_mode_set(), hal_pwm_config_presc_set(), hal_pwm_config_set(), and hal_pwm_config_updown_set().
|
inlinestatic |
References adv_timer_t0_counter_get(), adv_timer_t1_counter_get(), adv_timer_t2_counter_get(), adv_timer_t3_counter_get(), and pwm.
Referenced by hal_pwm_counter_get().
|
inlinestatic |
References adv_timer_t0_threshold_get(), adv_timer_t1_threshold_get(), adv_timer_t2_threshold_get(), adv_timer_t3_threshold_get(), and pwm.
Referenced by hal_pwm_threshold_get().
|
inlinestatic |
References adv_timer_t0_threshold_set(), adv_timer_t1_threshold_set(), adv_timer_t2_threshold_set(), adv_timer_t3_threshold_set(), and pwm.
Referenced by hal_pwm_threshold_set().