;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Copyright (c) 2001-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:    Hwreset.h
;
; Module Names: None
;                                  
; Purpose: Definitions specific to hwreset routines.
;
; File Change History:
;
;               03/11/2002 RVD - Created HWreset.h for 851
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


; Keypad definitions for reset sequence
HWRSTRELEASE        EQU     (bSTOP|bSTART|bMODE)    ; This corresponds to all keys relesed
                                                    ; This value uses the exact key postions 
                                                    ; because the software compares the input port
                                                    ; to this value

HWRSTSTART          EQU     0                       ; This can be defined as an arbitrary value.
                                                    ; It is never compared to an actual hardware 
                                                    ; port, and only signifies a key is depressed.

HWRSTEL             EQU     1                       ; Same as above.

HWRSTMODE           EQU     2                       ; Same as above.

HWRSTSTOP           EQU     3                       ; Same as above.

HWRSTHOME           EQU     5                       ; Same as above.

HWRSTSET1           EQU     6                       ; Same as above.

HWRSTSET2           EQU     8                       ; Same as above.


; Timer countdown value
HWTWOSECONDS        EQU     4                       ; This is the number of 2Hz transitions required
                                                    ; to reach a 2 second countdown.

; Soft Reset Key Mask for Button Input Port 
; This value, when ORed with the data on the input port, will mask out
; unused keys.
HWRESETKEYMASK      EQU     (@LOW(~(bEL|bSTOP|bSTART|bMODE)))

; Number of bytes in the ICB taken up by the version number.
HWRSTVERSIONLENGTH  EQU     6   

