;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Copyright (c) 2002 TIMEX Corporation.
; 
; This document is the property of, and contains information proprietary to
; TIMEX Corporation.  It is to be returned upon request.  Reproduction by any
; means, disclosure, or use of its contents for other than the expressed
; purpose for which it is loaned, without the written consent of TIMEX
; Corporation, is strictly prohibited.
;
; File Name :   usgvars.h
;
; Purpose   :   USAGE mode variable offsets
;
; File Change History:
;
;               01/02/2002 FSU - Created usgvars.h for m851
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;------------------------------------------------------------------------------
; Variable definitions specifically for usage tracking. Uses 2 bytes each.
;   W A R N I N G !!! Do not rearrange.
;------------------------------------------------------------------------------

USGBufferCWPulses               equ     USGBaseAddress  + 0

USGBufferCCWPulses              equ     USGBaseAddress  + 2

USGBufferELSWContacts           equ     USGBaseAddress  + 4

USGBufferSETContacts            equ     USGBaseAddress  + 6

USGBufferSTARTSPLITContacts     equ     USGBaseAddress  + 8

USGBufferSTOPRESETContacts      equ     USGBaseAddress  + 10

USGBufferMODEContacts           equ     USGBaseAddress  + 12

USGFlags                        equ     USGBaseAddress  + 14

    bUSGDateAlreadySet          equ     00000001B       ; b0 : 0 - Date has not been set.

;------------------------------------------------------------------------------
; Variable redefinitions ( Background Common Buffer )
;------------------------------------------------------------------------------

; Storage where the 7 RAM counter data stored in the EEPROM will be dumped during 
;   its update processing.  1 RAM counter uses 3-bytes in EEPROM.  Reserve 21 bytes 
;   for this one.
; The routine that uses this will be called every day rollover.
USGTempRAMCounterBuffer     equ     COREBackgroundCommonBuffer



; Storage where the EEPROM counters will be store when updating its value.
;   Usage uses 2 bytes.
USGTempBuffer               equ     CORESystemCommonBuffer