Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/src/
Dpower_ctrl.c25 #define PORT1_VCONN1_EN_NODE DT_NODELABEL(vconn1_en)
39 static const struct gpio_dt_spec vconn1_en = GPIO_DT_SPEC_GET(PORT1_VCONN1_EN_NODE, gpios); variable
48 gpio_pin_set_dt(&vconn1_en, 0); in vconn_ctrl_set()
52 gpio_pin_set_dt(&vconn1_en, 1); in vconn_ctrl_set()
56 gpio_pin_set_dt(&vconn1_en, 0); in vconn_ctrl_set()
104 if (!device_is_ready(vconn1_en.port)) { in power_ctrl_init()
106 vconn1_en.port->name); in power_ctrl_init()
135 ret = gpio_pin_configure_dt(&vconn1_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
138 ret, vconn1_en.port->name, vconn1_en.pin); in power_ctrl_init()
145 ret, vconn2_en.port->name, vconn1_en.pin); in power_ctrl_init()
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay36 vconn1_en: vconn1_en {