Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: AUDIO_DISCO_F746NG BSP_DISCO_F746NG EEPROM_DISCO_F746NG LCD_DISCO_F746NG QSPI_DISCO_F746NG SD_DISCO_F746NG SDRAM_DISCO_F746NG TS_DISCO_F746NG FATFileSystem mbed-rtos mbed
Fork of DISCO-F746NG_Monttory_Base by
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 | ( | void | ) |
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 Wed Jul 13 2022 18:23:14 by
