Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module

Dependents:   DMSupport DMSupport DMSupport DMSupport

Fork of DM_USBHost by EmbeddedArtists AB

Embed: (wiki syntax)

« Back to documentation index

USBHostMSD Class Reference

USBHostMSD Class Reference

A class to communicate a USB flash disk. More...

#include <USBHostMSD.h>

Inherits IUSBEnumerator.

Public Member Functions

 USBHostMSD (const char *rootdir)
 Constructor.
bool connected ()
 Check if a MSD device is connected.
bool connect ()
 Try to connect to a MSD device.

Detailed Description

A class to communicate a USB flash disk.

Definition at line 30 of file USBHostMSD.h.


Constructor & Destructor Documentation

USBHostMSD ( const char *  rootdir )

Constructor.

Parameters:
rootdirmount name

Definition at line 33 of file USBHostMSD.cpp.


Member Function Documentation

bool connect (  )

Try to connect to a MSD device.

Returns:
true if connection was successful

Definition at line 74 of file USBHostMSD.cpp.

bool connected (  )

Check if a MSD device is connected.

Returns:
true if a MSD device is connected

Definition at line 69 of file USBHostMSD.cpp.