/****************************************************************************/
/* Copyright 1992 MBARI                                                     */
/****************************************************************************/
/* Summary  : Moog Motor Microcontroller EEPROM Library Declarations        */
/* Filename : xl9346.h                                                      */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon ROV                                                   */
/* Version  : 1.0                                                           */
/* Created  : 01/21/92                                                      */
/* Modified : 01/22/92                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* This module provides a software interface to the EXEL Microelectronics   */
/* XL family of EEPROM devices. The EEPROMS support 7 basic functions:      */
/* Read, Write Enable, Write, Write All, Write Disable, Erase and Erase All.*/
/* Access to these capabilities is provided via the functions below:        */
/****************************************************************************/

#ifdef __STDC__                     /* ANSI C function prototypes           */

Void eraseEEPROM( Byte address );
Void eraseAllEEPROM( Void );
Boolean writeEEPROM( Word *fromAddr, Byte eepromAddr, Nat16 nWords );
Boolean writeAllEEPROM( Word eepromWord );
Nat16 readEEPROM( Word *toAddr, Byte eepromAddr, Nat16 nWords );

#endif /* __STDC__ */
