2
; P17C42A.INC Standard Header File, Version 1.04 Microchip Technology, Inc.
5
; This header file defines configurations, registers, and other useful bits of
6
; information for the PIC17C42A 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 /PIC17C42A
14
; 2. LIST directive in the source file
16
; 3. Processor Type entry in the MPASM full-screen interface
18
;==========================================================================
22
;==========================================================================
26
;1.04 03/14/97 Corrected configuration bits value for protected
27
; microcontroller mode
28
;1.03 07/15/96 Corrected MAXRAM
29
;1.02 06/28/96 Corrected MAXRAM, BADRAM, and registers in upper banks
30
;1.01 04/10/96 Added _WDT_OFF value, PSx values
31
;1.00 10/31/95 Initial Release
33
;==========================================================================
37
;==========================================================================
40
MESSG "Processor-header file mismatch. Verify selected processor."
43
;==========================================================================
45
; Register Definitions
47
;==========================================================================
57
;----- Register Files -----------------------------------------------------
116
;----- ALUSTA Bits --------------------------------------------------------
127
;----- CPUSTA Bits --------------------------------------------------------
134
;----- INTSTA Bits --------------------------------------------------------
145
;----- PIE Bits -----------------------------------------------------------
156
;----- PIR Bits -----------------------------------------------------------
167
;----- PORTA Bits ---------------------------------------------------------
173
;----- RCSTA Bits ---------------------------------------------------------
177
RC9 EQU H'0006' ; Backward compatibility only
178
NOT_RC8 EQU H'0006' ; Backward compatibility only
179
RC8_9 EQU H'0006' ; Backward compatibility only
185
RCD8 EQU H'0000' ; Backward compatibility only
187
;----- T0STA Bits --------------------------------------------------------
201
;----- TCON1 Bits ---------------------------------------------------------
212
;----- TCON2 Bits ---------------------------------------------------------
225
;----- TXSTA Bits ---------------------------------------------------------
229
NOT_TX8 EQU H'0006' ; Backward compatibility only
230
TX8_9 EQU H'0006' ; Backward compatibility only
235
TXD8 EQU H'0000' ; Backward compatibility only
237
;==========================================================================
241
;==========================================================================
244
__BADRAM H'118'-H'11F', H'218'-H'2FF', H'318'-H'3FF'
246
;==========================================================================
250
;==========================================================================
252
_PMC_MODE EQU H'7FAF'
253
_XMC_MODE EQU H'FFBF'
257
_WDT_NORM EQU H'FFF3'