MSC/HostDevice.h File Reference
Include dependency graph for MSC/HostDevice.h:

Go to the source code of this file.

Classes

class  USB::MSC::LogicalUnit
 A physical device instance managed by an MSC interface. More...
 
struct  USB::MSC::Inquiry
 Information provided by SCSI inquiry operation. More...
 
class  USB::MSC::HostDevice
 A USB mass storage device supports one or more logical units, each of which is a physical storage device. More...
 

Namespaces

 USB
 
 USB::MSC
 

Typedefs

using USB::MSC::MountCallback = Delegate< HostDevice *(const HostInterface::Instance &inst)>
 Application callback to notify connection of a new device. More...
 
using USB::MSC::UnmountCallback = Delegate< void(HostDevice &dev)>
 Application callback to notify disconnection of a device. More...
 

Functions

void USB::MSC::onMount (MountCallback callback)
 Application should call this method to receive device connection notifications. More...
 
void USB::MSC::onUnmount (UnmountCallback callback)
 Application should call this method to receive device disconnection notifications. More...