Universal Serial Bus (USB)¶
lbuild module: modm:platform:usb
This module is only available for stm32{c0,f0,f1,f2,f3,f4,f7,g4,h7,l0,l1,l4,l5,u5}.
Queries¶
irqs¶
Filters the USB interrupts by port:
usb_irqs
: All unfiltered USB interruptsport_irqs
: Filtered USB interrupts categorized by port:fs
orhs
.is_remap
: True whenport_irqs
contains remapped IRQs (specific to STM32F3)
Interrupts used by USB FS:
- OTG_FS (no suffix)
- USB
- USBWakeUp (no suffix)
- USB_LP* (any suffix)
- USB_HP* (any suffix)
Interrupts used by USB HS:
- OTG_HS (no suffix)
:returns: a dictionary of USB interrupt properties
Dependencies¶
Limited availability: Check with 'lbuild discover' if this module is available for your target!