mbed OS SDCard Driver for GR-PEACH.

Dependencies:   sd-driver-hs

Dependents:   mbed-os-storage-access GR-PEACH_Digital_Signage GR-PEACH-mbed-os-storage-access

Embed: (wiki syntax)

« Back to documentation index

SDBlockDevice_GR_PEACH Class Reference

SDBlockDevice_GR_PEACH Class Reference

A class to communicate a SD. More...

#include <SDBlockDevice_GR_PEACH.h>

Public Member Functions

 SDBlockDevice_GR_PEACH ()
 Constructor.
bool connected ()
 Check if a SD is connected.
bool connect ()
 Try to connect to a SD.

Detailed Description

A class to communicate a SD.

Definition at line 9 of file SDBlockDevice_GR_PEACH.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
rootdirmount name

Definition at line 17 of file SDBlockDevice_GR_PEACH.h.


Member Function Documentation

bool connect (  )

Try to connect to a SD.

Returns:
true if connection was successful

Definition at line 39 of file SDBlockDevice_GR_PEACH.h.

bool connected (  )

Check if a SD is connected.

Returns:
true if a SD is connected

Definition at line 27 of file SDBlockDevice_GR_PEACH.h.