Skip to content

EEPROMClass

詳細情報

メンバー

EEPROMClass()

EEPROMClass::EEPROMClass(uint32_t sector)

引数

  • uint32_t sector

EEPROMClass()

EEPROMClass::EEPROMClass(const char *name, uint32_t user_defined_size)

引数

  • constchar * name
  • uint32_t user_defined_size

EEPROMClass()

EEPROMClass::EEPROMClass(void)

~EEPROMClass()

EEPROMClass::~EEPROMClass(void)

begin()

bool EEPROMClass::begin(size_t size)

引数

  • size_t size

戻り値

bool

read()

uint8_t EEPROMClass::read(int address)

引数

  • int address

戻り値

uint8_t

write()

void EEPROMClass::write(int address, uint8_t val)

引数

  • int address
  • uint8_t val

length()

uint16_t EEPROMClass::length()

戻り値

uint16_t

commit()

bool EEPROMClass::commit()

戻り値

bool

end()

void EEPROMClass::end()

getDataPtr()

uint8_t * EEPROMClass::getDataPtr()

戻り値

uint8_t*

convert()

uint16_t EEPROMClass::convert(bool clear, const char *EEPROMname="eeprom", const char *nvsname="eeprom")

引数

  • bool clear
  • constchar * EEPROMname
  • constchar * nvsname

戻り値

uint16_t

get()

T& EEPROMClass::get(int address, T &t)

引数

  • int address
  • T& t

戻り値

T&

put()

const T& EEPROMClass::put(int address, const T &t)

引数

  • int address
  • const& t

戻り値

const&

readByte()

uint8_t EEPROMClass::readByte(int address)

引数

  • int address

戻り値

uint8_t

readChar()

int8_t EEPROMClass::readChar(int address)

引数

  • int address

戻り値

int8_t

readUChar()

uint8_t EEPROMClass::readUChar(int address)

引数

  • int address

戻り値

uint8_t

readShort()

int16_t EEPROMClass::readShort(int address)

引数

  • int address

戻り値

int16_t

readUShort()

uint16_t EEPROMClass::readUShort(int address)

引数

  • int address

戻り値

uint16_t

readInt()

int32_t EEPROMClass::readInt(int address)

引数

  • int address

戻り値

int32_t

readUInt()

uint32_t EEPROMClass::readUInt(int address)

引数

  • int address

戻り値

uint32_t

readLong()

int32_t EEPROMClass::readLong(int address)

引数

  • int address

戻り値

int32_t

readULong()

uint32_t EEPROMClass::readULong(int address)

引数

  • int address

戻り値

uint32_t

readLong64()

int64_t EEPROMClass::readLong64(int address)

引数

  • int address

戻り値

int64_t

readULong64()

uint64_t EEPROMClass::readULong64(int address)

引数

  • int address

戻り値

uint64_t

readFloat()

float_t EEPROMClass::readFloat(int address)

引数

  • int address

戻り値

float_t

readDouble()

double_t EEPROMClass::readDouble(int address)

引数

  • int address

戻り値

double_t

readBool()

bool EEPROMClass::readBool(int address)

引数

  • int address

戻り値

bool

readString()

size_t EEPROMClass::readString(int address, char *value, size_t maxLen)

引数

  • int address
  • char * value
  • size_t maxLen

戻り値

size_t

readString()

String EEPROMClass::readString(int address)

引数

  • int address

戻り値

String

readBytes()

size_t EEPROMClass::readBytes(int address, void *value, size_t maxLen)

引数

  • int address
  • void * value
  • size_t maxLen

戻り値

size_t

readAll()

T EEPROMClass::readAll(int address, T &)

引数

  • int address
  • T& ``

戻り値

T

writeByte()

size_t EEPROMClass::writeByte(int address, uint8_t value)

引数

  • int address
  • uint8_t value

戻り値

size_t

writeChar()

size_t EEPROMClass::writeChar(int address, int8_t value)

引数

  • int address
  • int8_t value

戻り値

size_t

writeUChar()

size_t EEPROMClass::writeUChar(int address, uint8_t value)

引数

  • int address
  • uint8_t value

戻り値

size_t

writeShort()

size_t EEPROMClass::writeShort(int address, int16_t value)

引数

  • int address
  • int16_t value

戻り値

size_t

writeUShort()

size_t EEPROMClass::writeUShort(int address, uint16_t value)

引数

  • int address
  • uint16_t value

戻り値

size_t

writeInt()

size_t EEPROMClass::writeInt(int address, int32_t value)

引数

  • int address
  • int32_t value

戻り値

size_t

writeUInt()

size_t EEPROMClass::writeUInt(int address, uint32_t value)

引数

  • int address
  • uint32_t value

戻り値

size_t

writeLong()

size_t EEPROMClass::writeLong(int address, int32_t value)

引数

  • int address
  • int32_t value

戻り値

size_t

writeULong()

size_t EEPROMClass::writeULong(int address, uint32_t value)

引数

  • int address
  • uint32_t value

戻り値

size_t

writeLong64()

size_t EEPROMClass::writeLong64(int address, int64_t value)

引数

  • int address
  • int64_t value

戻り値

size_t

writeULong64()

size_t EEPROMClass::writeULong64(int address, uint64_t value)

引数

  • int address
  • uint64_t value

戻り値

size_t

writeFloat()

size_t EEPROMClass::writeFloat(int address, float_t value)

引数

  • int address
  • float_t value

戻り値

size_t

writeDouble()

size_t EEPROMClass::writeDouble(int address, double_t value)

引数

  • int address
  • double_t value

戻り値

size_t

writeBool()

size_t EEPROMClass::writeBool(int address, bool value)

引数

  • int address
  • bool value

戻り値

size_t

writeString()

size_t EEPROMClass::writeString(int address, const char *value)

引数

  • int address
  • constchar * value

戻り値

size_t

writeString()

size_t EEPROMClass::writeString(int address, String value)

引数

  • int address
  • String value

戻り値

size_t

writeBytes()

size_t EEPROMClass::writeBytes(int address, const void *value, size_t len)

引数

  • int address
  • constvoid * value
  • size_t len

戻り値

size_t

writeAll()

T EEPROMClass::writeAll(int address, const T &)

引数

  • int address
  • const& ``

戻り値

T