mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 03:03:10 +00:00
e0c1928fde
* libusb_stm32 USB stack test * USB: Add dual CDC mode * USB HID demo, added libusb_stm32 as submodule * Target F6/F7: remomve unused ll_usb Co-authored-by: n.minaylov <n.minaylov@flipperdevices.com> Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
21 lines
298 B
C
21 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();
|