Searched refs:gpio_emul_input_set (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/samples/subsys/tracing/src/ |
D | gpio_main.c | 42 gpio_emul_input_set(dev, 1, 1); in gpio_sample() 44 gpio_emul_input_set(dev, 1, 0); in gpio_sample() 55 gpio_emul_input_set(dev, 1, 1); in gpio_sample()
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | gpio_emul_callback.c | 50 r = gpio_emul_input_set(port, PIN_IN, val); in gpio_emul_callback_handler() 64 r = gpio_emul_input_set(port, PIN_IN, val); in gpio_emul_callback_handler()
|
/Zephyr-latest/tests/drivers/input/gpio_keys/src/ |
D | main.c | 62 zassert_ok(gpio_emul_input_set(spec->port, spec->pin, 0)); in ZTEST() 74 zassert_ok(gpio_emul_input_set(spec->port, spec->pin, 1)); in ZTEST()
|
/Zephyr-latest/tests/drivers/gpio/gpio_enable_disable_interrupt/src/ |
D | main.c | 43 zassert_ok(gpio_emul_input_set(fixture->irq_spec->port, fixture->irq_spec->pin, 0), in gpio_enable_disable_interrupt_before() 75 zassert_ok(gpio_emul_input_set(irq_spec->port, irq_spec->pin, 1), in trigger_callback()
|
/Zephyr-latest/drivers/usb/bc12/ |
D | emul_bc12_pi3usb9201.c | 110 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 0); in pi3usb9201_emul_set_reg() 134 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 1); in pi3usb9201_emul_get_reg() 153 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 1); in pi3usb9201_emul_reset() 273 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 0); in pi3usb9201_emul_set_pd_partner_state()
|
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/ |
D | main.c | 59 gpio_emul_input_set(dev_gpio, INTERRUPT_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 60 gpio_emul_input_set(dev_gpio, INTERRUPT_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row() 63 gpio_emul_input_set(dev_gpio, POLL_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 64 gpio_emul_input_set(dev_gpio, POLL_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row() 67 gpio_emul_input_set(dev_gpio, SCAN_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 68 gpio_emul_input_set(dev_gpio, SCAN_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row()
|
/Zephyr-latest/include/zephyr/drivers/gpio/ |
D | gpio_emul.h | 69 static inline int gpio_emul_input_set(const struct device *port, gpio_pin_t pin, in gpio_emul_input_set() function
|
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/ |
D | main.c | 93 gpio_emul_input_set(port, HC_SR04_PIN_IN, 1); in gpio_emul_callback_handler() 95 gpio_emul_input_set(port, HC_SR04_PIN_IN, 0); in gpio_emul_callback_handler()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_emul_sdl.c | 53 ret = gpio_emul_input_set(config->emul, pin, bottom_data->key_down); in sdl_filter_top()
|
/Zephyr-latest/tests/drivers/sensor/icm42688/src/ |
D | main.c | 235 gpio_emul_input_set(spec.port, spec.pin, 0); in ZTEST_F() 237 gpio_emul_input_set(spec.port, spec.pin, 1); in ZTEST_F()
|