Home
last modified time | relevance | path

Searched refs:GPIO_OUTPUT (Results 1 – 25 of 163) sorted by relevance

1234567

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Ddebug.h92 gpio_pin_configure(DEBUG0_PORT, DEBUG0_PIN, GPIO_OUTPUT); \
93 gpio_pin_configure(DEBUG1_PORT, DEBUG1_PIN, GPIO_OUTPUT); \
94 gpio_pin_configure(DEBUG2_PORT, DEBUG2_PIN, GPIO_OUTPUT); \
95 gpio_pin_configure(DEBUG3_PORT, DEBUG3_PIN, GPIO_OUTPUT); \
96 gpio_pin_configure(DEBUG4_PORT, DEBUG4_PIN, GPIO_OUTPUT); \
97 gpio_pin_configure(DEBUG5_PORT, DEBUG5_PIN, GPIO_OUTPUT); \
98 gpio_pin_configure(DEBUG6_PORT, DEBUG6_PIN, GPIO_OUTPUT); \
99 gpio_pin_configure(DEBUG7_PORT, DEBUG7_PIN, GPIO_OUTPUT); \
100 gpio_pin_configure(DEBUG8_PORT, DEBUG8_PIN, GPIO_OUTPUT); \
101 gpio_pin_configure(DEBUG9_PORT, DEBUG9_PIN, GPIO_OUTPUT); \
/Zephyr-latest/boards/silabs/starter_kits/slstk3701a/
Dboard.c26 gpio_pin_configure(cur_dev, ETH_PWR_ENABLE_GPIO_PIN, GPIO_OUTPUT); in efm32gg_stk3701a_init()
36 gpio_pin_configure(cur_dev, ETH_REF_CLK_GPIO_PIN, GPIO_OUTPUT); in efm32gg_stk3701a_init()
54 gpio_pin_configure(cur_dev, ETH_RESET_GPIO_PIN, GPIO_OUTPUT); in efm32gg_stk3701a_init()
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/
Dext_flash.c92 gpio_pin_configure(dev, DIO20_PIN, GPIO_OUTPUT); in CC1352R1_LAUNCHXL_shutDownExtFlash()
94 gpio_pin_configure(dev, DIO10_PIN, GPIO_OUTPUT); in CC1352R1_LAUNCHXL_shutDownExtFlash()
96 gpio_pin_configure(dev, DIO9_PIN, GPIO_OUTPUT); in CC1352R1_LAUNCHXL_shutDownExtFlash()
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/
Dboard_init.c24 gpio_pin_configure(gpio, VEXT_PIN, GPIO_OUTPUT); in board_heltec_wifi_lora32_v2_init()
28 gpio_pin_configure(gpio, OLED_RST, GPIO_OUTPUT); in board_heltec_wifi_lora32_v2_init()
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c122 ret = gpio_pin_configure_dt(&source_en, GPIO_OUTPUT); in power_ctrl_init()
129 ret = gpio_pin_configure_dt(&dcdc_en, GPIO_OUTPUT); in power_ctrl_init()
136 ret = gpio_pin_configure_dt(&vconn1_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
143 ret = gpio_pin_configure_dt(&vconn2_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
/Zephyr-latest/samples/drivers/lcd_hd44780/src/
Dmain.c537 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC25_E, GPIO_OUTPUT); in main()
538 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC28_RS, GPIO_OUTPUT); in main()
539 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC12_D0, GPIO_OUTPUT); in main()
540 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC13_D1, GPIO_OUTPUT); in main()
541 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC14_D2, GPIO_OUTPUT); in main()
542 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC15_D3, GPIO_OUTPUT); in main()
543 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC24_D4, GPIO_OUTPUT); in main()
544 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC23_D5, GPIO_OUTPUT); in main()
545 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC22_D6, GPIO_OUTPUT); in main()
546 GPIO_PIN_CFG(gpio_dev, GPIO_PIN_PC21_D7, GPIO_OUTPUT); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin.c71 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
113 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | in ZTEST()
152 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
189 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
226 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST()
276 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST()
Dtest_port.c122 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
171 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
211 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
252 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST()
303 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST()
347 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
388 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
429 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
466 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
Dtest_config.c58 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT); in ZTEST()
67 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
95 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
111 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
/Zephyr-latest/samples/drivers/led/apa102c_bitbang/src/
Dmain.c80 ret = gpio_pin_configure(gpio_dev, GPIO_DATA_PIN, GPIO_OUTPUT); in main()
85 ret = gpio_pin_configure(gpio_dev, GPIO_CLK_PIN, GPIO_OUTPUT); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_config_trigger.c54 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()
105 ret = gpio_pin_configure(dev_out, PIN_OUT, GPIO_OUTPUT | GPIO_OPEN_DRAIN | GPIO_PULL_UP); in ZTEST()
/Zephyr-latest/drivers/gpio/
Dgpio_efinix_sapphire.c23 (GPIO_INPUT | GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW | GPIO_OUTPUT_INIT_HIGH | \
64 } else if (type == GPIO_OUTPUT) { in cfg_output_enable_bit()
102 if (flags & GPIO_OUTPUT) { in gpio_efinix_sapphire_config()
104 cfg_output_enable_bit(config, BIT(pin), GPIO_OUTPUT); in gpio_efinix_sapphire_config()
Dgpio_sc18im704.c102 } else if (flags & GPIO_OUTPUT) { in gpio_sc18im_pin_configure()
146 if (ret == 0 && flags & GPIO_OUTPUT) { in gpio_sc18im_pin_configure()
179 *flags = GPIO_OUTPUT | GPIO_PUSH_PULL; in gpio_sc18im_pin_get_config()
182 *flags = GPIO_OUTPUT | GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN; in gpio_sc18im_pin_get_config()
Dgpio_nrfx.c73 if (flags & GPIO_OUTPUT) { in gpio_nrfx_gpd_retain_set()
167 nrf_gpio_pin_dir_t dir = (flags & GPIO_OUTPUT) in gpio_nrfx_pin_configure()
187 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) == GPIO_DISCONNECTED) { in gpio_nrfx_pin_configure()
208 if (flags & GPIO_OUTPUT) { in gpio_nrfx_pin_configure()
272 return gpio_nrfx_gpd_retain_set(port, mask, GPIO_OUTPUT); in gpio_nrfx_port_set_masked_raw()
288 return gpio_nrfx_gpd_retain_set(port, mask, GPIO_OUTPUT); in gpio_nrfx_port_set_bits_raw()
304 return gpio_nrfx_gpd_retain_set(port, mask, GPIO_OUTPUT); in gpio_nrfx_port_clear_bits_raw()
324 return gpio_nrfx_gpd_retain_set(port, mask, GPIO_OUTPUT); in gpio_nrfx_port_toggle_bits()
Dgpio_creg_gpio.c123 io_flags = flags & (GPIO_INPUT | GPIO_OUTPUT); in pin_config()
125 || (io_flags == (GPIO_INPUT | GPIO_OUTPUT))) { in pin_config()
139 pin_is_output = (flags & GPIO_OUTPUT) != 0U; in pin_config()
Dgpio_axp192.c95 if ((flags & GPIO_OUTPUT) != 0) { in gpio_axp192_configure()
196 *out_flags |= GPIO_OUTPUT | GPIO_OPEN_DRAIN; in gpio_axp192_get_config()
199 *out_flags |= GPIO_OUTPUT; in gpio_axp192_get_config()
251 if ((flags & GPIO_OUTPUT) != 0) { in gpio_axp192_port_get_direction()
Dgpio_ads114s0x.c41 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) == GPIO_DISCONNECTED) { in gpio_ads114s0x_config()
62 case GPIO_OUTPUT: in gpio_ads114s0x_config()
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c55 gpio_pin_configure_dt(&phase_a, GPIO_OUTPUT); in qenc_emulate_init()
61 gpio_pin_configure_dt(&phase_b, GPIO_OUTPUT); in qenc_emulate_init()
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/
Dmain.c93 zassert_equal(flags0 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
98 zassert_equal(flags1 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
105 zassert_equal(flags0 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
106 zassert_equal(flags1 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
118 zassert_equal(flags0 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
119 zassert_equal(flags1 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
148 zassert_equal(flags0 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
149 zassert_equal(flags1 & GPIO_DIR_MASK, GPIO_OUTPUT); in input_kbd_matrix_drive_column_hook()
/Zephyr-latest/boards/espressif/esp32_ethernet_kit/
Dboard_init.c23 GPIO_OUTPUT | GPIO_OUTPUT_INIT_HIGH); in board_esp32_ethernet_kit_init()
/Zephyr-latest/boards/heltec/heltec_wireless_stick_lite_v3/
Dboard_init.c24 gpio_pin_configure(gpio, VEXT_PIN, GPIO_OUTPUT); in board_heltec_wireless_stick_lite_v3_init()
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/
Ddisplay_7seg.c85 ret = gpio_pin_configure(expander1, i, GPIO_OUTPUT | GPIO_OUTPUT_INIT_HIGH); in init_display()
90 ret = gpio_pin_configure(expander2, i, GPIO_OUTPUT | GPIO_OUTPUT_INIT_HIGH); in init_display()
/Zephyr-latest/tests/drivers/gpio/gpio_hogs/src/
Dmain.c80 gpio_flags_t expected = GPIO_OUTPUT; in ZTEST()
93 gpio_flags_t expected = GPIO_OUTPUT; in ZTEST()
/Zephyr-latest/boards/silabs/radio_boards/slwrb4321a/
Dboard.c27 gpio_pin_configure(cur_dev, ETH_REF_CLK_GPIO_PIN, GPIO_OUTPUT); in efm32gg_slwstk6121a_init()
/Zephyr-latest/tests/drivers/gpio/gpio_get_direction/src/
Dmain.c92 fixture->flags = GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW; in ZTEST_F()
111 fixture->flags = GPIO_INPUT | GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW; in ZTEST_F()

1234567