MODBUS laajempi esimerkki
eeprom.c File Reference

Functions for writing and reading EEPROM. More...

#include "kosteus.h"
Include dependency graph for eeprom.c:

Functions

void reset_error_counter (unsigned int counter)
 Resets the specified error counter. More...
 
void add_error_counter (unsigned int counter)
 Increases the specified error counter by 1. More...
 
int read_error_counter (unsigned int counter)
 Reads the specified error counter. More...
 

Detailed Description

Functions for writing and reading EEPROM.


Date
2010-01-05 15:24:34 +0200 (ti, 05 tammi 2010)

Versions:

Revision
160

Original: Date 8.5.2009

Function Documentation

void add_error_counter ( unsigned int  counter)

Increases the specified error counter by 1.


Parameters
counterCounter EEPROM address.
Warning

Here is the call graph for this function:

Here is the caller graph for this function:

int read_error_counter ( unsigned int  counter)

Reads the specified error counter.


Parameters
counterCounter EEPROM address.
Returns
Value of the error counter.

Here is the call graph for this function:

Here is the caller graph for this function:

void reset_error_counter ( unsigned int  counter)

Resets the specified error counter.


Parameters
counterCounter EEPROM address.

Here is the call graph for this function:

Here is the caller graph for this function: