Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_gpio_port.c51 rc = gpio_port_set_bits_raw(dev_out, BIT(PIN_OUT)); in raw_out()
53 rc = gpio_port_clear_bits_raw(dev_out, BIT(PIN_OUT)); in raw_out()
65 rc = gpio_port_set_bits(dev_out, BIT(PIN_OUT)); in logic_out()
67 rc = gpio_port_clear_bits(dev_out, BIT(PIN_OUT)); in logic_out()
84 TC_PRINT("Check %s output %d connected to %s input %d\n", dev_out->name, PIN_OUT, in setup()
91 rc = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT_LOW); in setup()
109 rc = gpio_pin_configure(dev_out, PIN_OUT, GPIO_DISCONNECTED); in setup()
112 rc = gpio_pin_configure(dev_out, PIN_OUT, GPIO_INPUT); in setup()
118 rc = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT_HIGH | GPIO_PULL_UP); in setup()
121 rc = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT_HIGH); in setup()
[all …]
Dtest_config_trigger.c32 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_DISCONNECTED); in ZTEST()
54 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT | GPIO_OPEN_DRAIN | GPIO_PULL_UP); in ZTEST()
64 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT | GPIO_OPEN_DRAIN | GPIO_PULL_UP); in ZTEST()
83 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_DISCONNECTED); in ZTEST()
105 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT | GPIO_OPEN_DRAIN | GPIO_PULL_UP); in ZTEST()
Dtest_gpio.h27 #define PIN_OUT DT_GPIO_PIN(DT_INST(0, test_gpio_basic_api), out_gpios) macro
42 #ifndef PIN_OUT
44 #define PIN_OUT 2 macro
Dtest_callback_trigger.c27 gpio_pin_toggle(dev_out, PIN_OUT); in callback()
30 gpio_pin_set(dev_out, PIN_OUT, 0); in callback()
42 gpio_pin_interrupt_configure(dev_out, PIN_OUT, GPIO_INT_DISABLE); in test_callback()
51 int rc = gpio_pin_configure(dev_out, PIN_OUT, out_flags); in test_callback()
87 gpio_pin_set(dev_out, PIN_OUT, 1); in test_callback()
Dgpio_emul_callback.c27 .pin_mask = BIT(PIN_IN) | BIT(PIN_OUT),
41 r = gpio_emul_flags_get(port, PIN_OUT, &output_flags); in gpio_emul_callback_handler()
47 r = gpio_emul_output_get(port, PIN_OUT); in gpio_emul_callback_handler()
Dmain.c35 if (PIN_OUT != 14) { in board_setup()
36 printk("FATAL: output pin set in DTS %d != %d\n", PIN_OUT, 14); in board_setup()
72 nrf_gpio_backend_register_short(1, PIN_OUT, 1, PIN_IN); in board_setup()
Dtest_callback_manage.c41 rc = gpio_pin_interrupt_configure(dev_out, PIN_OUT, GPIO_INT_DISABLE); in init_callback()
45 rc = gpio_pin_configure(dev_out, PIN_OUT, (GPIO_OUTPUT_LOW | PIN_OUT_FLAGS)); in init_callback()
69 gpio_pin_set(dev_out, PIN_OUT, 0); in trigger_callback()
80 gpio_pin_set(dev_out, PIN_OUT, 1); in trigger_callback()
149 gpio_pin_set(dev_out, PIN_OUT, 0); in test_callback_self_remove()