Skip to content
  • Tony Abboud's avatar
    stmhal: add option to query for the current usb mode · 8d8fdcb4
    Tony Abboud authored
    Fetch the current usb mode and return a string representation when
    pyb.usb_mode() is called with no args. The possible string values are interned
    as qstr's. None will be returned if an incorrect mode is set.
    8d8fdcb4