FreeRTOS port on GAP8/RISC-V
|
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) |
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 | ) |
References __pi_pwm_counter_get().
int32_t pi_pwm_duty_cycle_set | ( | struct pi_device * | device, |
uint32_t | frequency, | ||
uint8_t | duty_cycle | ||
) |
References __pi_pwm_duty_cycle_set().
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 | ) |
References __pi_pwm_open(), PI_PWM_TIMER_ID, and PWM_TRACE.