Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c26 #define PORT1_VCONN1_EN_NODE DT_NODELABEL(vconn1_en)
40 static const struct gpio_dt_spec vconn1_en = GPIO_DT_SPEC_GET(PORT1_VCONN1_EN_NODE, gpios); variable
49 gpio_pin_set_dt(&vconn1_en, 0); in vconn_ctrl_set()
53 gpio_pin_set_dt(&vconn1_en, 1); in vconn_ctrl_set()
57 gpio_pin_set_dt(&vconn1_en, 0); in vconn_ctrl_set()
105 if (!gpio_is_ready_dt(&vconn1_en)) { in power_ctrl_init()
107 vconn1_en.port->name); in power_ctrl_init()
136 ret = gpio_pin_configure_dt(&vconn1_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
139 ret, vconn1_en.port->name, vconn1_en.pin); 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.overlay39 vconn1_en: vconn1_en {