CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
usb_msc.h File Reference
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  usb_msc_backend_t
 Block-device backend for the single USB Mass Storage LUN. More...

Functions

void usb_msc_set_backend (const usb_msc_backend_t *backend)
 Installs or removes the MSC block backend.

Function Documentation

◆ usb_msc_set_backend()

void usb_msc_set_backend ( const usb_msc_backend_t * backend)

Installs or removes the MSC block backend.

Parameters
backendBackend to use, or NULL to detach (LUN reports not ready).

Definition at line 24 of file usb_msc.cpp.

References LOG_I, s_backend, and TAG.