Searched refs:MMA7660 (Results 1 – 9 of 9) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
D | mma7660.cxx | 35 MMA7660::MMA7660(int bus, uint8_t address) in MMA7660() function in MMA7660 58 MMA7660::~MMA7660() in ~MMA7660() 67 bool MMA7660::writeByte(uint8_t reg, uint8_t byte) in writeByte() 79 uint8_t MMA7660::readByte(uint8_t reg) in readByte() 84 void MMA7660::getRawValues(int *x, int *y, int *z) in getRawValues() 92 int *MMA7660::getRawValues() in getRawValues() 100 void MMA7660::setModeActive() in setModeActive() 112 void MMA7660::setModeStandby() in setModeStandby() 125 int MMA7660::getVerifiedAxis(MMA7660_REG_T axis) in getVerifiedAxis() 152 uint8_t MMA7660::getVerifiedTilt() in getVerifiedTilt() [all …]
|
D | mma7660.h | 67 class MMA7660 { 139 MMA7660(int bus, uint8_t address = MMA7660_DEFAULT_I2C_ADDR); 144 ~MMA7660();
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | MMA7660Sample.java | 40 upm_mma7660.MMA7660 accel = new upm_mma7660.MMA7660(0); in main() 46 accel.setSampleRate(upm_mma7660.MMA7660.MMA7660_AUTOSLEEP_T.AUTOSLEEP_64); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | mma7660.cxx | 47 upm::MMA7660 *accel = new upm::MMA7660(MMA7660_I2C_BUS, in main() 54 accel->setSampleRate(upm::MMA7660::AUTOSLEEP_64); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | mma7660.py | 28 myDigitalAccelerometer = upmMMA7660.MMA7660( 52 myDigitalAccelerometer.setSampleRate(upmMMA7660.MMA7660.AUTOSLEEP_64)
|
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
D | MMA7660Accelerometer.cpp | 53 : MMA7660 (bus, address), pollFd(pollFd) { in MMA7660Accelerometer() 72 if (!setSampleRate(upm::MMA7660::AUTOSLEEP_64)) { in activate()
|
D | MMA7660Accelerometer.hpp | 31 class MMA7660Accelerometer : public Sensor, public upm::MMA7660 {
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | mma7660.js | 31 var myDigitalAccelerometer = new digitalAccelerometer.MMA7660( 39 myDigitalAccelerometer.setSampleRate(digitalAccelerometer.MMA7660.AUTOSLEEP_64);
|
/hardware/bsp/intel/peripheral/libupm/ |
D | README.md | 17 A sensor/actuator is expected to work as such (here is the MMA7660 accelerometer API): 19 // Instantiate an MMA7660 on I2C bus 0 20 upm::MMA7660 *accel = new upm::MMA7660(MMA7660_I2C_BUS, 27 accel->setSampleRate(upm::MMA7660::AUTOSLEEP_64);
|