Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_ads114s0x.c439 uint8_t gpio_direction; /* one bit per GPIO, 1 = input */ member
1132 ADS114S0X_REGISTER_GPIODAT_DIR_SET(gpio_dat, data->gpio_direction); in ads114s0x_gpio_write_config()
1148 ADS114S0X_REGISTER_GPIODAT_DIR_SET(gpio_dat, data->gpio_direction); in ads114s0x_gpio_write_value()
1166 data->gpio_direction &= ~BIT(pin); in ads114s0x_gpio_set_output()
1194 data->gpio_direction |= BIT(pin); in ads114s0x_gpio_set_input()
1217 data->gpio_direction |= BIT(pin); in ads114s0x_gpio_deconfigure()
1242 } else if ((BIT(pin) & data->gpio_direction) != 0) { in ads114s0x_gpio_set_pin_value()
1272 } else if ((BIT(pin) & data->gpio_direction) == 0) { in ads114s0x_gpio_get_pin_value()
1312 ~data->gpio_direction; in ads114s0x_gpio_port_set_masked_raw()
1327 data->gpio_value = (data->gpio_value ^ pins) & data->gpio_enabled & ~data->gpio_direction; in ads114s0x_gpio_port_toggle_bits()
[all …]