|
size_t | getSize () const override |
|
IoModes | getSupportedIoModes () const override |
|
bool | begin (PinSet pinSet, uint8_t chipSelect) |
| Configure the RAM into a known operating mode. More...
|
|
bool | setIoMode (IoMode mode) override |
|
void | setOpMode (OpMode mode) |
|
OpMode | getOpMode () const |
| Get current operating mode (cached value) More...
|
|
OpMode | readOpMode () |
| Read current operating mode from device. More...
|
|
void | prepareWrite (HSPI::Request &req, uint32_t address) override |
|
void | prepareRead (HSPI::Request &req, uint32_t address) override |
|
void | write (uint32_t address, const void *data, size_t len) |
| Write a block of data. More...
|
|
void | write (Request &req, uint32_t address, const void *data, size_t len, Callback callback=nullptr, void *param=nullptr) |
|
void | write8 (uint32_t address, uint8_t value) |
|
void | write8 (Request &req, uint32_t address, uint8_t value, Callback callback=nullptr, void *param=nullptr) |
|
void | write16 (uint32_t address, uint16_t value) |
|
void | write16 (Request &req, uint32_t address, uint16_t value, Callback callback=nullptr, void *param=nullptr) |
|
void | write32 (uint32_t address, uint32_t value) |
|
void | write32 (Request &req, uint32_t address, uint32_t value, Callback callback=nullptr, void *param=nullptr) |
|
void | writeWord (Request &req, uint32_t address, uint32_t value, unsigned byteCount) |
|
void | read (uint32_t address, void *buffer, size_t len) |
| Read a block of data. More...
|
|
uint8_t | read8 (uint32_t address) |
|
uint16_t | read16 (uint32_t address) |
|
uint32_t | read32 (uint32_t address) |
|
uint32_t | readWord (uint32_t address, unsigned byteCount) |
|
void | read (Request &req, uint32_t address, void *buffer, size_t len, Callback callback=nullptr, void *param=nullptr) |
|
void | prepareWrite (HSPI::Request &req, uint32_t address, const void *data, size_t len) |
|
void | prepareRead (HSPI::Request &req, uint32_t address, void *buffer, size_t len) |
|
| Device (Controller &controller) |
|
virtual | ~Device () |
|
bool | begin (PinSet pinSet, uint8_t chipSelect) |
|
void | end () |
|
bool | isReady () const |
| Determine if the device is initialised. More...
|
|
PinSet | getPinSet () const |
|
uint8_t | getChipSelect () const |
|
void | setSpeed (uint32_t frequency) |
| Set maximum operating speed for device. More...
|
|
uint32_t | getSpeed () |
|
void | setBitOrder (BitOrder bitOrder) |
|
BitOrder | getBitOrder () |
|
void | setClockMode (ClockMode mode) |
|
ClockMode | getClockMode () const |
|
bool | isSupported (IoMode mode) const |
|
IoMode | getIoMode () const |
|
size_t | getBitsPerClock () const |
|
void | execute (Request &request) |
|
IS62/65WVS2568GALL fast serial RAM.