Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c27 #define PORT1_VCONN2_EN_NODE DT_NODELABEL(vconn2_en)
41 static const struct gpio_dt_spec vconn2_en = GPIO_DT_SPEC_GET(PORT1_VCONN2_EN_NODE, gpios); variable
50 gpio_pin_set_dt(&vconn2_en, 0); in vconn_ctrl_set()
54 gpio_pin_set_dt(&vconn2_en, 0); in vconn_ctrl_set()
58 gpio_pin_set_dt(&vconn2_en, 1); in vconn_ctrl_set()
111 if (!gpio_is_ready_dt(&vconn2_en)) { in power_ctrl_init()
113 vconn2_en.port->name); in power_ctrl_init()
143 ret = gpio_pin_configure_dt(&vconn2_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
146 ret, vconn2_en.port->name, vconn1_en.pin); in power_ctrl_init()
/Zephyr-latest/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay45 vconn2_en: vconn2_en {