/****************************************************************************/
/* Copyright 1991 MBARI                                                     */
/****************************************************************************/
/* Summary  : Microcontroller Application Identifiers                       */
/* Filename : applic.h                                                      */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon ROV Microcontroller Applications                      */
/* Version  : 1.0                                                           */
/* Created  : 04/26/91                                                      */
/* Modified : 05/07/92                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: /usr/tiburon/.cvsroot/micro/h/applic.h,v 1.1.1.2 1998/01/16 21:14:07 audo Exp $
 * $Log: applic.h,v $
 * Revision 1.1.1.2  1998/01/16 21:14:07  audo
 * Initial Release of mwsled.h
 *
 * Revision 1.1.1.1  1997/05/02 17:15:36  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 1.1  92/05/14  09:17:46  09:17:46  pean (Andrew Pearce 408-647-3746)
 * Initial revision
 *
*/
/****************************************************************************/

#ifndef APPLIC_H_
#define APPLIC_H_

/* This file contains a list of Microcontroller Applications. Each
 * application is assigned a unique application identifier. This number
 * is used to prefix any commands which are sent to the microcontroller
 * to uniquely identify each command. This allows a microcontroller
 * application to ignore any commands which are intended for another
 * microcontroller application. In addition, each microcontroller
 * must support a set of basic commands. These commands use the MICRO_APP
 * prefix so they can be recognized by any microcontroller application.
 *
 * NOTE: the lower 8 bits is used by the command and should always be zero.
 */

#define MICRO_APP        0x0000 /* General microcontroller command. This    */
                                /* prefix is recognized by all applications */

#define GENERIC_APP      0x0100 /* Generic microcontroller application ID   */
#define CONSOLE_APP      0x0200 /* Pilot console application ID             */
#define MOOG_APP         0x0300 /* MOOG motor application ID                */
#define SIO32_APP        0x0400 /* GMS SIO32 board micro application ID     */
#define IBC_CPU_APP      0x0500 /* IBC Board CPU Application ID             */
#define VME_IBC_APP      0x0600 /* VME Can IBC Application ID               */
#define PWR_IBC_APP      0x0700 /* Power Can IBC Application ID             */
#define SENSOR_IBC_APP   0x0800 /* Sensor IBC Application ID                */
#define PAN_TILT_APP     0x0900 /* Pan & Tilt Application ID                */
#define LIGHTING_IBC_APP 0x0a00 /* Lighting DCon Application ID             */
#define ERS_IBC_APP      0x0b00 /* Emergency DCon Application ID            */
#define CAMERA_APP       0x0c00 /* Camera Dcon Application ID               */
#define AC_MICRO_APP     0x0d00 /* AC Can Microcontroller Application ID    */
#define TELEM_APP        0x0e00 /* Telemetery Board Micro Application ID    */
#define EREC_DCON_APP    0x0f00 /* Emergency Recovery Dcon Application ID   */
#define PDU_MICRO_APP    0x1000 /* PDU Micro Application ID                 */
#define CAMERA_IBC_APP   0x1100 /* Camera Ibc Application ID                */
#define SONAR_IBC_APP    0x1200 /* Sonar IBC Application ID                 */
#define BELLY_PACK_APP   0x1300 /* Belly Pack Micro Application ID          */
#define TOOLSLED_IBC_APP 0x1400 /* Toolsled IBC Application ID              */
#define LAP_BOX_APP      0x1500 /* Lap Box Micro Application ID             */
#define MIDWATER_SLED_APP 0x1600 /* Mid Water Toolsled Ibc Application ID   */
#define BEN_BIO_SLED_APP 0x1700 /* Benthic Biology Toolsled Ibc App ID      */
#define GEO_SLED_APP     0x1800 /* Geology Toolsled Ibc App ID              */
#define DRILLSLED_APP    0x1900 /* Drillsled Ibc App ID                     */
#define IBC_MONITOR_APP  0xff00 /* IBC Monitor Application ID               */

#endif

