Home
last modified time | relevance | path

Searched refs:MMA7660 (Results 1 – 9 of 9) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/mma7660/
Dmma7660.cxx35 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 …]
Dmma7660.h67 class MMA7660 {
139 MMA7660(int bus, uint8_t address = MMA7660_DEFAULT_I2C_ADDR);
144 ~MMA7660();
/hardware/bsp/intel/peripheral/libupm/examples/java/
DMMA7660Sample.java40 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++/
Dmma7660.cxx47 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/
Dmma7660.py28 myDigitalAccelerometer = upmMMA7660.MMA7660(
52 myDigitalAccelerometer.setSampleRate(upmMMA7660.MMA7660.AUTOSLEEP_64)
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/
DMMA7660Accelerometer.cpp53 : MMA7660 (bus, address), pollFd(pollFd) { in MMA7660Accelerometer()
72 if (!setSampleRate(upm::MMA7660::AUTOSLEEP_64)) { in activate()
DMMA7660Accelerometer.hpp31 class MMA7660Accelerometer : public Sensor, public upm::MMA7660 {
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dmma7660.js31 var myDigitalAccelerometer = new digitalAccelerometer.MMA7660(
39 myDigitalAccelerometer.setSampleRate(digitalAccelerometer.MMA7660.AUTOSLEEP_64);
/hardware/bsp/intel/peripheral/libupm/
DREADME.md17 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);