/****************************************************************************/
/* Copyright 1990 to 1995 MBARI                                             */
/****************************************************************************/
/* Summary  : Microcontroller type dfinitions                               */
/* Filename : microdef.h                                                    */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon ROV Microcontroller Applications                      */
/* Version  : 1.0                                                           */
/* Created  : 11/21/90                                                      */
/* Modified : 04/08/92                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: /usr/tiburon/.cvsroot/micro/h/microdef.h,v 1.2 1997/05/07 15:58:40 pean Exp $
 * $Log: microdef.h,v $
 * Revision 1.2  1997/05/07 15:58:40  pean
 * Cleaned up Include files and makefile for new directory structure.
 *
 * Revision 1.1.1.1  1997/05/02 17:15:39  pean
 * Initial release of the microcontroller software after Tiburon
 * Moolpool Dive to test IView, Lapboxes, modified Power can
 * GF/5V using bus capacitance mode.
 *
*/
/****************************************************************************/

#ifndef MICRODEF_H
#define MICRODEF_H

#define INCmicrodefh


typedef enum
{
    MICRO_ALARM_OK,
    MICRO_WARNING,
    MICRO_ALARM
} microAlarm;

typedef struct
{
    Int16       value;
    Int16       warnThresh;
    Int16       alarmThresh;
    microAlarm  alarmStatus;
} alarmParam;

typedef enum
{
    GF_NORMAL,
    GF_ADVISORY,
    GF_WARNING,
    GF_CRITICAL
} gfStatus;

typedef enum
{
    GF_TEST_OK,
    GF_TEST_FAIL_ON,
    GF_TEST_FAIL_OFF,
    GF_TEST_NOT_RUN_YET
} gfTestStatus;

#endif


