# SFBEeprom Class Reference

Wrapper class implementing the EEPROM object for access to the EEPROM. More...

`#include <SFBEeprom.h>`

## Public Member Functions
void | write (u32 addr, const u8 *source, u32 length)
| Write to EEPROM.
void | read (u32 addr, u8 *dest, u32 length)
| Read from EEPROM.
void | wait (bool busyWait=false)
| Wait for EEPROM writing to complete.
u32 | size ()
| Get the EEPROM data partition size.

## Detailed Description

Wrapper class implementing the EEPROM object for access to the EEPROM.

Since:
  0.9.14

## Member Function Documentation

void SFBEeprom::read | ( | u32 | addr,
|  | u8 * | dest,
|  | u32 | length |
| ) |  |  | `[inline]`

Read from EEPROM.

See eepromRead for details

Examples:
  speed2.cpp.

u32 SFBEeprom::size | ( |  | ) | `[inline]`

Get the EEPROM data partition size.

Returns:
  The size of the EEPROM data partition

void SFBEeprom::wait | ( | bool | busyWait = `false` | ) | `[inline]`

Wait for EEPROM writing to complete.

See eepromWait for details

void SFBEeprom::write | ( | u32 | addr,
|  | const u8 * | source,
|  | u32 | length |
| ) |  |  | `[inline]`

Write to EEPROM.

See eepromWrite for details

Examples:
  speed2.cpp.

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

- src/include/SFBEeprom.h