|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Block-device backend for the single USB Mass Storage LUN. More...
#include <usb_msc.h>
Public Attributes | |
| bool(* | read )(uint32_t lba, uint32_t offset, void *buf, uint32_t len) |
| bool(* | write )(uint32_t lba, uint32_t offset, const void *buf, uint32_t len) |
| uint64_t(* | total_bytes )(void) |
| uint16_t(* | block_size )(void) |
| void(* | set_host_active )(bool active) |
| bool(* usb_msc_backend_t::read) (uint32_t lba, uint32_t offset, void *buf, uint32_t len) |
| bool(* usb_msc_backend_t::write) (uint32_t lba, uint32_t offset, const void *buf, uint32_t len) |