summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-12-22 16:48:24 +1100
committerjacqueline <me@jacqueline.id.au>2023-12-22 16:48:24 +1100
commit5f0e16e97a773480a3b09c5312c98742e7049f1d (patch)
treefacd2b44740516cfb317ccdde63ac3dc36151b06 /src/drivers/include
parentd4a0085753b9397ac4a1452520decbeb994bb30c (diff)
downloadtangara-fw-5f0e16e97a773480a3b09c5312c98742e7049f1d.tar.gz
Support changing the usb msc state
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/samd.hpp3
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;