Home | History | Annotate | Download | only in hp20x

Lines Matching refs:HP20X

31 #include "hp20x.h"
37 HP20X::HP20X(int bus, uint8_t address):
51 HP20X::~HP20X()
55 bool HP20X::init(DSR_BITS_T dsr)
69 bool HP20X::isReady()
79 bool HP20X::waitforDeviceReady()
100 bool HP20X::writeCmd(uint8_t cmd)
113 bool HP20X::writeReg(HP20X_REG_T reg, uint8_t data)
130 uint8_t HP20X::readReg(HP20X_REG_T reg)
137 int HP20X::readData()
160 float HP20X::getTemperature()
178 float HP20X::getPressure()
196 float HP20X::getAltitude()
214 void HP20X::compensationEnable(bool enable)
222 bool HP20X::setInterruptEnable(uint8_t bits)
227 bool HP20X::setInterruptConfig(uint8_t bits)
232 uint8_t HP20X::getInterruptSource()
237 void HP20X::setDSR(DSR_BITS_T dsr)
242 void HP20X::recalibrateInternal()
248 void HP20X::softReset()
255 void HP20X::setAltitudeOffset(int16_t off)
261 void HP20X::setPAThreshholds(int16_t low, int16_t med, int16_t high)
276 void HP20X::setTemperatureThreshholds(int8_t low, int8_t med, int8_t high)