/****************************************************************************/
/* Copyright 1992 to 1993, MBARI                                            */
/****************************************************************************/
/* Summary  : IBC Regen Controller Board Interface Functions for VxWorks    */
/* Filename : regen.h                                                       */
/* Author   : Andrew Pearce                                                 */
/* Project  : New ROV                                                       */
/* Version  : Version 1.0                                                   */
/* Created  : 06/09/93                                                      */
/* Modified : 06/09/93                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: regen.h,v 1.1 93/07/01 14:38:16 pean Exp $
 * $Log:        regen.h,v $
 * Revision 1.1  93/07/01  14:38:16  14:38:16  pean (Andrew Pearce)
 * Initial revision
 *
 *
 */
/****************************************************************************/

#ifdef __STDC__

STATUS IBC_regenSetTempThresh( sio32Chan *IBC_SerialChan, Word boardAddr,
                Int16 tempWarn,  Int16 tempAlarm );

STATUS IBC_regenGetTempThresh( sio32Chan *IBC_SerialChan, Word boardAddr,
                Int16 *tempWarn,  Int16 *tempAlarm );

STATUS IBC_regenSetVoltageThresh( sio32Chan *IBC_SerialChan, Word boardAddr,
                Int16 voltMinWarn, Int16 voltMinAlarm,
                Int16 voltMaxWarn, Int16 voltMaxAlarm );

STATUS  IBC_regenGetVoltageThresh( sio32Chan *IBC_SerialChan, Word boardAddr,
                Int16 *voltMinWarn, Int16 *voltMinAlarm,
                Int16 *voltMaxWarn, Int16 *voltMaxAlarm );

STATUS IBC_regenResetMinMax( sio32Chan *IBC_SerialChan, Word boardAddr );

STATUS IBC_regenGetMeasurements( sio32Chan *IBC_SerialChan, Word boardAddr,
                Int16 *dutyCycle1, Int16 *dutyCycle2,
                Int16 *busVoltage, Int16 *minBusVoltage, Int16 *maxBusVoltage,
                Int16 *temperature );

STATUS IBC_regenGetAlarmStatus( sio32Chan *IBC_SerialChan, Word boardAddr,
                ibcAlarm *heatsinkTempAlarm,
                ibcAlarm *minBusVoltAlarm, ibcAlarm *maxBusVoltAlarm,
                MBool *openHeaterAlarm, MBool *dutyCycleAlarm );

STATUS IBC_regenDigitalScope( sio32Chan *IBC_SerialChan, Word boardAddr,
                Word analogChan, Byte values[REGEN_SAMPLES] );

#endif /* __STDC__ */





