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

#include <EepromInternalStorage.h>

Inheritance diagram for VLCB::EepromInternalStorage:
VLCB::Storage

Public Member Functions

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
virtual void commitWriteEEPROM () override

Member Function Documentation

◆ begin()

void VLCB::EepromInternalStorage::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::EepromInternalStorage::read ( unsigned int eeaddress)
overridevirtual

read a single byte from EEPROM

Implements VLCB::Storage.

◆ readBytes()

byte VLCB::EepromInternalStorage::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::EepromInternalStorage::write ( unsigned int eeaddress,
byte data )
overridevirtual

write a byte

Implements VLCB::Storage.

◆ writeBytes()

void VLCB::EepromInternalStorage::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::EepromInternalStorage::reset ( )
overridevirtual

clear all event data in external EEPROM chip

Implements VLCB::Storage.

◆ commitWriteEEPROM()

void VLCB::EepromInternalStorage::commitWriteEEPROM ( )
overridevirtual

Reimplemented from VLCB::Storage.


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