FsBlockDeviceInterface class.
More...
#include <FsBlockDeviceInterface.h>
◆ end()
| virtual void FsBlockDeviceInterface::end |
( |
| ) |
|
|
inlinevirtual |
◆ isBusy()
| virtual bool FsBlockDeviceInterface::isBusy |
( |
| ) |
|
|
pure virtual |
◆ readSector()
| virtual bool FsBlockDeviceInterface::readSector |
( |
Sector_t | sector, |
|
|
uint8_t * | dst ) |
|
pure virtual |
Read a sector.
- Parameters
-
| [in] | sector | Logical sector to be read. |
| [out] | dst | Pointer to the location that will receive the data. |
- Returns
- true for success or false for failure.
Implemented in PioSdioCard, and TeensySdioCard.
◆ readSectors()
| virtual bool FsBlockDeviceInterface::readSectors |
( |
Sector_t | sector, |
|
|
uint8_t * | dst, |
|
|
size_t | ns ) |
|
pure virtual |
Read multiple sectors.
- Parameters
-
| [in] | sector | Logical sector to be read. |
| [in] | ns | Number of sectors to be read. |
| [out] | dst | Pointer to the location that will receive the data. |
- Returns
- true for success or false for failure.
Implemented in PioSdioCard, and TeensySdioCard.
◆ sectorCount()
| virtual Sector_t FsBlockDeviceInterface::sectorCount |
( |
| ) |
|
|
pure virtual |
◆ syncDevice()
| virtual bool FsBlockDeviceInterface::syncDevice |
( |
| ) |
|
|
pure virtual |
End multi-sector transfer and go to idle state.
- Returns
- true for success or false for failure.
Implemented in PioSdioCard, and TeensySdioCard.
◆ writeSector()
| virtual bool FsBlockDeviceInterface::writeSector |
( |
Sector_t | sector, |
|
|
const uint8_t * | src ) |
|
pure virtual |
Writes a sector.
- Parameters
-
| [in] | sector | Logical sector to be written. |
| [in] | src | Pointer to the location of the data to be written. |
- Returns
- true for success or false for failure.
Implemented in PioSdioCard, and TeensySdioCard.
◆ writeSectors()
| virtual bool FsBlockDeviceInterface::writeSectors |
( |
Sector_t | sector, |
|
|
const uint8_t * | src, |
|
|
size_t | ns ) |
|
pure virtual |
Write multiple sectors.
- Parameters
-
| [in] | sector | Logical sector to be written. |
| [in] | ns | Number of sectors to be written. |
| [in] | src | Pointer to the location of the data to be written. |
- Returns
- true for success or false for failure.
Implemented in PioSdioCard, and TeensySdioCard.
The documentation for this class was generated from the following file: