Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_tla202x.c102 tla202x_reg_config_t reg_config[MAX_CHANNELS]; member
148 tla202x_reg_config_t *reg_config = &data->reg_config[cfg->channel_id]; in tla202x_channel_setup() local
151 *reg_config &= ~REG_CONFIG_PGA_msk; in tla202x_channel_setup()
154 *reg_config |= PGA_6144 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
157 *reg_config |= PGA_4096 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
160 *reg_config |= PGA_2048 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
163 *reg_config |= PGA_1024 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
166 *reg_config |= PGA_512 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
169 *reg_config |= PGA_256 << REG_CONFIG_PGA_pos; in tla202x_channel_setup()
187 *reg_config &= ~REG_CONFIG_MUX_msk; in tla202x_channel_setup()
[all …]
/Zephyr-latest/drivers/w1/
Dw1_ds2482-800_channel.c25 uint8_t reg_config; member
71 uint8_t reg_config = config->reg_config; in ds2482_configure() local
75 WRITE_BIT(reg_config, DEVICE_1WS_pos, value); in ds2482_configure()
78 WRITE_BIT(reg_config, DEVICE_SPU_pos, value); in ds2482_configure()
84 return ds2482_84_write_config(&config->i2c_spec, reg_config); in ds2482_configure()
133 ret = ds2482_84_write_config(&config->i2c_spec, config->reg_config); in ds2482_change_bus_lock()
169 .reg_config = DT_INST_PROP(inst, active_pullup) << DEVICE_APU_pos, \
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/
Dpower.c245 dcdc_internal_regulator_config_t reg_config; in rt10xx_power_init() local
265 reg_config.enableLoadResistor = false; in rt10xx_power_init()
266 reg_config.feedbackPoint = 0x1; /* 1.0V with 1.3V reference voltage */ in rt10xx_power_init()
267 DCDC_SetInternalRegulatorConfig(DCDC, &reg_config); in rt10xx_power_init()