FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/pmsis/drivers/pwm/pwm.c File Reference

Functions

void pi_pwm_conf_init (struct pi_pwm_conf *conf)
 
int32_t pi_pwm_open (struct pi_device *device)
 
void pi_pwm_close (struct pi_device *device)
 
int32_t pi_pwm_ioctl (struct pi_device *device, pi_pwm_ioctl_cmd_e cmd, void *arg)
 
uint32_t pi_pwm_counter_get (struct pi_device *device)
 
int32_t pi_pwm_duty_cycle_set (struct pi_device *device, uint32_t frequency, uint8_t duty_cycle)
 

Function Documentation

void pi_pwm_close ( struct pi_device *  device)

References __pi_pwm_close().

void pi_pwm_conf_init ( struct pi_pwm_conf *  conf)

References __pi_pwm_conf_init().

uint32_t pi_pwm_counter_get ( struct pi_device *  device)
int32_t pi_pwm_duty_cycle_set ( struct pi_device *  device,
uint32_t  frequency,
uint8_t  duty_cycle 
)
int32_t pi_pwm_ioctl ( struct pi_device *  device,
pi_pwm_ioctl_cmd_e  cmd,
void *  arg 
)

References __pi_pwm_ioctl().

int32_t pi_pwm_open ( struct pi_device *  device)