/***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /***** *****/ /***** D H C - 8 S e r i e s 4 0 0 *****/ /***** *****/ /***** F U E L Q U A N T I T Y M E A S U R E M E N T S Y S T E M *****/ /***** *****/ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /* */ /* Program Name : DHC-8 Fuel Quantity Measurement System */ /* Source File Name : nvm.h */ /* CPC : Non-Volatile Memory */ /* Engineer : Linda Jahnke / Rosanne Parnell */ /* Criticality Level : Level C */ /* Contents : header file */ /* Description : This header file contains all the NVM literals. */ /* */ /* */ /* */ /* Contents of this document are propriety information, property of: */ /* PARKER HANNIFIN CORPORATION */ /* GULL ELECTRONIC SYSTEMS DIVISION */ /* SMITHTOWN, NEW YORK 11787 */ /* Any attempt to copy or use the contents of this document in any manner */ /* whatsoever without express written consent of the owner is prohibited. */ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /* Revision History */ /***************************************************************************/ /* */ /* Date Rev Engineer Description */ /* ------ --- -------- ------------------------------------------------ */ /* */ /***************************************************************************/ /*********************************************************/ /* This header needs to be included by any function that */ /* makes calls to the NVM CPC functions */ /*********************************************************/ #define NVM_RESET 0 /* send via parameter to nvm_read_next when */ /* the first record in a functional group is to be read */ #define NVM_NEXT 1 /* send via paramenter to nvm_read_next when the */ /* next record needs to be read - each call will */ /* retrieve the "next" novram record in group until */ /* there are no more */ #define NVM_GOOD_RECORD 0 /* returned as part of the read/write statuses when */ /* read/write was successful */ #define NVM_NO_NEXT_RECORD 1 /* returned as part of the read/write status when */ /* there are no next records to read/write */ #define NVM_FAILED_RECORD 2 /* returned as part of the read/write status when */ /* there was a read/write NOVRAM failure */ #define NVM_ALL_NOVRAM_GROUPS 0xFF /* To be sent via parameter to the NVM_ERASE_NOVRAM */ /* when an erase of the entire novram is desired */ #define NVM_ERASE_COMPLETE 0 /* returned by NVM_ERASE_NOVRAM when requested erase */ /* is complete */ #define NVM_ERASE_IN_PROGRESS 1 /* returned by NVM_ERASE_NOVRAM when requested erase */ /* is not coplete after execution of function. */ /**********************************************************/ /* The following are the literals that represent the */ /* fault groups. It is advised that the groups containing */ /* faults are first */ /**********************************************************/ #define NVM_MAIN_FAULT_GROUP 0 #define NVM_IPC_FAULT_GROUP 1