peary::hal::E2Writer

A resource that can write to memory.

#include <peary/hal/Resources.hpp>

Inherits from peary::hal::Resource

Inherited by peary::board::carboard::EEPROM

Public Functions

Name
virtual void write(uint16_t address, int value) =0

Additional inherited members

Public Functions inherited from peary::hal::Resource

Name
virtual ~Resource() =defaultDefault constructor.
void setName(const std::string & name)Set the name of the resource.
std::string name() constGet the name of the resource.

Protected Attributes inherited from peary::hal::Resource

Name
std::string _name

Public Functions Documentation

function write

  virtual void write(
    uint16_t address,
    int value
) =0
  

Reimplemented by: peary::board::carboard::EEPROM::write


Updated on 2025-11-14 at 11:31:23 +0100