2
; P16C461.INC Standard Header File, Version 1.00 Microchip Technology, Inc.
5
; This header file defines configurations, registers, and other useful bits of
6
; information for the PIC16C461 microcontroller. These names are taken to match
7
; the data sheets as closely as possible.
9
; Note that the processor must be selected before this file is
10
; included. The processor may be selected the following ways:
12
; 1. Command line switch:
13
; C:\ MPASM MYFILE.ASM /PIC16C461
14
; 2. LIST directive in the source file
16
; 3. Processor Type entry in the MPASM full-screen interface
18
;==========================================================================
22
;==========================================================================
26
;1.10 08/18/98 Fixed configuration bit equate
27
;1.00 05/01/98 Initial Release
29
;==========================================================================
33
;==========================================================================
36
MESSG "Processor-header file mismatch. Verify selected processor."
39
;==========================================================================
41
; Register Definitions
43
;==========================================================================
48
;----- Register Files------------------------------------------------------
60
OPTION_REG EQU H'0081'
66
;----- STATUS Bits --------------------------------------------------------
78
;----- INTCON Bits --------------------------------------------------------
89
;----- OPTION Bits --------------------------------------------------------
100
;----- PCON Bits --------------------------------------------------------
104
;----- OSCCAL Bits --------------------------------------------------------
113
;==========================================================================
117
;==========================================================================
120
__BADRAM H'07'-H'09', H'0C'-H'1F'
121
__BADRAM H'87'-H'89', H'8C'-H'8D', H'90'-H'9F'
124
;==========================================================================
128
;==========================================================================
130
_MCLRE_ON EQU H'3FFF'
131
_MCLRE_OFF EQU H'3FDF'
135
_PWRTE_OFF EQU H'3FFF'
136
_PWRTE_ON EQU H'3FF7'
142
_INTRC_OSC EQU H'3FFD'
143
_INTRC_OSC_NOCLKOUT EQU H'3FFC'
144
_INTRC_OSC_CLKOUT EQU H'3FFD'
145
_EXTRC_OSC EQU H'3FFE'
146
_EXTRC_OSC_NOCLKOUT EQU H'3FFE'
147
_EXTRC_OSC_CLKOUT EQU H'3FFF'