        LIST

;==========================================================================
;  MPASM MCP25050 processor include
; 
;  (c) Copyright 1999-2013 Microchip Technology, All rights reserved
;==========================================================================

        NOLIST

;==========================================================================
;  This header file defines configurations, registers, and other useful
;  bits of information for the MCP25050 microcontroller.  These names
;  are taken to match the data sheets as closely as possible.
;
;  Note that the processor must be selected before this file is included.
;  The processor may be selected the following ways:
;
;       1. Command line switch:
;               C:\MPASM MYFILE.ASM /MCP25050
;       2. LIST directive in the source file
;               LIST   P=MCP25050
;       3. Processor Type entry in the MPASM full-screen interface
;       4. Setting the processor in the MPLAB Project Dialog
;==========================================================================

;==========================================================================
;
;       Verify Processor
;
;==========================================================================
        IFNDEF __MCP25050
           MESSG "Processor-header file mismatch.  Verify selected processor."
        ENDIF



;==========================================================================
;
;       Register Definitions
;
;==========================================================================

W                EQU  H'0000'
F                EQU  H'0001'

;----- Register Files -----------------------------------------------------



;==========================================================================
;
;       RAM Definitions
;
;==========================================================================

;==========================================================================
;
;       Configuration Bits
;
;   NAME            Address
;   CONFIG            2007h
;
;==========================================================================

; The following is an assignment of address values for all of the
; configuration registers for the purpose of table reads
_CONFIG          EQU  H'2007'

;----- CONFIG Options --------------------------------------------------
_OSC_LP              EQU  H'3FFC'    ; LP
_OSC_XT              EQU  H'3FFD'    ; XT
_OSC_HS              EQU  H'3FFF'    ; HS

_RSTEN_OFF           EQU  H'3FFB'    ; GP7 is general I/O
_RSTEN_ON            EQU  H'3FFF'    ; Reset enabled on GP7 I/O pin



        LIST
