stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions
Eeprom.h File Reference

EEPROM access functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void WriteEepromByte (UINT Address, UCHAR Value)
 Write a byte to the EEPROM. More...
 
void WriteEepromBlock (UINT Address, UCHAR *Block, UINT Size)
 Copy memory block to EEPROM. More...
 
UCHAR ReadEepromByte (UINT Address)
 Read a byte from the EEPROM. More...
 
void ReadEepromBlock (UINT Address, UCHAR *Block, UINT Size)
 Copy block from EEPROM to RAM. More...
 

Detailed Description

EEPROM access functions.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file contains the EEPROM access function defintions.

Function Documentation

void ReadEepromBlock ( UINT  Address,
UCHAR Block,
UINT  Size 
)

Copy block from EEPROM to RAM.

Parameters
AddressEEPROM start address (0..16383)
BlockRAM start address
SizeLength of block (bytes)

Read a memory block from the EEPROM. This can also be the entire EEPROM.

UCHAR ReadEepromByte ( UINT  Address)

Read a byte from the EEPROM.

Parameters
AddressEEPROM location (0..16383)
Returns
byte read from EEPROM

This function reads one byte from the EEPROM.

void WriteEepromBlock ( UINT  Address,
UCHAR Block,
UINT  Size 
)

Copy memory block to EEPROM.

Parameters
AddressEEPROM location (0..16383)
Blockpointer at memory block to be copied to the EEPROM
Sizesize of block to be copied (bytes)

This function copies a memory block to the EEPROM. It is capable of filling the entire EEPROM just whith one function call.

void WriteEepromByte ( UINT  Address,
UCHAR  Value 
)

Write a byte to the EEPROM.

Parameters
AddressEEPROM location (0..16383)
ValueByte to be written

This function writes a byte to the EEPROM at the specified EEPROM location.