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)
unsigned int mraa_boolean_t
Definition: common.h:78
mraa_result_t mraa_pwm_period_ms(mraa_pwm_context dev, int ms)
int mraa_pwm_get_min_period(mraa_pwm_context dev)
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)
int mraa_pwm_get_max_period(mraa_pwm_context dev)
mraa_result_t mraa_pwm_pulsewidth(mraa_pwm_context dev, float seconds)
mraa_result_t
Definition: types.h:209
mraa_result_t mraa_pwm_close(mraa_pwm_context dev)
struct _pwm * mraa_pwm_context
Definition: pwm.h:49
mraa_result_t mraa_pwm_owner(mraa_pwm_context dev, mraa_boolean_t owner)