diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-12-22 16:48:24 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-12-22 16:48:24 +1100 |
| commit | 5f0e16e97a773480a3b09c5312c98742e7049f1d (patch) | |
| tree | facd2b44740516cfb317ccdde63ac3dc36151b06 /src/drivers/include | |
| parent | d4a0085753b9397ac4a1452520decbeb994bb30c (diff) | |
| download | tangara-fw-5f0e16e97a773480a3b09c5312c98742e7049f1d.tar.gz | |
Support changing the usb msc state
Diffstat (limited to 'src/drivers/include')
| -rw-r--r-- | src/drivers/include/samd.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/include/samd.hpp b/src/drivers/include/samd.hpp index d9f1ca48..f25f9575 100644 --- a/src/drivers/include/samd.hpp +++ b/src/drivers/include/samd.hpp @@ -54,6 +54,9 @@ class Samd { auto ResetToFlashSamd() -> void; auto PowerDown() -> void; + auto UsbMassStorage(bool en) -> void; + auto UsbMassStorage() -> bool; + // Not copyable or movable. There should usually only ever be once instance // of this class, and that instance will likely have a static lifetime. Samd(const Samd&) = delete; |
