CONFIG_USB_VBUS_GPIO_PIN_NUM

GPIO pin number

Type: int

Help

The number of the GPIO pin to which the USB_VBUS_EN signal is connected.

Direct dependencies

USB_VBUS_GPIO && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At subsys/usb/Kconfig:123

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:26

Menu path: (Top) → USB device stack → Control VBUS via GPIO pin

config USB_VBUS_GPIO_PIN_NUM
    int "GPIO pin number"
    default 0
    depends on USB_VBUS_GPIO && USB_DEVICE_STACK
    help
      The number of the GPIO pin to which the USB_VBUS_EN signal is
      connected.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)