Repetier-Firmware  0.80
Repetier/Eeprom.cpp File Reference
#include "Reptier.h"
#include "Eeprom.h"

Functions

void epr_eeprom_to_data ()
 Copy data from EEPROM to variables.
byte epr_compute_checksum ()
void epr_set_byte (uint pos, byte value)
void epr_set_int (uint pos, int value)
void epr_set_long (uint pos, long value)
void epr_set_float (uint pos, float value)
void epr_out_prefix (uint pos)
void epr_out_float (uint pos, PGM_P text)
void epr_out_long (uint pos, PGM_P text)
void epr_out_int (uint pos, PGM_P text)
void epr_out_byte (uint pos, PGM_P text)
void epr_update (GCode *com)
void epr_eeprom_reset ()
 Copy data from EEPROM to variables.
void epr_data_to_eeprom (byte corrupted)
 Moves current settings to EEPROM.
void epr_init_baudrate ()
void epr_init ()
void epr_update_usage ()
void epr_output_settings ()
 Writes all eeprom settings to serial console.

Function Documentation

void epr_data_to_eeprom ( byte  corrupted)

Moves current settings to EEPROM.

The values the are currently set are used to fill the eeprom.

void epr_eeprom_reset ( )

Copy data from EEPROM to variables.

Copy data from EEPROM to variables.

void epr_init ( )
void epr_out_byte ( uint  pos,
PGM_P  text 
)
void epr_out_float ( uint  pos,
PGM_P  text 
)
void epr_out_int ( uint  pos,
PGM_P  text 
)
void epr_out_long ( uint  pos,
PGM_P  text 
)
void epr_out_prefix ( uint  pos)

Writes all eeprom settings to serial console.

For each value stored, this function generates one line with syntax

EPR: pos type value description

With

  • pos = Position in EEPROM, the data starts.
  • type = Value type: 0 = byte, 1 = int, 2 = long, 3 = float
  • value = The value currently stored
  • description = Definition of the value
void epr_set_byte ( uint  pos,
byte  value 
) [inline]
void epr_set_float ( uint  pos,
float  value 
) [inline]
void epr_set_int ( uint  pos,
int  value 
) [inline]
void epr_set_long ( uint  pos,
long  value 
) [inline]
void epr_update ( GCode com)
void epr_update_usage ( )
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Defines