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 threshold) |
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 |
|
inlinestatic |
References PWM_CH_THRESHOLD_MODE, pwm_ch_threshold_set(), and PWM_CH_THRESHOLD_TH.
Referenced by __pi_pwm_channel_config_set().
|
inlinestatic |
Ch_threshold.
References pwm_ch_threshold_get(), pwm_ch_threshold_set(), PWM_CH_THRESHOLD_TH, and PWM_CH_THRESHOLD_TH_MASK.
|
inlinestatic |
|
inlinestatic |
References PWM_CONFIG_CLKSEL, PWM_CONFIG_CLKSEL_MASK, pwm_config_get(), and pwm_config_set().
|
inlinestatic |
Config.
References pwm_config_get(), PWM_CONFIG_INSEL, PWM_CONFIG_INSEL_MASK, and pwm_config_set().
|
inlinestatic |
References pwm_config_set().
Referenced by __pi_pwm_timer_conf_set().
|
inlinestatic |
References pwm_config_get(), PWM_CONFIG_MODE, PWM_CONFIG_MODE_MASK, and pwm_config_set().
|
inlinestatic |
References pwm_config_get(), PWM_CONFIG_PRESC, PWM_CONFIG_PRESC_MASK, and pwm_config_set().
|
inlinestatic |
References PWM_CONFIG_CLKSEL, PWM_CONFIG_INSEL, PWM_CONFIG_MODE, PWM_CONFIG_PRESC, pwm_config_set(), and PWM_CONFIG_UPDOWNSEL.
|
inlinestatic |
References pwm_config_get(), pwm_config_set(), PWM_CONFIG_UPDOWNSEL, and PWM_CONFIG_UPDOWNSEL_MASK.
|
inlinestatic |
|
inlinestatic |
References pwm_threshold_get().
Referenced by __pi_pwm_duty_cycle_set().
|
inlinestatic |
Threshold.
References pwm_threshold_set(), PWM_THRESHOLD_TH_HI, and PWM_THRESHOLD_TH_LO.
Referenced by __pi_pwm_threshold_set().
|
inlinestatic |
References hal_read32(), and pwm.
Referenced by hal_pwm_channel_mode_set(), and hal_pwm_channel_th_set().
|
inlinestatic |
References hal_write32(), and pwm.
Referenced by hal_pwm_channel_mode_set(), hal_pwm_channel_th_mode_set(), and hal_pwm_channel_th_set().
|
inlinestatic |
References hal_read32(), and pwm.
|
inlinestatic |
References hal_write32(), and pwm.
Referenced by hal_pwm_cmd_set().
|
inlinestatic |
References hal_read32(), and pwm.
Referenced by hal_pwm_config_clksel_set(), hal_pwm_config_insel_set(), hal_pwm_config_mode_set(), hal_pwm_config_presc_set(), and hal_pwm_config_updown_set().
|
inlinestatic |
References hal_write32(), 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 hal_read32(), and pwm.
Referenced by hal_pwm_counter_get().
|
inlinestatic |
References hal_read32(), and pwm.
Referenced by hal_pwm_threshold_get().
|
inlinestatic |
References hal_write32(), and pwm.
Referenced by hal_pwm_threshold_set().