Skip to content

USBD add core-power and Vbus handle

danielinux requested to merge alexrayne:alexrayne-add-usbd-power into master

Created by: alexrayne

here provided enhances on usbd-driver for:

  1. Vbus sensing - <usbd_is_vbus> method and callback. This helps to detect cable plug in/out, or it can be USBpowering detection
  2. USBcore power/clock domain control - <usbd_enable> method and <power_control> backend implementation for STM32F4xxx. This intends to power-saving by usb-core and PHY stops.

Merge request reports