Arduino-Storage
External Memory Storage library for Arduino
AT24CXX.ino File Reference
#include "Storage.h"
#include "TWI.h"
#include "Driver/AT24CXX.h"
#include "Hardware/TWI.h"
Include dependency graph for AT24CXX.ino:

Go to the source code of this file.

Macros

#define USE_HARDWARE_TWI
 
#define FREQ   400000UL
 

Functions

Hardware::TWI twi (FREQ)
 
void setup ()
 
void loop ()
 

Variables

AT24C32 eeprom (twi)
 
const int BUF_MAX = 1000
 
uint8_t buf [BUF_MAX]
 
const int N_MAX = 7
 
const unsigned int N [N_MAX]
 

Macro Definition Documentation

#define FREQ   400000UL

Definition at line 58 of file AT24CXX.ino.

#define USE_HARDWARE_TWI

Definition at line 54 of file AT24CXX.ino.

Function Documentation

void loop ( )

Definition at line 91 of file AT24CXX.ino.

void setup ( )

Definition at line 85 of file AT24CXX.ino.

Hardware::TWI twi ( FREQ  )

Variable Documentation

uint8_t buf[BUF_MAX]

Definition at line 75 of file AT24CXX.ino.

const int BUF_MAX = 1000

Definition at line 74 of file AT24CXX.ino.

AT24C32 eeprom(twi)
const unsigned int N[N_MAX]
Initial value:
= {
1, 10,
100, 1000
}
const uint16_t PAGE_MAX
Definition: AT24CXX.h:55
AT24C32 eeprom(twi)

Definition at line 79 of file AT24CXX.ino.

const int N_MAX = 7

Definition at line 78 of file AT24CXX.ino.