Mikroelektronika MIKROE-350 Fiche De Données
EEPROM LIBRARY
EEPROM data memory is available with a number of AVR family. The mikroBasic PRO for AVR
includes a library for comfortable work with MCU's internal EEPROM.
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 address range.
MCU datasheet for details about available EEPROM size and address range.
Library Routines
- EEPROM_Read
- EEPROM_Write
- EEPROM_Write
EEPROM_Read
211
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub function EEPROM_Read(dim address as word) as byte
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
dim eeAddr as word
temp
temp
as byte
...
eeAddr = 2
temp = EEPROM_Read(eeAddr)
eeAddr = 2
temp = EEPROM_Read(eeAddr)