Datasheet
EEPROM LIBRARY
EEPROM data memory is available with a number of AVR family. The mikroC PRO for AVR
includes a library for comfortable work with MCU's internal EEPROM.
Note: EEPROM Library functions implementation is MCU dependent, consult the appropriate
MCU datasheet for details about available EEPROM size and constrains.
Library Routines
- EEPROM_Read
- EEPROM_Write
EEPROM_Read
275
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
unsigned short EEPROM_Read(unsigned int address);
Returns Byte from the specified address.
Description
Reads data from specified address.
Parameters :
-
address: address of the EEPROM memory location to be read.
Requires Nothing.
Example
unsigned int address = 2;
unsigned short temp;
...
temp = EEPROM_Read(address);