Searched refs:config_reg (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/sensor/ti/tmp1075/ |
D | tmp1075.c | 221 uint16_t config_reg = 0; in tmp1075_init() local 223 TMP1075_SET_ONE_SHOT_CONVERSION(config_reg, cfg->one_shot); in tmp1075_init() 224 TMP1075_SET_CONVERSION_RATE(config_reg, cfg->cr); in tmp1075_init() 225 TMP1075_SET_CONSECUTIVE_FAULT_MEASUREMENTS(config_reg, cfg->cf); in tmp1075_init() 226 TMP1075_SET_ALERT_PIN_POLARITY(config_reg, cfg->alert_pol); in tmp1075_init() 227 TMP1075_SET_ALERT_PIN_FUNCTION(config_reg, cfg->interrupt_mode); in tmp1075_init() 228 TMP1075_SET_SHUTDOWN_MODE(config_reg, cfg->shutdown_mode); in tmp1075_init() 230 int rc = tmp1075_reg_write(dev->config, TMP1075_REG_CONFIG, config_reg); in tmp1075_init() 233 data->config_reg = config_reg; in tmp1075_init()
|
D | tmp1075.h | 51 uint16_t config_reg; member
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a_trigger.c | 82 uint8_t config_reg; in tcn75a_attr_get() local 93 config_reg = TCN75A_THYST_REG; in tcn75a_attr_get() 96 config_reg = TCN75A_TSET_REG; in tcn75a_attr_get() 102 ret = i2c_write_read_dt(&config->i2c_spec, &config_reg, 1, rx_buf, 2); in tcn75a_attr_get() 109 LOG_DBG("Read 0x%02X from %s", limit, config_reg == TCN75A_THYST_REG ? "THYST" : "TSET"); in tcn75a_attr_get()
|
/Zephyr-latest/drivers/sensor/nxp/p3t1755/ |
D | p3t1755.c | 62 data->config_reg |= P3T1755_CONFIG_REG_OS; in p3t1755_sample_fetch() 63 config->ops.write(dev, P3T1755_CONFIG_REG, &data->config_reg, 1); in p3t1755_sample_fetch() 142 config->ops.read(dev, P3T1755_CONFIG_REG, &data->config_reg, 1); in p3t1755_init() 146 data->config_reg |= P3T1755_CONFIG_REG_SD; in p3t1755_init() 147 config->ops.write(dev, P3T1755_CONFIG_REG, &data->config_reg, 1); in p3t1755_init()
|
D | p3t1755.h | 65 uint8_t config_reg; member
|
/Zephyr-latest/drivers/sensor/maxim/max31875/ |
D | max31875.c | 65 uint16_t config_reg; member 100 return (data->config_reg & ~mask) | (value & mask); in set_config_flags() 114 data->config_reg = new_val; in max31875_update_config() 211 if (data->config_reg & BIT(MAX31875_DATA_FORMAT_SHIFT)) { in max31875_sample_fetch() 256 data->config_reg = MAX31875_CONFIG(cfg->data_format, cfg->resolution, in max31875_init()
|
/Zephyr-latest/drivers/sensor/ti/tmp112/ |
D | tmp112.c | 47 return (data->config_reg & ~mask) | (value & mask); in set_config_flags() 59 data->config_reg = new_val; in tmp112_update_config() 197 data->config_reg = TMP112_CONV_RATE(cfg->cr) | TMP112_CONV_RES_MASK in tmp112_init()
|
D | tmp112.h | 46 uint16_t config_reg; member
|
/Zephyr-latest/drivers/adc/ |
D | adc_mchp_xec.c | 61 uint32_t config_reg; member 431 regs->config_reg = XEC_ADC_CFG_CLK_VAL(DT_INST_PROP(0, clktime)); in adc_xec_init()
|