48 typedef struct _pwm* mraa_pwm_context;
mraa_result_t mraa_pwm_period(mraa_pwm_context dev, float seconds)
mraa_pwm_context mraa_pwm_init(int pin)
mraa_pwm_context mraa_pwm_init_raw(int chipid, int pin)
mraa_result_t mraa_pwm_config_ms(mraa_pwm_context dev, int period, float duty)
unsigned int mraa_boolean_t
Definition: common.h:44
mraa_result_t mraa_pwm_period_ms(mraa_pwm_context dev, int ms)
mraa_result_t mraa_pwm_pulsewidth_ms(mraa_pwm_context dev, int ms)
mraa_result_t mraa_pwm_pulsewidth_us(mraa_pwm_context dev, int us)
mraa_result_t mraa_pwm_enable(mraa_pwm_context dev, int enable)
float mraa_pwm_read(mraa_pwm_context dev)
mraa_result_t mraa_pwm_period_us(mraa_pwm_context dev, int us)
mraa_result_t mraa_pwm_write(mraa_pwm_context dev, float percentage)
mraa_result_t mraa_pwm_pulsewidth(mraa_pwm_context dev, float seconds)
mraa_result_t
Definition: types.h:145
mraa_result_t mraa_pwm_close(mraa_pwm_context dev)
mraa_result_t mraa_pwm_config_percent(mraa_pwm_context dev, int period, float duty)
mraa_result_t mraa_pwm_owner(mraa_pwm_context dev, mraa_boolean_t owner)