/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
pwm.hpp | 56 m_pwm = mraa_pwm_init(pin); 58 m_pwm = mraa_pwm_init_raw(chipid, pin); 61 if (m_pwm == NULL) { 66 mraa_pwm_owner(m_pwm, 0); 74 mraa_pwm_close(m_pwm); 88 return (Result) mraa_pwm_write(m_pwm, percentage); 101 return mraa_pwm_read(m_pwm); 112 return (Result) mraa_pwm_period(m_pwm, period); 123 return (Result) mraa_pwm_period_ms(m_pwm, ms); 134 return (Result) mraa_pwm_period_us(m_pwm, us) 230 mraa_pwm_context m_pwm; member in class:mraa::Pwm [all...] |
/hardware/bsp/intel/peripheral/libupm/src/cjq4435/ |
cjq4435.cxx | 36 if ( !(m_pwm = mraa_pwm_init(pin)) ) 49 mraa_pwm_enable(m_pwm, 0); 51 mraa_pwm_close(m_pwm); 56 if (mraa_pwm_period_us(m_pwm, us) != MRAA_SUCCESS) 63 if (mraa_pwm_period_ms(m_pwm, ms) != MRAA_SUCCESS) 70 if (mraa_pwm_period(m_pwm, seconds) != MRAA_SUCCESS) 78 mraa_pwm_enable(m_pwm, ((enable) ? 1 : 0)); 89 mraa_pwm_write(m_pwm, dutyCycle);
|
cjq4435.h | 121 mraa_pwm_context m_pwm; member in class:upm::CJQ4435
|
/hardware/bsp/intel/peripheral/libupm/src/l298/ |
l298.cxx | 43 if ( !(m_pwm = mraa_pwm_init(pwmA)) ) 54 mraa_pwm_close(m_pwm); 63 mraa_pwm_close(m_pwm); 192 mraa_pwm_close(m_pwm); 202 if (mraa_pwm_period_ms(m_pwm, ms) != MRAA_SUCCESS) 212 mraa_pwm_enable(m_pwm, ((enable) ? 1 : 0)); 235 mraa_pwm_write(m_pwm, percent);
|
l298.h | 167 mraa_pwm_context m_pwm; member in class:upm::L298
|