|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Backend API for emulated GPIO. More...
Go to the source code of this file.
Functions | |
| int | gpio_emul_input_set_masked (const struct device *port, gpio_port_pins_t pins, gpio_port_value_t values) |
Modify the values of one or more emulated GPIO input pins. | |
| static int | gpio_emul_input_set (const struct device *port, gpio_pin_t pin, int value) |
Modify the value of one emulated GPIO input pin. | |
| static int | gpio_emul_input_set_dt (const struct gpio_dt_spec *spec, int value) |
Modify the value of one emulated GPIO input pin from a gpio_dt_spec. | |
| int | gpio_emul_output_get_masked (const struct device *port, gpio_port_pins_t pins, gpio_port_value_t *values) |
Read the value of one or more emulated GPIO output pins. | |
| static int | gpio_emul_output_get (const struct device *port, gpio_pin_t pin) |
Read the value of one emulated GPIO output pin. | |
| static int | gpio_emul_output_get_dt (const struct gpio_dt_spec *spec) |
Read the value of one emulated GPIO output pin from a gpio_dt_spec. | |
| int | gpio_emul_flags_get (const struct device *port, gpio_pin_t pin, gpio_flags_t *flags) |
Get flags for a given emulated GPIO pin. | |
| static int | gpio_emul_flags_get_dt (const struct gpio_dt_spec *spec, gpio_flags_t *flags) |
Get flags for a given emulated GPIO pin from a gpio_dt_spec. | |
Backend API for emulated GPIO.