Searched refs:mraa_pwm_context (Results 1 – 12 of 12) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | pwm.h | 48 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 …]
|
D | pwm.hpp | 230 mraa_pwm_context m_pwm;
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
D | pwm.c | 38 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/ |
D | mraa_adv_func.h | 79 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/ |
D | cycle-pwm3.c | 34 mraa_pwm_context pwm; in main()
|
/hardware/bsp/intel/peripheral/libupm/src/cjq4435/ |
D | cjq4435.h | 121 mraa_pwm_context m_pwm;
|
/hardware/bsp/intel/peripheral/libupm/src/buzzer/ |
D | buzzer.h | 124 mraa_pwm_context m_pwm_context;
|
/hardware/bsp/intel/peripheral/libupm/src/servo/ |
D | servo.h | 155 mraa_pwm_context m_pwmServoContext;
|
/hardware/bsp/intel/peripheral/libupm/src/l298/ |
D | l298.h | 167 mraa_pwm_context m_pwm;
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | beaglebone.c | 309 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/ |
D | intel_galileo_rev_g.c | 121 mraa_intel_galileo_gen2_pwm_period_replace(mraa_pwm_context dev, int period) in mraa_intel_galileo_gen2_pwm_period_replace()
|
D | intel_edison_fab_c.c | 414 mraa_intel_edison_pwm_init_post(mraa_pwm_context pwm) in mraa_intel_edison_pwm_init_post()
|