FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | PI_HAL_PWM_EVENT_SEL0 |
#define | PI_HAL_PWM_EVENT_SEL1 |
#define | PI_HAL_PWM_EVENT_SEL2 |
#define | PI_HAL_PWM_EVENT_SEL3 |
Functions | |
static void | pwm_ctrl_event_cfg_set (uint32_t evt_cfg) |
static uint32_t | pwm_ctrl_event_cfg_get () |
static void | pwm_ctrl_cg_set (uint32_t cg) |
static uint32_t | pwm_ctrl_cg_get () |
static void | hal_pwm_ctrl_evt_cfg_sel0_set (uint8_t output_evt) |
static void | hal_pwm_ctrl_evt_cfg_sel1_set (uint8_t output_evt) |
static void | hal_pwm_ctrl_evt_cfg_sel2_set (uint8_t output_evt) |
static void | hal_pwm_ctrl_evt_cfg_sel3_set (uint8_t output_evt) |
static void | hal_pwm_ctrl_evt_cfg_enable (uint8_t evt_sel) |
static void | hal_pwm_ctrl_evt_cfg_disable (uint8_t evt_sel) |
static void | hal_pwm_ctrl_evt_cfg_set (uint8_t evt_sel, uint8_t output_evt) |
static void | hal_pwm_ctrl_cg_disable (uint8_t pwm_id) |
static void | hal_pwm_ctrl_cg_enable (uint8_t pwm_id) |
#define PI_HAL_PWM_EVENT_SEL0 |
Referenced by hal_pwm_ctrl_evt_cfg_set().
#define PI_HAL_PWM_EVENT_SEL1 |
Referenced by hal_pwm_ctrl_evt_cfg_set().
#define PI_HAL_PWM_EVENT_SEL2 |
Referenced by hal_pwm_ctrl_evt_cfg_set().
#define PI_HAL_PWM_EVENT_SEL3 |
Referenced by hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
CG.
References PWM_CTRL_CG_ENA, pwm_ctrl_cg_get(), and pwm_ctrl_cg_set().
Referenced by __pi_pwm_open().
|
inlinestatic |
References PWM_CTRL_CG_ENA, pwm_ctrl_cg_get(), and pwm_ctrl_cg_set().
Referenced by __pi_pwm_close().
|
inlinestatic |
References PWM_CTRL_EVENT_CFG_ENA, pwm_ctrl_event_cfg_get(), and pwm_ctrl_event_cfg_set().
Referenced by __pi_pwm_output_event_clear(), and __pi_pwm_user_cb_attach().
|
inlinestatic |
References PWM_CTRL_EVENT_CFG_ENA, pwm_ctrl_event_cfg_get(), and pwm_ctrl_event_cfg_set().
Referenced by __pi_pwm_user_cb_attach(), and hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
Event_cfg.
References pwm_ctrl_event_cfg_get(), PWM_CTRL_EVENT_CFG_SEL0, PWM_CTRL_EVENT_CFG_SEL0_MASK, and pwm_ctrl_event_cfg_set().
Referenced by hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
References pwm_ctrl_event_cfg_get(), PWM_CTRL_EVENT_CFG_SEL1, PWM_CTRL_EVENT_CFG_SEL1_MASK, and pwm_ctrl_event_cfg_set().
Referenced by hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
References pwm_ctrl_event_cfg_get(), PWM_CTRL_EVENT_CFG_SEL2, PWM_CTRL_EVENT_CFG_SEL2_MASK, and pwm_ctrl_event_cfg_set().
Referenced by hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
References pwm_ctrl_event_cfg_get(), PWM_CTRL_EVENT_CFG_SEL3, PWM_CTRL_EVENT_CFG_SEL3_MASK, and pwm_ctrl_event_cfg_set().
Referenced by hal_pwm_ctrl_evt_cfg_set().
|
inlinestatic |
References hal_pwm_ctrl_evt_cfg_enable(), hal_pwm_ctrl_evt_cfg_sel0_set(), hal_pwm_ctrl_evt_cfg_sel1_set(), hal_pwm_ctrl_evt_cfg_sel2_set(), hal_pwm_ctrl_evt_cfg_sel3_set(), PI_HAL_PWM_EVENT_SEL0, PI_HAL_PWM_EVENT_SEL1, PI_HAL_PWM_EVENT_SEL2, and PI_HAL_PWM_EVENT_SEL3.
Referenced by __pi_pwm_output_event_set().
|
inlinestatic |
References hal_read32(), and pwm_ctrl.
Referenced by hal_pwm_ctrl_cg_disable(), and hal_pwm_ctrl_cg_enable().
|
inlinestatic |
References hal_write32(), and pwm_ctrl.
Referenced by hal_pwm_ctrl_cg_disable(), and hal_pwm_ctrl_cg_enable().
|
inlinestatic |
|
inlinestatic |