/******************************************************************************/
/* Copyright 1995 MBARI                                                       */
/******************************************************************************/
/* Summary  : Acoustic Doppler Velocimeter definitions                        */
/* Filename : doppler.h                                                       */
/* Author   : Janice Tarrant                                                  */
/* Project  : Tiburon                                                         */
/* Version  : Version 1.0                                                     */
/* Created  : 10/04/95                                                        */
/* Modified :                                                                 */
/* Archived :                                                                 */
/******************************************************************************/
/* Modification History :                                                     */
/* $Header$
 * $Log$
 *
 */
/******************************************************************************/

#ifndef DOPPLER_H
#define DOPPLER_H


#define ADV_CHANNEL_NUMBER        0     /* IBC Quad Serial Board Channel      */
#define ADV_READ_CHANNEL_NUMBER   2     /* IBC Quad Serial 485 in Channel     */
#define ADV_WRITE_CHANNEL_NUMBER  3     /* IBC Quad Serial 485 out Channel    */

                                        /* ensemble time data structure       */
typedef struct
{
    Nat16 hours;                        /* 00 to 23 hours                     */
    Nat16 minutes;                      /* 00 to 59 minutes                   */
    Nat16 seconds;                      /* 00 to 59 seconds                   */
    Nat16 hundredthSeconds;             /* 00 to 99 hundredths of seconds     */
} ensembleTime;

                                        /* ping time data structure           */
typedef struct
{
    Nat16 minutes;                      /* 00 to 59 minutes                   */
    Nat16 seconds;                      /* 00 to 59 seconds                   */
    Nat16 hundredthSeconds;             /* 00 to 99 hundredths of seconds     */
} pingTime;

#if __STDC__
STATUS dopplerTask(sio32Chan* serialChannel);
#endif
#endif



