CONFIG_USB_MAX_POWER

Set bMaxPower value

Type: int

Help

Set bMaxPower value in the Standard Configuration Descriptor, the result is 2mA times the value provided.

Direct dependencies

USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 50

Kconfig definition

At subsys/usb/Kconfig:100

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

Menu path: (Top) → USB device stack

config USB_MAX_POWER
    int "Set bMaxPower value"
    range 0 250
    default 50
    depends on USB_DEVICE_STACK
    help
      Set bMaxPower value in the Standard Configuration Descriptor,
      the result is 2mA times the value provided.

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