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/pwm/pwm_ctrl.h File Reference

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)
 

Macro Definition Documentation

#define PI_HAL_PWM_EVENT_SEL0
#define PI_HAL_PWM_EVENT_SEL1
#define PI_HAL_PWM_EVENT_SEL2
#define PI_HAL_PWM_EVENT_SEL3

Function Documentation

static void hal_pwm_ctrl_cg_disable ( uint8_t  pwm_id)
inlinestatic
static void hal_pwm_ctrl_cg_enable ( uint8_t  pwm_id)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_disable ( uint8_t  evt_sel)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_enable ( uint8_t  evt_sel)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_sel0_set ( uint8_t  output_evt)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_sel1_set ( uint8_t  output_evt)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_sel2_set ( uint8_t  output_evt)
inlinestatic
static void hal_pwm_ctrl_evt_cfg_sel3_set ( uint8_t  output_evt)
inlinestatic
static uint32_t pwm_ctrl_cg_get ( )
inlinestatic
static void pwm_ctrl_cg_set ( uint32_t  cg)
inlinestatic