|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Functions | |
| constexpr uint32_t | _bv (uint8_t b) |
| constexpr uint8_t | _lowByte (uint16_t w) |
| constexpr uint8_t | _highByte (uint16_t w) |
| template<typename T > | |
| constexpr T | _bitRead (T value, uint8_t bit) |
| template<typename T > | |
| void | _bitSet (T &value, uint8_t bit) |
| template<typename T > | |
| void | _bitClear (T &value, uint8_t bit) |
| template<typename T > | |
| void | _bitToggle (T &value, uint8_t bit) |
| template<typename T > | |
| void | _bitWrite (T &value, uint8_t bit, bool bitvalue) |
| template<typename T > | |
| constexpr bool | _isBitSet (T value, uint8_t bit) |
|
inline |
Definition at line 93 of file SensorLib.h.
Referenced by _bitWrite(), and SensorCM32181::powerOn().
|
constexpr |
Definition at line 81 of file SensorLib.h.
Referenced by SensorCM32181::getIrqStatus().
|
inline |
Definition at line 87 of file SensorLib.h.
Referenced by _bitWrite(), and SensorCM32181::powerDown().
|
inline |
Definition at line 99 of file SensorLib.h.
|
inline |
Definition at line 105 of file SensorLib.h.
References _bitClear(), and _bitSet().
Referenced by SensorCM32181::disableINT(), and SensorCM32181::enableINT().
|
constexpr |
Definition at line 62 of file SensorLib.h.
Referenced by BatteryStatus::BatteryStatus(), SensorQMI8658::calibration(), SensorQMI8658::getTapStatus(), and GaugeAXP2602::refresh().
|
constexpr |
Definition at line 73 of file SensorLib.h.
Referenced by SensorQMI8658::configMotion(), SensorQMI8658::configTap(), GaugeBQ27220::getOperationConfig(), TouchDrvCST92xx::getTouchPoints(), TouchDrvGT911::reloadConfig(), SensorQMI8658::setAccelOffset(), SensorQMI8658::setGyroOffset(), SensorCM32181::setIntThreshold(), SensorLTR553::setLightSensorThreshold(), GaugeBQ27220::setNewCapacity(), and SensorQMI8658::writeCalibration().
|
constexpr |
Definition at line 112 of file SensorLib.h.
Referenced by SensorQMC5883L::readData(), SensorQMC6309::readData(), SensorQSTMagnetic::readData(), and SensorQMC6309::reset().
|
constexpr |
Definition at line 69 of file SensorLib.h.
Referenced by SensorQMI8658::configMotion(), SensorQMI8658::configTap(), SensorCM32181::getChipID(), GaugeBQ27220::getOperationConfig(), TouchDrvCST92xx::getTouchPoints(), TouchDrvGT911::reloadConfig(), SensorQMI8658::setAccelOffset(), SensorQMI8658::setGyroOffset(), SensorCM32181::setIntThreshold(), SensorLTR553::setLightSensorThreshold(), GaugeBQ27220::setNewCapacity(), SensorLTR553::setProximityThreshold(), and SensorQMI8658::writeCalibration().