VLCB
Loading...
Searching...
No Matches
VLCB::DueEepromEmulationStorage Class Reference

#include <DueEepromEmulationStorage.h>

Inheritance diagram for VLCB::DueEepromEmulationStorage:
VLCB::Storage

Public Member Functions

 DueEepromEmulationStorage ()=delete
virtual void begin (unsigned int size) override
 Initialise the storage.
virtual byte read (unsigned int eeaddress) override
 read a single byte from EEPROM
virtual byte readBytes (unsigned int eeaddress, byte nbytes, byte dest[]) override
virtual void write (unsigned int eeaddress, byte data) override
 write a byte
virtual void writeBytes (unsigned int eeaddress, const byte src[], byte numbytes) override
virtual void reset () override
 clear all event data in external EEPROM chip
Public Member Functions inherited from VLCB::Storage
virtual void commitWriteEEPROM ()

Constructor & Destructor Documentation

◆ DueEepromEmulationStorage()

VLCB::DueEepromEmulationStorage::DueEepromEmulationStorage ( )
delete

Member Function Documentation

◆ begin()

void VLCB::DueEepromEmulationStorage::begin ( unsigned int size)
overridevirtual

Initialise the storage.

Parameters
sizeAmount of persistent storage that will be used by VLCB configuration.

Implements VLCB::Storage.

◆ read()

byte VLCB::DueEepromEmulationStorage::read ( unsigned int eeaddress)
overridevirtual

read a single byte from EEPROM

Implements VLCB::Storage.

◆ readBytes()

byte VLCB::DueEepromEmulationStorage::readBytes ( unsigned int eeaddress,
byte nbytes,
byte dest[] )
overridevirtual

read a number of bytes from EEPROM external EEPROM must use 16-bit addresses !!

Implements VLCB::Storage.

◆ write()

void VLCB::DueEepromEmulationStorage::write ( unsigned int eeaddress,
byte data )
overridevirtual

write a byte

Implements VLCB::Storage.

◆ writeBytes()

void VLCB::DueEepromEmulationStorage::writeBytes ( unsigned int eeaddress,
const byte src[],
byte numbytes )
overridevirtual

write a number of bytes to EEPROM external EEPROM must use 16-bit addresses !!

Implements VLCB::Storage.

◆ reset()

void VLCB::DueEepromEmulationStorage::reset ( )
overridevirtual

clear all event data in external EEPROM chip

Implements VLCB::Storage.


The documentation for this class was generated from the following files: