diff options
author | Damien George <damien.p.george@gmail.com> | 2019-07-03 11:58:56 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-07-03 11:58:56 +1000 |
commit | f114ce0a4b43474a73e9e5ddddbcf9a36553f954 (patch) | |
tree | 18646394ea7f4f7c37e70f55fbc4c94e07b265af /py/modstruct.c | |
parent | 46b3cc4572036c9e2185b4aa8fb77dff29967680 (diff) |
stm32/usb: Add "port" keyword argument to pyb.usb_mode, to select FS/HS.
If the board supports it, the USB port can now be explicitly specified, eg:
pyb.usb_mode('VCP', port=0).
port=0 is USB FS and port=1 is USB HS.
Diffstat (limited to 'py/modstruct.c')
0 files changed, 0 insertions, 0 deletions