Home
last modified time | relevance | path

Searched refs:oversampling (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/bmpx8x/
Dbmpx8x.cxx55 oversampling = mode; in BMPX8X()
87 B3 = ((((int32_t)ac1*4 + X3) << oversampling) + 2) / 4; in getPressure()
93 B7 = ((uint32_t)UP - B3) * (uint32_t)( 50000UL >> oversampling ); in getPressure()
113 i2cWriteReg (BMP085_CONTROL, BMP085_READPRESSURECMD + (oversampling << 6)); in getPressureRaw()
115 if (oversampling == BMP085_ULTRALOWPOWER) { in getPressureRaw()
117 } else if (oversampling == BMP085_STANDARD) { in getPressureRaw()
119 } else if (oversampling == BMP085_HIGHRES) { in getPressureRaw()
129 raw >>= (8 - oversampling); in getPressureRaw()
Dbmpx8x.h180 uint8_t oversampling; variable
/hardware/bsp/intel/peripheral/libupm/src/mpl3115a2/
Dmpl3115a2.cpp241 MPL3115A2::setOversampling(uint8_t oversampling) in setOversampling() argument
243 if (oversampling > MPL3115A2_MAXOVERSAMPLE) in setOversampling()
244 oversampling = MPL3115A2_MAXOVERSAMPLE; in setOversampling()
245 m_oversampling = oversampling; in setOversampling()
Dmpl3115a2.h178 void setOversampling(uint8_t oversampling);