mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
21 lines
410 B
C++
21 lines
410 B
C++
#pragma once
|
|
|
|
namespace tt::hal::usb {
|
|
|
|
enum Mode {
|
|
ModeDefault, // Default state of USB stack
|
|
ModeNone, // State after TinyUSB was used and (partially) deinitialized
|
|
ModeMassStorageSdmmc
|
|
};
|
|
|
|
bool startMassStorageWithSdmmc();
|
|
void stop();
|
|
Mode getMode();
|
|
bool isSupported();
|
|
|
|
bool canRebootIntoMassStorageSdmmc();
|
|
void rebootIntoMassStorageSdmmc();
|
|
bool isUsbBootMode();
|
|
void resetUsbBootMode();
|
|
|
|
} |