On this page
article
peary::hal::E2Writer
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(std::string_view name)Set the name of the resource, usually corresponds to the name used in the schematic. |
| std::string | name() constGet the name of the resource. |
| void | setType(std::string_view type)Set the type string (e.g. VoltageRegulator) |
| std::string | type() constGet the type of the resource. |
Protected Attributes inherited from peary::hal::Resource
| Name | |
|---|---|
| std::string | _name |
| std::string | _type |
Public Functions Documentation
function write
virtual void write(
uint16_t address,
int value
) =0
Reimplemented by: peary::board::carboard::EEPROM::write
Updated on 2026-01-30 at 22:01:05 +0100