Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Attributes | List of all members
Eeprom::Settings Struct Reference

#include <Eeprom.h>

Public Attributes

unsigned int bus
 
char address
 
unsigned int offset
 
unsigned int maxLength
 

Detailed Description

Details about the EEPROM.

Member Data Documentation

unsigned int Eeprom::Settings::bus

The I2C bus number.

char Eeprom::Settings::address

The I2C address. These EEPROMs may have two adjacent addresses reserved. This must be the first of the two.

unsigned int Eeprom::Settings::offset

First byte to use. Set to 0 to read from the beginning. This is the base offset for all read() and write() operations on the object. Portions of the EEPROM outside the range [offset, offset+min(maxLength, actualLength - offset)) are not read or written by the object at any point.

unsigned int Eeprom::Settings::maxLength

Maximum number of bytes to use.


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