;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; 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:    Hwbond.h
;
; Module Names: None
;                                  
; Purpose: Definitions specific to bond options.
;
; File Change History:
;
;               02/22/2002 RVD - Created Hwbond.h for 851
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Bonds are by default bonded, ie, pin is pulled to Vss. 

; Individual bit definitons of bond options                                                     
bHWBondEEPROMPageSize1      EQU     bP04                    ; Combinations are as follows:
                                                            ;   Size2:Size1 = 0:0, 64 bytes
bHWBondEEPROMPageSize2      EQU     bP05                    ;   Size2:Size1 = 0:1, 32 bytes
                                                            ;   Size2:Size1 = 1:0, 128 bytes
bHWBondEEPROMType           EQU     bP06                    ; 0 = EEPROM is SPI communication.
                                                            ; 1 = EEPROM is I2C communication.
bHWBondUnused               EQU     bP07                    ; Unused, available for future usage.


; Mask for reading BOND pins and setting I/O direction.
HWBONDMASK                  EQU     (bP04|bP05|bP06|bP07)   ; Mask for all bond pins

; Re-definition of BOND pins
bHWBondEEPROMPageSize32     EQU     bHWBondEEPROMPageSize2  ; 1 = Page size is NOT 32 bytes.
                                                            ; 0 = Page size IS 32 bytes.
; In the current implementation, this bit is UNUSED.
bHWBondEEPROMPageSize128    EQU     bHWBondEEPROMPageSize1  ; 1 = Page size is NOT 128 bytes.
                                                            ; 0 = Page size IS 128 bytes.
