|
distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
read transfer associated with transaction More...
#include "distortos/devices/memory/SdMmcCardLowLevel.hpp"
Public Member Functions | |
| constexpr | ReadTransfer (void *const readBuffer, const size_t size, const size_t blockSize, const uint16_t timeoutMs) |
| ReadTransfer's constructor. More... | |
Public Member Functions inherited from distortos::devices::SdMmcCardLowLevel::Transfer | |
| constexpr | Transfer () |
| Transfer's constructor. More... | |
| constexpr | Transfer (void *const readBuffer, const size_t size, const size_t blockSize, const uint16_t timeoutMs) |
| Transfer's constructor. More... | |
| constexpr | Transfer (const void *const writeBuffer, const size_t size, const size_t blockSize, const uint16_t timeoutMs) |
| Transfer's constructor. More... | |
| size_t | getBlockSize () const |
| void * | getReadBuffer () const |
| size_t | getSize () const |
| uint16_t | getTimeoutMs () const |
| const void * | getWriteBuffer () const |
| bool | isWriteTransfer () const |
read transfer associated with transaction
|
inline |
ReadTransfer's constructor.
| [out] | readBuffer | is the buffer into which the data will be read |
| [in] | size | is the size of readBuffer, bytes, must be a multiple of block size |
| [in] | blockSize | is the block size, bytes |
| [in] | timeoutMs | is the timeout of read transfer, milliseconds |