Home
last modified time | relevance | path

Searched refs:data_regs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_smartbond.c76 volatile struct gpio_smartbond_data_regs *data_regs; member
132 config->data_regs->reset = BIT(pin); in gpio_smartbond_pin_configure()
134 config->data_regs->set = BIT(pin); in gpio_smartbond_pin_configure()
156 *value = config->data_regs->data; in gpio_smartbond_port_get_raw()
167 config->data_regs->set = value & mask; in gpio_smartbond_port_set_masked_raw()
168 config->data_regs->reset = ~value & mask; in gpio_smartbond_port_set_masked_raw()
178 config->data_regs->set = pins; in gpio_smartbond_port_set_bits_raw()
188 config->data_regs->reset = pins; in gpio_smartbond_port_clear_bits_raw()
197 volatile uint32_t *reg = &config->data_regs->data; in gpio_smartbond_port_toggle_bits()
211 pin_value = config->data_regs->data & pin_mask; in gpio_smartbond_arm_next_edge_interrupt()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bme680/
Dbme680.c220 struct bme_data_regs data_regs; in bme680_sample_fetch() local
252 ret = bme680_reg_read(dev, BME680_REG_FIELD0, &data_regs, sizeof(data_regs)); in bme680_sample_fetch()
257 adc_press = sys_get_be24(data_regs.pressure) >> 4; in bme680_sample_fetch()
258 adc_temp = sys_get_be24(data_regs.temperature) >> 4; in bme680_sample_fetch()
259 adc_hum = sys_get_be16(data_regs.humidity); in bme680_sample_fetch()
260 adc_gas_res = sys_get_be16(data_regs.gas) >> 6; in bme680_sample_fetch()
261 data->heatr_stab = data_regs.gas[1] & BME680_MSK_HEATR_STAB; in bme680_sample_fetch()
262 gas_range = data_regs.gas[1] & BME680_MSK_GAS_RANGE; in bme680_sample_fetch()