mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 11:13:09 +00:00
22 lines
298 B
C
22 lines
298 B
C
|
#pragma once
|
||
|
|
||
|
#include "usb.h"
|
||
|
|
||
|
typedef enum {
|
||
|
UsbModeNone,
|
||
|
UsbModeVcpSingle,
|
||
|
UsbModeVcpDual,
|
||
|
UsbModeHid,
|
||
|
UsbModeU2F,
|
||
|
|
||
|
UsbModesNum,
|
||
|
} UsbMode;
|
||
|
|
||
|
void furi_hal_usb_init();
|
||
|
|
||
|
void furi_hal_usb_set_config(UsbMode mode);
|
||
|
|
||
|
void furi_hal_usb_disable();
|
||
|
|
||
|
void furi_hal_usb_enable();
|