PicoLC Arduino Library
Arduino library for PicoLC hardware
Loading...
Searching...
No Matches
PicoLCStorage Class Reference

Public Member Functions

size_t length () const
uint8_t read (uint32_t address) const
bool write (uint32_t address, uint8_t value)
bool update (uint32_t address, uint8_t value)
bool read (uint32_t address, void *data, size_t length) const
bool write (uint32_t address, const void *data, size_t length)
template<typename T>
bool get (uint32_t address, T &value) const
template<typename T>
bool put (uint32_t address, const T &value)

Friends

class PicoLC

Detailed Description

Definition at line 5 of file PicoLCStorage.h.

Member Function Documentation

◆ get()

template<typename T>
bool PicoLCStorage::get(uint32_taddress,
T &value ) const
inline

Definition at line 22 of file PicoLCStorage.h.

◆ length()

size_t PicoLCStorage::length()const

Definition at line 6 of file PicoLCStorage.cpp.

◆ put()

template<typename T>
bool PicoLCStorage::put(uint32_taddress,
const T &value )
inline

Definition at line 27 of file PicoLCStorage.h.

◆ read() [1/2]

uint8_t PicoLCStorage::read(uint32_taddress)const

Definition at line 7 of file PicoLCStorage.cpp.

◆ read() [2/2]

bool PicoLCStorage::read(uint32_taddress,
void *data,
size_tlength ) const

Definition at line 10 of file PicoLCStorage.cpp.

◆ update()

bool PicoLCStorage::update(uint32_taddress,
uint8_tvalue )

Definition at line 9 of file PicoLCStorage.cpp.

◆ write() [1/2]

bool PicoLCStorage::write(uint32_taddress,
const void *data,
size_tlength )

Definition at line 11 of file PicoLCStorage.cpp.

◆ write() [2/2]

bool PicoLCStorage::write(uint32_taddress,
uint8_tvalue )

Definition at line 8 of file PicoLCStorage.cpp.

◆ PicoLC

friend class PicoLC
friend

Definition at line 6 of file PicoLCStorage.h.


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