~ubuntu-branches/ubuntu/quantal/gputils/quantal

« back to all changes in this revision

Viewing changes to header/p16f727.inc

  • Committer: Bazaar Package Importer
  • Author(s): Taisuke Yamada
  • Date: 2009-03-16 08:39:23 UTC
  • mfrom: (1.1.8 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090316083923-jr9k3f8bchev19s0
Tags: 0.13.7-1
* New upstream release.
* New maintainer (Closes: #504473)
* Bumped Standards-Version to 3.8.1.
* General updates in debian/* to make it lintian clean.
* Removed PS/PDF files from gputils due to duplicate with gputils-doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        LIST
 
2
; P16F727.INC  Standard Header File, Version 2.01    Microchip Technology, Inc.
 
3
        NOLIST
 
4
 
 
5
; This header file defines configurations, registers, and other useful bits of
 
6
; information for the PIC16F727 microcontroller.
 
7
; These names are taken to match the data sheets as closely as possible.
 
8
 
 
9
; Note that the processor must be selected before this file is
 
10
; included.  The processor may be selected the following ways:
 
11
 
 
12
;       1. Command line switch:
 
13
;               C:\ MPASM MYFILE.ASM /PIC16F727
 
14
;       2. LIST directive in the source file
 
15
;               LIST   P=PIC16F727
 
16
;       3. Processor Type entry in the MPASM full-screen interface
 
17
 
 
18
;==========================================================================
 
19
;
 
20
;       Revision History
 
21
;
 
22
;==========================================================================
 
23
 
 
24
;Rev:   Date:    Reason:
 
25
;0.01   10/09/06 Initial template
 
26
;0.02   10/25/07 Remove 188h from BADRAM (actually ANSELD)
 
27
;1.00   11/06/07 Version 1.00 (no changes)
 
28
;1.01   11/27/07 Remove 108h-109h (CPSCON0 and CPSCON1) from BADRAM
 
29
;2.00   12/18/07 Flatten include files not to include one master file
 
30
;2.01   01/31/08 Correct swapped definitions of VCAP_RA5 and VCAP_RA6
 
31
 
 
32
 
 
33
;==========================================================================
 
34
;
 
35
;       Verify Processor
 
36
;
 
37
;==========================================================================
 
38
 
 
39
        IFNDEF __16F727
 
40
           MESSG "Processor-header file mismatch.  Verify selected processor."
 
41
#define    __16F727
 
42
        ENDIF
 
43
 
 
44
;==========================================================================
 
45
;
 
46
;       Register Definitions
 
47
;
 
48
;==========================================================================
 
49
 
 
50
W                            EQU     H'0000'
 
51
F                            EQU     H'0001'
 
52
 
 
53
;----- Register Files------------------------------------------------------
 
54
 
 
55
INDF                         EQU     H'0000'
 
56
TMR0                         EQU     H'0001'
 
57
PCL                          EQU     H'0002'
 
58
STATUS                       EQU     H'0003'
 
59
FSR                          EQU     H'0004'
 
60
PORTA                        EQU     H'0005'
 
61
PORTB                        EQU     H'0006'
 
62
PORTC                        EQU     H'0007'
 
63
PORTD                        EQU     H'0008'
 
64
PORTE                        EQU     H'0009'
 
65
PCLATH                       EQU     H'000A'
 
66
INTCON                       EQU     H'000B'
 
67
PIR1                         EQU     H'000C'
 
68
PIR2                         EQU     H'000D'
 
69
TMR1L                        EQU     H'000E'
 
70
TMR1H                        EQU     H'000F'
 
71
T1CON                        EQU     H'0010'
 
72
TMR2                         EQU     H'0011'
 
73
T2CON                        EQU     H'0012'
 
74
SSPBUF                       EQU     H'0013'
 
75
SSPCON                       EQU     H'0014'
 
76
CCPR1L                       EQU     H'0015'
 
77
CCPR1H                       EQU     H'0016'
 
78
CCP1CON                      EQU     H'0017'
 
79
RCSTA                        EQU     H'0018'
 
80
TXREG                        EQU     H'0019'
 
81
RCREG                        EQU     H'001A'
 
82
CCPR2L                       EQU     H'001B'
 
83
CCPR2H                       EQU     H'001C'
 
84
CCP2CON                      EQU     H'001D'
 
85
ADRES                        EQU     H'001E'
 
86
ADCON0                       EQU     H'001F'
 
87
 
 
88
OPTION_REG                   EQU     H'0081'
 
89
TRISA                        EQU     H'0085'
 
90
TRISB                        EQU     H'0086'
 
91
TRISC                        EQU     H'0087'
 
92
TRISD                        EQU     H'0088'
 
93
TRISE                        EQU     H'0089'
 
94
PIE1                         EQU     H'008C'
 
95
PIE2                         EQU     H'008D'
 
96
PCON                         EQU     H'008E'
 
97
T1GCON                       EQU     H'008F'
 
98
OSCCON                       EQU     H'0090'
 
99
OSCTUNE                      EQU     H'0091'
 
100
PR2                          EQU     H'0092'
 
101
SSPADD                       EQU     H'0093'
 
102
SSPMSK                       EQU     H'0093'
 
103
SSPSTAT                      EQU     H'0094'
 
104
WPUB                         EQU     H'0095'
 
105
IOCB                         EQU     H'0096'
 
106
IOC                          EQU     H'0096'
 
107
TXSTA                        EQU     H'0098'
 
108
SPBRG                        EQU     H'0099'
 
109
APFCON                       EQU     H'009C'
 
110
FVRCON                       EQU     H'009D'
 
111
ADCON1                       EQU     H'009F'
 
112
 
 
113
CPSCON0                      EQU     H'0108'
 
114
CPSCON1                      EQU     H'0109'
 
115
PMDATL                       EQU     H'010C'
 
116
PMDATA                       EQU     H'010C'    ; Backward compatibility only
 
117
PMADRL                       EQU     H'010D'
 
118
PMADR                        EQU     H'010D'    ; Backward compatibility only
 
119
PMDATH                       EQU     H'010E'
 
120
PMADRH                       EQU     H'010F'
 
121
 
 
122
 
 
123
ANSELA                       EQU     H'0185'
 
124
ANSELB                       EQU     H'0186'
 
125
ANSELD                       EQU     H'0188'
 
126
ANSELE                       EQU     H'0189'
 
127
PMCON1                       EQU     H'018C'
 
128
 
 
129
;----- STATUS Bits --------------------------------------------------------
 
130
 
 
131
IRP                          EQU     H'0007'
 
132
RP1                          EQU     H'0006'
 
133
RP0                          EQU     H'0005'
 
134
NOT_TO                       EQU     H'0004'
 
135
NOT_PD                       EQU     H'0003'
 
136
Z                            EQU     H'0002'
 
137
DC                           EQU     H'0001'
 
138
C                            EQU     H'0000'
 
139
 
 
140
;----- INTCON Bits --------------------------------------------------------
 
141
 
 
142
GIE                          EQU     H'0007'
 
143
PEIE                         EQU     H'0006'
 
144
T0IE                         EQU     H'0005'
 
145
TMR0IE                       EQU     H'0005'
 
146
INTE                         EQU     H'0004'
 
147
RBIE                         EQU     H'0003'
 
148
IOCIE                        EQU     H'0003'    ;; USE IOCIE instead of RBIE to be generic
 
149
T0IF                         EQU     H'0002'
 
150
TMR0IF                       EQU     H'0002'
 
151
INTF                         EQU     H'0001'
 
152
RBIF                         EQU     H'0000'
 
153
IOCIF                        EQU     H'0000'    ;; USE IOCIF instead of RBIF to be generic
 
154
 
 
155
;----- PIR1 Bits ----------------------------------------------------------
 
156
 
 
157
TMR1GIF                      EQU     H'0007'
 
158
ADIF                         EQU     H'0006'
 
159
RCIF                         EQU     H'0005'
 
160
TXIF                         EQU     H'0004'
 
161
SSPIF                        EQU     H'0003'
 
162
CCP1IF                       EQU     H'0002'
 
163
TMR2IF                       EQU     H'0001'
 
164
TMR1IF                       EQU     H'0000'
 
165
 
 
166
;----- PIR2 Bits ----------------------------------------------------------
 
167
 
 
168
CCP2IF                       EQU     H'0000'
 
169
 
 
170
;----- T1CON Bits ---------------------------------------------------------
 
171
 
 
172
TMR1CS1                      EQU     H'0007'
 
173
TMR1CS0                      EQU     H'0006'
 
174
T1CKPS1                      EQU     H'0005'
 
175
T1CKPS0                      EQU     H'0004'
 
176
T1OSCEN                      EQU     H'0003'
 
177
NOT_T1SYNC                   EQU     H'0002'
 
178
T1INSYNC                     EQU     H'0002'    ; Backward compatibility only
 
179
T1SYNC                       EQU     H'0002'
 
180
TMR1ON                       EQU     H'0000'
 
181
 
 
182
;----- T2CON Bits ---------------------------------------------------------
 
183
 
 
184
TOUTPS3                      EQU     H'0006'
 
185
TOUTPS2                      EQU     H'0005'
 
186
TOUTPS1                      EQU     H'0004'
 
187
TOUTPS0                      EQU     H'0003'
 
188
TMR2ON                       EQU     H'0002'
 
189
T2CKPS1                      EQU     H'0001'
 
190
T2CKPS0                      EQU     H'0000'
 
191
 
 
192
;----- SSPCON Bits --------------------------------------------------------
 
193
 
 
194
WCOL                         EQU     H'0007'
 
195
SSPOV                        EQU     H'0006'
 
196
SSPEN                        EQU     H'0005'
 
197
CKP                          EQU     H'0004'
 
198
SSPM3                        EQU     H'0003'
 
199
SSPM2                        EQU     H'0002'
 
200
SSPM1                        EQU     H'0001'
 
201
SSPM0                        EQU     H'0000'
 
202
 
 
203
;----- CCP1CON Bits -------------------------------------------------------
 
204
 
 
205
DC1B1                        EQU     H'0005'
 
206
DC1B0                        EQU     H'0004'
 
207
CCP1X                        EQU     H'0005'    ; Backward compatibility only
 
208
CCP1Y                        EQU     H'0004'    ; Backward compatibility only
 
209
CCP1M3                       EQU     H'0003'
 
210
CCP1M2                       EQU     H'0002'
 
211
CCP1M1                       EQU     H'0001'
 
212
CCP1M0                       EQU     H'0000'
 
213
 
 
214
;----- RCSTA Bits ---------------------------------------------------------
 
215
 
 
216
SPEN                         EQU     H'0007'
 
217
RX9                          EQU     H'0006'
 
218
RC9                          EQU     H'0006'    ; Backward compatibility only
 
219
NOT_RC8                      EQU     H'0006'    ; Backward compatibility only
 
220
RC8_9                        EQU     H'0006'    ; Backward compatibility only
 
221
SREN                         EQU     H'0005'
 
222
CREN                         EQU     H'0004'
 
223
ADDEN                        EQU     H'0003'
 
224
FERR                         EQU     H'0002'
 
225
OERR                         EQU     H'0001'
 
226
RX9D                         EQU     H'0000'
 
227
RCD8                         EQU     H'0000'    ; Backward compatibility only
 
228
 
 
229
;----- CCP2CON Bits -------------------------------------------------------
 
230
DC2B1                        EQU     H'0005'
 
231
DC2B0                        EQU     H'0004'
 
232
CCP2X                        EQU     H'0005'    ; Backward compatibility only
 
233
CCP2Y                        EQU     H'0004'    ; Backward compatibility only
 
234
CCP2M3                       EQU     H'0003'
 
235
CCP2M2                       EQU     H'0002'
 
236
CCP2M1                       EQU     H'0001'
 
237
CCP2M0                       EQU     H'0000'
 
238
 
 
239
;----- ADCON0 Bits --------------------------------------------------------
 
240
 
 
241
CHS3                         EQU     H'0005'
 
242
CHS2                         EQU     H'0004'
 
243
CHS1                         EQU     H'0003'
 
244
CHS0                         EQU     H'0002'
 
245
GO                           EQU     H'0001'
 
246
NOT_DONE                     EQU     H'0001'
 
247
GO_DONE                      EQU     H'0001'
 
248
ADON                         EQU     H'0000'
 
249
 
 
250
;----- OPTION_REG Bits -----------------------------------------------------
 
251
 
 
252
NOT_RBPU                     EQU     H'0007'
 
253
INTEDG                       EQU     H'0006'
 
254
T0CS                         EQU     H'0005'
 
255
T0SE                         EQU     H'0004'
 
256
PSA                          EQU     H'0003'
 
257
PS2                          EQU     H'0002'
 
258
PS1                          EQU     H'0001'
 
259
PS0                          EQU     H'0000'
 
260
 
 
261
;----- PIE1 Bits ----------------------------------------------------------
 
262
 
 
263
TMR1GIE                      EQU     H'0007'
 
264
ADIE                         EQU     H'0006'
 
265
RCIE                         EQU     H'0005'
 
266
TXIE                         EQU     H'0004'
 
267
SSPIE                        EQU     H'0003'
 
268
CCP1IE                       EQU     H'0002'
 
269
TMR2IE                       EQU     H'0001'
 
270
TMR1IE                       EQU     H'0000'
 
271
 
 
272
;----- PIE2 Bits ----------------------------------------------------------
 
273
 
 
274
CCP2IE                       EQU     H'0000'
 
275
 
 
276
;----- PCON Bits ----------------------------------------------------------
 
277
 
 
278
NOT_POR                      EQU     H'0001'
 
279
NOT_BO                       EQU     H'0000' ;; Backwards Compatability only
 
280
NOT_BOR                      EQU     H'0000'
 
281
 
 
282
 
 
283
;----- T1GCON Bits ----------------------------------------------------------
 
284
 
 
285
TMR1GE                       EQU     H'0007'
 
286
T1GPOL                       EQU     H'0006'
 
287
T1GTM                        EQU     H'0005'
 
288
T1GSPM                       EQU     H'0004'
 
289
T1G_NOT_DONE                 EQU     H'0003'
 
290
T1GGO_DONE                   EQU     H'0003'
 
291
T1GGO                        EQU     H'0003'
 
292
T1GVAL                       EQU     H'0002'
 
293
T1GSS1                       EQU     H'0001'
 
294
T1GSS0                       EQU     H'0000'
 
295
 
 
296
;----- OSCCON Bits -------------------------------------------------------
 
297
 
 
298
IRCF1                        EQU     H'0005'
 
299
IRCF0                        EQU     H'0004'
 
300
ICSL                         EQU     H'0003'
 
301
ICSS                         EQU     H'0002'
 
302
 
 
303
;----- OSCTUNE Bits -------------------------------------------------------
 
304
 
 
305
TUN5                         EQU     H'0005'
 
306
TUN4                         EQU     H'0004'
 
307
TUN3                         EQU     H'0003'
 
308
TUN2                         EQU     H'0002'
 
309
TUN1                         EQU     H'0001'
 
310
TUN0                         EQU     H'0000'
 
311
 
 
312
 
 
313
;----- SSPSTAT Bits -------------------------------------------------------
 
314
 
 
315
SMP                          EQU     H'0007'
 
316
CKE                          EQU     H'0006'
 
317
D                            EQU     H'0005'
 
318
I2C_DATA                     EQU     H'0005'
 
319
NOT_A                        EQU     H'0005'
 
320
NOT_ADDRESS                  EQU     H'0005'
 
321
D_A                          EQU     H'0005'
 
322
DATA_ADDRESS                 EQU     H'0005'
 
323
P                            EQU     H'0004'
 
324
I2C_STOP                     EQU     H'0004'
 
325
S                            EQU     H'0003'
 
326
I2C_START                    EQU     H'0003'
 
327
R                            EQU     H'0002'
 
328
I2C_READ                     EQU     H'0002'
 
329
NOT_W                        EQU     H'0002'
 
330
NOT_WRITE                    EQU     H'0002'
 
331
R_W                          EQU     H'0002'
 
332
READ_WRITE                   EQU     H'0002'
 
333
UA                           EQU     H'0001'
 
334
BF                           EQU     H'0000'
 
335
 
 
336
 
 
337
;----- WPUB Bits -------------------------------------------------------
 
338
 
 
339
WPUB7                        EQU     H'0007'
 
340
WPUB6                        EQU     H'0006'
 
341
WPUB5                        EQU     H'0005'
 
342
WPUB4                        EQU     H'0004'
 
343
WPUB3                        EQU     H'0003'
 
344
WPUB2                        EQU     H'0002'
 
345
WPUB1                        EQU     H'0001'
 
346
WPUB0                        EQU     H'0000'
 
347
 
 
348
;----- WPU Bits -------------------------------------------------------
 
349
 
 
350
WPU7                         EQU     H'0007'    ; Backward Compatability only
 
351
WPU6                         EQU     H'0006'    ; Backward Compatability only
 
352
WPU5                         EQU     H'0005'    ; Backward Compatability only
 
353
WPU4                         EQU     H'0004'    ; Backward Compatability only
 
354
WPU3                         EQU     H'0003'    ; Backward Compatability only
 
355
WPU2                         EQU     H'0002'    ; Backward Compatability only
 
356
WPU1                         EQU     H'0001'    ; Backward Compatability only
 
357
WPU0                         EQU     H'0000'    ; Backward Compatability only
 
358
 
 
359
;----- IOCB Bits -------------------------------------------------------
 
360
 
 
361
IOCB7                        EQU     H'0007'
 
362
IOCB6                        EQU     H'0006'
 
363
IOCB5                        EQU     H'0005'
 
364
IOCB4                        EQU     H'0004'
 
365
IOCB3                        EQU     H'0003'
 
366
IOCB2                        EQU     H'0002'
 
367
IOCB1                        EQU     H'0001'
 
368
IOCB0                        EQU     H'0000'
 
369
 
 
370
 
 
371
;----- IOC Bits -------------------------------------------------------
 
372
 
 
373
IOC7                         EQU     H'0007'    ; Backward Compatability only
 
374
IOC6                         EQU     H'0006'    ; Backward Compatability only
 
375
IOC5                         EQU     H'0005'    ; Backward Compatability only
 
376
IOC4                         EQU     H'0004'    ; Backward Compatability only
 
377
IOC3                         EQU     H'0003'    ; Backward Compatability only
 
378
IOC2                         EQU     H'0002'    ; Backward Compatability only
 
379
IOC1                         EQU     H'0001'    ; Backward Compatability only
 
380
IOC0                         EQU     H'0000'    ; Backward Compatability only
 
381
 
 
382
 
 
383
;----- TXSTA Bits ---------------------------------------------------------
 
384
 
 
385
CSRC                         EQU     H'0007'
 
386
TX9                          EQU     H'0006'
 
387
NOT_TX8                      EQU     H'0006'    ; Backward compatibility only
 
388
TX8_9                        EQU     H'0006'    ; Backward compatibility only
 
389
TXEN                         EQU     H'0005'
 
390
SYNC                         EQU     H'0004'
 
391
BRGH                         EQU     H'0002'
 
392
TRMT                         EQU     H'0001'
 
393
TX9D                         EQU     H'0000'
 
394
TXD8                         EQU     H'0000'    ; Backward compatibility only
 
395
 
 
396
 
 
397
;----- APFCON Bits ---------------------------------------------------------
 
398
 
 
399
CCP2SEL                      EQU     H'0000'
 
400
SSSEL                        EQU     H'0001'
 
401
 
 
402
 
 
403
;----- FVRCON Bits --------------------------------------------------------
 
404
 
 
405
FVRST                        EQU     H'0007'
 
406
FVREN                        EQU     H'0006'
 
407
ADFVR1                       EQU     H'0001'
 
408
ADFVR0                       EQU     H'0000'
 
409
 
 
410
;----- ADCON1 Bits --------------------------------------------------------
 
411
 
 
412
ADCS2                        EQU     H'0006'
 
413
ADCS1                        EQU     H'0005'
 
414
ADCS0                        EQU     H'0004'
 
415
ADREF1                       EQU     H'0001'
 
416
ADREF0                       EQU     H'0000'
 
417
 
 
418
 
 
419
 
 
420
;----- CPSCON0 Bits ---------------------------------------------------------
 
421
 
 
422
CPSON                        EQU     H'0007'
 
423
CPSRNG1                      EQU     H'0003'
 
424
CPSRNG0                      EQU     H'0002'
 
425
CPSOUT                       EQU     H'0001'
 
426
T0XCS                        EQU     H'0000'
 
427
 
 
428
;----- CPSCON1 Bits ---------------------------------------------------------
 
429
 
 
430
CPSCH3                       EQU     H'0003'
 
431
CPSCH2                       EQU     H'0002'
 
432
CPSCH1                       EQU     H'0001'
 
433
CPSCH0                       EQU     H'0000'
 
434
 
 
435
;----- ANSELA Bits ---------------------------------------------------------
 
436
 
 
437
ANSA5                        EQU     H'0005'
 
438
ANSA4                        EQU     H'0004'
 
439
ANSA3                        EQU     H'0003'
 
440
ANSA2                        EQU     H'0002'
 
441
ANSA1                        EQU     H'0001'
 
442
ANSA0                        EQU     H'0000'
 
443
 
 
444
;----- ANSELB Bits ---------------------------------------------------------
 
445
 
 
446
ANSB5                        EQU     H'0005'
 
447
ANSB4                        EQU     H'0004'
 
448
ANSB3                        EQU     H'0003'
 
449
ANSB2                        EQU     H'0002'
 
450
ANSB1                        EQU     H'0001'
 
451
ANSB0                        EQU     H'0000'
 
452
 
 
453
;----- ANSELD Bits ---------------------------------------------------------
 
454
        
 
455
ANSD7                        EQU     H'0007'
 
456
ANSD6                        EQU     H'0006'
 
457
ANSD5                        EQU     H'0005'
 
458
ANSD4                        EQU     H'0004'
 
459
ANSD3                        EQU     H'0003'
 
460
ANSD2                        EQU     H'0002'
 
461
ANSD1                        EQU     H'0001'
 
462
ANSD0                        EQU     H'0000'
 
463
 
 
464
;----- ANSELE Bits ---------------------------------------------------------
 
465
 
 
466
ANSE2                        EQU     H'0002'
 
467
ANSE1                        EQU     H'0001'
 
468
ANSE0                        EQU     H'0000'
 
469
 
 
470
;----- PMCON1 Bits --------------------------------------------------------
 
471
 
 
472
RD                           EQU     H'0000'
 
473
PMRD                         EQU     H'0000'
 
474
 
 
475
 
 
476
 
 
477
;==========================================================================
 
478
;
 
479
;       RAM Definition
 
480
;
 
481
;==========================================================================
 
482
 
 
483
        __MAXRAM H'1FF'
 
484
 
 
485
;==========================================================================
 
486
;
 
487
;       Configuration Bits
 
488
;
 
489
;==========================================================================
 
490
 
 
491
_CONFIG1                     EQU     H'2007'
 
492
_CONFIG2                     EQU     H'2008'
 
493
 
 
494
;----- Configuration Word 1 Bits ------------------------------------------
 
495
 
 
496
_DEBUG_ON                    EQU     H'1FFF'
 
497
_DEBUG_OFF                   EQU     H'3FFF'
 
498
 
 
499
_PLL_EN                      EQU     H'3FFF'
 
500
_PLL_DIS                     EQU     H'2FFF'
 
501
 
 
502
_BORV_1_9                    EQU     H'3FFF'
 
503
_BORV_2_5                    EQU     H'3BFF'
 
504
 
 
505
_BOR_ON                      EQU     H'3FFF'
 
506
_BOR_NSLEEP                  EQU     H'3DFF'
 
507
_BOR_OFF                     EQU     H'3CFF'
 
508
 
 
509
_CP_ON                       EQU     H'3FBF'
 
510
_CP_OFF                      EQU     H'3FFF'
 
511
 
 
512
_MCLR_EN                     EQU     H'3FFF'
 
513
_MCLRE_ON                    EQU     H'3FFF'     ; Backward compatibility only
 
514
_MCLR_DIS                    EQU     H'3FDF'
 
515
_MCLRE_OFF                   EQU     H'3FDF'     ; Backward compatibility only
 
516
 
 
517
_PWRT_EN                     EQU     H'3FEF'
 
518
_PWRTE_ON                    EQU     H'3FEF'     ; Backward compatibility only
 
519
_PWRT_DIS                    EQU     H'3FFF'
 
520
_PWRTE_OFF                   EQU     H'3FFF'     ; Backward compatibility only
 
521
 
 
522
_WDT_ON                      EQU     H'3FFF'
 
523
_WDT_OFF                     EQU     H'3FF7'
 
524
 
 
525
_LP_OSC                      EQU     H'3FF8'
 
526
_XT_OSC                      EQU     H'3FF9'
 
527
_HS_OSC                      EQU     H'3FFA'
 
528
_EC_OSC                      EQU     H'3FFB'
 
529
_INTRC_OSC_NOCLKOUT          EQU     H'3FFC'
 
530
_INTRC_OSC_CLKOUT            EQU     H'3FFD'
 
531
_INTOSCIO                    EQU     H'3FFC'
 
532
_INTOSC                      EQU     H'3FFD'
 
533
_EXTRC_OSC_NOCLKOUT          EQU     H'3FFE'
 
534
_EXTRC_OSC_CLKOUT            EQU     H'3FFF'
 
535
_EXTRCIO                     EQU     H'3FFE'
 
536
_EXTRC                       EQU     H'3FFF'
 
537
 
 
538
 
 
539
;----- Configuration Word 2 Bits ------------------------------------------
 
540
 
 
541
_VCAP_DIS                    EQU     H'3FFF'
 
542
_VCAP_RA6                    EQU     H'3FEF'
 
543
_VCAP_RA5                    EQU     H'3FDF'
 
544
_VCAP_RA0                    EQU     H'3FCF'
 
545
 
 
546
;==========================================================================
 
547
;
 
548
;       RAM Definition
 
549
;
 
550
;==========================================================================
 
551
 
 
552
        __BADRAM H'97', H'9A'-H'9B', H'9E'
 
553
        __BADRAM H'105'-H'107'
 
554
        __BADRAM H'187', H'18D'-H'18F'
 
555
 
 
556
 
 
557
        LIST