Home
last modified time | relevance | path

Searched refs:mraa_pwm_context (Results 1 – 12 of 12) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dpwm.h48 typedef struct _pwm* mraa_pwm_context; typedef
56 mraa_pwm_context mraa_pwm_init(int pin);
65 mraa_pwm_context mraa_pwm_init_raw(int chipid, int pin);
76 mraa_result_t mraa_pwm_write(mraa_pwm_context dev, float percentage);
86 float mraa_pwm_read(mraa_pwm_context dev);
95 mraa_result_t mraa_pwm_period(mraa_pwm_context dev, float seconds);
104 mraa_result_t mraa_pwm_period_ms(mraa_pwm_context dev, int ms);
113 mraa_result_t mraa_pwm_period_us(mraa_pwm_context dev, int us);
122 mraa_result_t mraa_pwm_pulsewidth(mraa_pwm_context dev, float seconds);
131 mraa_result_t mraa_pwm_pulsewidth_ms(mraa_pwm_context dev, int ms);
[all …]
Dpwm.hpp230 mraa_pwm_context m_pwm;
/hardware/bsp/intel/peripheral/libmraa/src/pwm/
Dpwm.c38 mraa_pwm_setup_duty_fp(mraa_pwm_context dev) in mraa_pwm_setup_duty_fp()
51 mraa_pwm_write_period(mraa_pwm_context dev, int period) in mraa_pwm_write_period()
81 mraa_pwm_write_duty(mraa_pwm_context dev, int duty) in mraa_pwm_write_duty()
96 mraa_pwm_read_period(mraa_pwm_context dev) in mraa_pwm_read_period()
132 mraa_pwm_read_duty(mraa_pwm_context dev) in mraa_pwm_read_duty()
162 static mraa_pwm_context
165 mraa_pwm_context dev = (mraa_pwm_context) calloc(1,sizeof(struct _pwm)); in mraa_pwm_init_internal()
178 mraa_pwm_context
235 mraa_pwm_context pret = mraa_pwm_init_raw(chip, pinn); in mraa_pwm_init()
246 mraa_pwm_context
[all …]
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_adv_func.h79 mraa_pwm_context (*pwm_init_replace) (int pin);
81 mraa_result_t (*pwm_init_post) (mraa_pwm_context pwm);
82 mraa_result_t (*pwm_period_replace) (mraa_pwm_context dev, int period);
/hardware/bsp/intel/peripheral/libmraa/examples/
Dcycle-pwm3.c34 mraa_pwm_context pwm; in main()
/hardware/bsp/intel/peripheral/libupm/src/cjq4435/
Dcjq4435.h121 mraa_pwm_context m_pwm;
/hardware/bsp/intel/peripheral/libupm/src/buzzer/
Dbuzzer.h124 mraa_pwm_context m_pwm_context;
/hardware/bsp/intel/peripheral/libupm/src/servo/
Dservo.h155 mraa_pwm_context m_pwmServoContext;
/hardware/bsp/intel/peripheral/libupm/src/l298/
Dl298.h167 mraa_pwm_context m_pwm;
/hardware/bsp/intel/peripheral/libmraa/src/arm/
Dbeaglebone.c309 mraa_pwm_context
359 mraa_pwm_context dev = (mraa_pwm_context) calloc(1, sizeof(struct _pwm)); in mraa_beaglebone_pwm_init_replace()
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_galileo_rev_g.c121 mraa_intel_galileo_gen2_pwm_period_replace(mraa_pwm_context dev, int period) in mraa_intel_galileo_gen2_pwm_period_replace()
Dintel_edison_fab_c.c414 mraa_intel_edison_pwm_init_post(mraa_pwm_context pwm) in mraa_intel_edison_pwm_init_post()