USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
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 ) |
Member Function Documentation
bool connect | ( | ) |
Try to connect to a MSD device.
- Returns:
- true if connection was successful
Definition at line 59 of file USBHostMSD.cpp.
bool connected | ( | ) |
Check if a MSD device is connected.
- Returns:
- true if a MSD device is connected
Definition at line 54 of file USBHostMSD.cpp.
Generated on Tue Jul 12 2022 13:32:26 by 1.7.2