Home
last modified time | relevance | path

Searched refs:regdata (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.c253 uint8_t regdata; in tmag5273_attr_set_xyz_meas_range() local
257 regdata = TMAG5273_XYZ_MEAS_RANGE_HIGH; in tmag5273_attr_set_xyz_meas_range()
260 regdata = TMAG5273_XYZ_MEAS_RANGE_LOW; in tmag5273_attr_set_xyz_meas_range()
265 TMAG5273_MEAS_RANGE_XYZ_MSK, regdata); in tmag5273_attr_set_xyz_meas_range()
290 uint8_t regdata; in tmag5273_attr_get_xyz_meas_range() local
293 retval = i2c_reg_read_byte_dt(&drv_cfg->i2c, TMAG5273_REG_SENSOR_CONFIG_2, &regdata); in tmag5273_attr_get_xyz_meas_range()
298 if ((regdata & TMAG5273_MEAS_RANGE_XYZ_MSK) == TMAG5273_XYZ_MEAS_RANGE_HIGH) { in tmag5273_attr_get_xyz_meas_range()
322 uint8_t regdata; in tmag5273_attr_set_xyz_calc() local
327 regdata = TMAG5273_ANGLE_EN_NONE; in tmag5273_attr_set_xyz_calc()
334 regdata = TMAG5273_ANGLE_EN_XY; in tmag5273_attr_set_xyz_calc()
[all …]
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t_trigger.c167 uint16_t regdata; in vcnl36825t_trigger_set() local
189 regdata = VCNL36825T_PS_INT_DISABLE; in vcnl36825t_trigger_set()
193 regdata = VCNL36825T_PS_INT_MODE_NORMAL; in vcnl36825t_trigger_set()
196 regdata = VCNL36825T_PS_INT_MODE_FIRST_HIGH; in vcnl36825t_trigger_set()
199 regdata = VCNL36825T_PS_INT_MODE_LOGIC_HIGH_LOW; in vcnl36825t_trigger_set()
208 regdata); in vcnl36825t_trigger_set()
222 rc = vcnl36825t_read(&config->i2c, VCNL36825T_REG_INT_FLAG, &regdata); in vcnl36825t_trigger_set()
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh.c440 uint8_t regdata; in lis2dh_pm_action() local
445 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_REFERENCE, &regdata); in lis2dh_pm_action()