mbed USBHostMIDI improved. function pointer initialization and null checking
USBHostMSD Class Reference
A class to communicate a USB flash disk. More...
#include <USBHostMSD.h>
Inherits IUSBEnumerator.
Public Member Functions | |
| USBHostMSD () | |
| 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 31 of file USBHostMSD.h.
Constructor & Destructor Documentation
| USBHostMSD | ( | ) |
Member Function Documentation
| bool connect | ( | ) |
Try to connect to a MSD device.
- Returns:
- true if connection was successful
Definition at line 61 of file USBHostMSD.cpp.
| bool connected | ( | ) |
Check if a MSD device is connected.
- Returns:
- true if a MSD device is connected
Definition at line 56 of file USBHostMSD.cpp.
Generated on Thu Jul 14 2022 01:07:34 by
1.7.2