Functions

eep_drv.c File Reference

Routines to control EEPROM. More...

#include "config.h"
Include dependency graph for eep_drv.c:

Go to the source code of this file.

Functions

Byte eeprom_rd (Uint16 addr)

Detailed Description

Routines to control EEPROM.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file eep_drv.c.


Function Documentation

Byte eeprom_rd ( Uint16  addr )

Definition at line 60 of file eep_drv.c.

{
  EEAR = addr;
  EECR |= (1<<EERE);
  return(EEDR);
}