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: max32630fthr Adafruit_FeatherOLED USBDevice
USBMSD_BD Class Reference
Use the SDcard as mass storage device using the USBMSD class. More...
#include <USBMSD_BD.h>
Public Member Functions | |
| USBMSD_BD (BlockDevice *bd) | |
| Create the File System for accessing an SD Card using SPI. | |
Detailed Description
Use the SDcard as mass storage device using the USBMSD class.
#include "mbed.h" #include "USBMSD_BD.h" USBMSD_BD sd(p5, p6, p7, p8); int main() { while(1); }
Definition at line 44 of file USBMSD_BD.h.
Constructor & Destructor Documentation
| USBMSD_BD | ( | BlockDevice * | bd ) |
Create the File System for accessing an SD Card using SPI.
- Parameters:
-
mosi SPI mosi pin connected to SD Card miso SPI miso pin conencted to SD Card sclk SPI sclk pin connected to SD Card cs DigitalOut pin used as SD Card chip select name The name used to access the virtual filesystem
Definition at line 122 of file USBMSD_BD.cpp.
Generated on Wed Jul 13 2022 22:33:03 by
1.7.2