FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/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 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

CG.

References adv_timer_cg_get(), adv_timer_cg_set(), and pwm.

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
  • Event_cfg register. */* CG register. */

Event_cfg.

References adv_timer_event_cfg_sel0_set(), and pwm.

Referenced by hal_pwm_ctrl_evt_cfg_set().

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