2
; P16C64A.INC Standard Header File, Version 1.02 Microchip Technology, Inc.
5
; This header file defines configurations, registers, and other useful bits of
6
; information for the PIC16C64A 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 /PIC16C64A
14
; 2. LIST directive in the source file
16
; 3. Processor Type entry in the MPASM full-screen interface
18
;==========================================================================
22
;==========================================================================
26
;1.02 04/22/96 Added TRISE bits
27
;1.01 11/28/95 Added NOT_BOR to match revised datasheet
28
;1.00 10/31/95 Initial Release
30
;==========================================================================
34
;==========================================================================
37
MESSG "Processor-header file mismatch. Verify selected processor."
40
;==========================================================================
42
; Register Definitions
44
;==========================================================================
49
;----- Register Files------------------------------------------------------
75
OPTION_REG EQU H'0081'
87
;----- STATUS Bits --------------------------------------------------------
98
;----- INTCON Bits --------------------------------------------------------
109
;----- PIR1 Bits ----------------------------------------------------------
117
;----- T1CON Bits ---------------------------------------------------------
122
NOT_T1SYNC EQU H'0002'
123
T1INSYNC EQU H'0002' ; Backward compatibility only
127
;----- T2CON Bits ---------------------------------------------------------
137
;----- SSPCON Bits --------------------------------------------------------
148
;----- CCP1CON Bits -------------------------------------------------------
157
;----- OPTION Bits --------------------------------------------------------
168
;----- TRISE Bits ---------------------------------------------------------
178
;----- PIE1 Bits ----------------------------------------------------------
186
;----- PCON Bits ----------------------------------------------------------
192
;----- SSPSTAT Bits -------------------------------------------------------
197
NOT_ADDRESS EQU H'0005'
199
DATA_ADDRESS EQU H'0005'
203
I2C_START EQU H'0003'
207
NOT_WRITE EQU H'0002'
209
READ_WRITE EQU H'0002'
213
;==========================================================================
217
;==========================================================================
220
__BADRAM H'0D', H'18'-H'1F', H'8D', H'8F'-H'91', H'95'-H'9F'
222
;==========================================================================
226
;==========================================================================
228
_BODEN_ON EQU H'3FFF'
229
_BODEN_OFF EQU H'3FBF'
234
_PWRTE_OFF EQU H'3FFF'
235
_PWRTE_ON EQU H'3FF7'