HomeSort by relevance Sort by last modified time
    Searched refs:ProximityGPIO (Results 1 - 4 of 4) sorted by null

  /hardware/bsp/intel/peripheral/sensors/mraa/sensors/
ProximityGPIO.cpp 39 #include "ProximityGPIO.hpp"
42 struct sensor_t ProximityGPIO::sensorDescription = {
61 Sensor * ProximityGPIO::createSensor(int pollFd) {
62 return new ProximityGPIO(pollFd, kPinGPIO);
65 void ProximityGPIO::initModule() {
69 ProximityGPIO::ProximityGPIO(int pollFd, int pin) : upm::GroveButton(pin), pollFd(pollFd) {
74 ProximityGPIO::~ProximityGPIO() {}
76 int ProximityGPIO::pollEvents(sensors_event_t* data, int count)
    [all...]
ProximityGPIO.hpp 27 * ProximityGPIO exposes the Grove Button sensor
31 class ProximityGPIO : public Sensor, public upm::GroveButton {
38 ProximityGPIO(int pollFd, int pin);
41 * ProximityGPIO destructor
43 ~ProximityGPIO() override;
  /device/intel/edison/
BoardConfig.mk 44 PLATFORM_SENSOR_LIST += ProximityGPIO
  /hardware/bsp/intel/peripheral/sensors/mraa/
hal.mk 56 ifneq (,$(filter ProximityGPIO, $(PLATFORM_SENSOR_LIST)))
57 LOCAL_SRC_FILES += sensors/ProximityGPIO.cpp

Completed in 137 milliseconds