/****************************************************************************/
/* Copyright 1991 to 1995 MBARI                                             */
/****************************************************************************/
/* Summary  : SIO32 Serial Controller Microcontroller Definitions           */
/* Filename : sio32.h                                                       */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon ROV Serial I/O Board Rev 1.0                          */
/* Version  : 1.0                                                           */
/* Created  : 10/01/91                                                      */
/* Modified : 07/07/03                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: /usr/tiburon/.cvsroot/micro/h/sio32.h,v 1.1.1.1 1997/05/02 17:15:41 pean Exp $
 * $Log: sio32.h,v $
 * Revision 1.1.1.1  1997/05/02 17:15:41  pean
 * Initial release of the microcontroller software after Tiburon
 * Moolpool Dive to test IView, Lapboxes, modified Power can
 * GF/5V using bus capacitance mode.
 *
 * Revision 3.0  96/10/24  16:44:58  16:44:58  pean (Andrew Pearce)
 * First release for VME-ISO IO board
 *
 * Revision 2.2  95/09/12  09:42:48  09:42:48  pean (Andrew Pearce)
 * Final release for Tiburon
 *
 * Revision 2.1  95/09/06  15:52:27  15:52:27  pean (Andrew Pearce)
 * Revised serial protocol
 *
 * Revision 2.0  95/02/21  14:50:42  14:50:42  pean (Andrew Pearce)
 * Incorporated new serial protocol
 *
 * Revision 1.4  93/07/07  12:52:02  12:52:02  pean (Andrew Pearce)
 * Added Temperature Warning and Alarm Set Points
 *
 * Revision 1.3  93/01/07  13:55:13  13:55:13  pean (Andrew Pearce)
 * Modified Ground Fault Levels and tested GF Test feature
 *
 * Revision 1.2  92/09/11  14:29:49  14:29:49  pean (Andrew Pearce)
 * New serial protocol, temperature alarm threshold command added, general
 * tidying up
 *
 * Revision 1.1  92/05/13  15:32:26  15:32:26  pean (Andrew Pearce 408-647-3746)
 * Initial revision
 *
 *
*/
/****************************************************************************/

#define GET_TEMPERATURE        0x01 /* Report Temperature Command           */
#define GET_TEMP_ALARM_STATUS  0x02 /* Report Temperature Alarm Status      */
#define RELAY_ALL_CLOSE        0x03 /* Command to close all relays          */
#define RELAY_ALL_OPEN         0x04 /* Command to open all relays           */
#define RELAY_CLOSE            0x05 /* Command to close a single relay      */
#define RELAY_OPEN             0x06 /* Command to open a single relay       */
#define GET_TEMP_ALARM_THRESH  0x07 /* Command to set temp alamm thresh     */
#define SET_TEMP_ALARM_THRESH  0x08 /* Command to get temp alamm thresh     */
#define GET_RELAY_STATE        0x09 /* Command to return current relay state*/
#define SET_RELAY_STATE        0x0a /* Command to return current relay state*/
#define SET_GNDFLT_ENABLE      0x0b /* Command to enable/disable GF PSU     */
#define GET_GNDFLT_ENABLE      0x0c /* Command to report GF enable/disable  */

