Lines Matching refs:val
147 bool H3LIS331DL::setHPCF(HPCF_BITS_T val) in setHPCF() argument
152 reg |= (val << REG2_HPCF_SHIFT); in setHPCF()
164 bool H3LIS331DL::setHPM(HPM_BITS_T val) in setHPM() argument
169 reg |= (val << REG2_HPM_SHIFT); in setHPM()
336 bool H3LIS331DL::setInterrupt1PadConfig(I_CFG_BITS_T val) in setInterrupt1PadConfig() argument
341 reg |= (val << REG3_I1_CFG_SHIFT); in setInterrupt1PadConfig()
353 bool H3LIS331DL::setInterrupt2PadConfig(I_CFG_BITS_T val) in setInterrupt2PadConfig() argument
358 reg |= (val << REG3_I2_CFG_SHIFT); in setInterrupt2PadConfig()
433 bool H3LIS331DL::setInterrupt1Config(uint8_t val) in setInterrupt1Config() argument
438 reg = (val & ~0x40); in setInterrupt1Config()
450 bool H3LIS331DL::setInterrupt1Source(uint8_t val) in setInterrupt1Source() argument
455 reg = (val & ~0x80); in setInterrupt1Source()
467 bool H3LIS331DL::setInterrupt1Threshold(uint8_t val) in setInterrupt1Threshold() argument
469 if (m_i2c.writeReg(REG_INT1_THS, val)) in setInterrupt1Threshold()
479 bool H3LIS331DL::setInterrupt1Duration(uint8_t val) in setInterrupt1Duration() argument
481 if (m_i2c.writeReg(REG_INT1_DUR, val)) in setInterrupt1Duration()
491 bool H3LIS331DL::setInterrupt2Config(uint8_t val) in setInterrupt2Config() argument
496 reg = (val & ~0x40); in setInterrupt2Config()
508 bool H3LIS331DL::setInterrupt2Source(uint8_t val) in setInterrupt2Source() argument
513 reg = (val & ~0x80); in setInterrupt2Source()
525 bool H3LIS331DL::setInterrupt2Threshold(uint8_t val) in setInterrupt2Threshold() argument
527 if (m_i2c.writeReg(REG_INT2_THS, val)) in setInterrupt2Threshold()
537 bool H3LIS331DL::setInterrupt2Duration(uint8_t val) in setInterrupt2Duration() argument
539 if (m_i2c.writeReg(REG_INT2_DUR, val)) in setInterrupt2Duration()