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

« back to all changes in this revision

Viewing changes to header/p18f4580.inc

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2005-04-16 01:00:23 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20050416010023-xo612jqs8xlk0b3d
Tags: upstream-0.13.1
ImportĀ upstreamĀ versionĀ 0.13.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
        LIST
2
2
 
3
3
;==========================================================================
4
 
;  $Id: p18f4580.inc,v 1.1 2004/07/24 03:00:02 craigfranklin Exp $
 
4
;  $Id: p18f4580.inc,v 1.3 2005/03/24 04:08:44 craigfranklin Exp $
5
5
;  MPASM PIC18F4580 processor include
6
6
7
 
;  (c) Copyright 1999-2004 Microchip Technology, All rights reserved
 
7
;  (c) Copyright 1999-2005 Microchip Technology, All rights reserved
8
8
;==========================================================================
9
9
 
10
10
        NOLIST
373
373
EECON2           EQU  H'0FA7'
374
374
EEDATA           EQU  H'0FA8'
375
375
EEADR            EQU  H'0FA9'
376
 
EEADRH           EQU  H'0FAA'
377
376
RCSTA            EQU  H'0FAB'
378
377
TXSTA            EQU  H'0FAC'
379
378
TXREG            EQU  H'0FAD'
381
380
SPBRG            EQU  H'0FAF'
382
381
SPBRGH           EQU  H'0FB0'
383
382
T3CON            EQU  H'0FB1'
384
 
TMR3             EQU  H'0FB2'
385
383
TMR3L            EQU  H'0FB2'
386
384
TMR3H            EQU  H'0FB3'
387
385
CMCON            EQU  H'0FB4'
412
410
PR2              EQU  H'0FCB'
413
411
TMR2             EQU  H'0FCC'
414
412
T1CON            EQU  H'0FCD'
415
 
TMR1             EQU  H'0FCE'
416
413
TMR1L            EQU  H'0FCE'
417
414
TMR1H            EQU  H'0FCF'
418
415
RCON             EQU  H'0FD0'
421
418
LVDCON           EQU  H'0FD2'
422
419
OSCCON           EQU  H'0FD3'
423
420
T0CON            EQU  H'0FD5'
424
 
TMR0             EQU  H'0FD6'
425
421
TMR0L            EQU  H'0FD6'
426
422
TMR0H            EQU  H'0FD7'
427
423
STATUS           EQU  H'0FD8'
483
479
;----- RXF6SIDL Bits -----------------------------------------------------
484
480
EID16            EQU  H'0000'
485
481
EID17            EQU  H'0001'
486
 
EXIDE            EQU  H'0003'
 
482
EXIDE_RXF6SIDL   EQU  H'0003'
487
483
SID0             EQU  H'0005'
488
484
SID1             EQU  H'0006'
489
485
SID2             EQU  H'0007'
525
521
;----- RXF7SIDL Bits -----------------------------------------------------
526
522
EID16            EQU  H'0000'
527
523
EID17            EQU  H'0001'
528
 
EXIDE            EQU  H'0003'
 
524
EXIDE_RXF7SIDL   EQU  H'0003'
529
525
SID0             EQU  H'0005'
530
526
SID1             EQU  H'0006'
531
527
SID2             EQU  H'0007'
567
563
;----- RXF8SIDL Bits -----------------------------------------------------
568
564
EID16            EQU  H'0000'
569
565
EID17            EQU  H'0001'
570
 
EXIDE            EQU  H'0003'
 
566
EXIDE_RXF8SIDL   EQU  H'0003'
571
567
SID0             EQU  H'0005'
572
568
SID1             EQU  H'0006'
573
569
SID2             EQU  H'0007'
609
605
;----- RXF9SIDL Bits -----------------------------------------------------
610
606
EID16            EQU  H'0000'
611
607
EID17            EQU  H'0001'
612
 
EXIDE            EQU  H'0003'
 
608
EXIDE_RXF9SIDL   EQU  H'0003'
613
609
SID0             EQU  H'0005'
614
610
SID1             EQU  H'0006'
615
611
SID2             EQU  H'0007'
651
647
;----- RXF10SIDL Bits -----------------------------------------------------
652
648
EID16            EQU  H'0000'
653
649
EID17            EQU  H'0001'
654
 
EXIDE            EQU  H'0003'
 
650
EXIDE_RXF10SIDL  EQU  H'0003'
655
651
SID0             EQU  H'0005'
656
652
SID1             EQU  H'0006'
657
653
SID2             EQU  H'0007'
693
689
;----- RXF11SIDL Bits -----------------------------------------------------
694
690
EID16            EQU  H'0000'
695
691
EID17            EQU  H'0001'
696
 
EXIDE            EQU  H'0003'
 
692
EXIDE_RXF11SIDL  EQU  H'0003'
697
693
SID0             EQU  H'0005'
698
694
SID1             EQU  H'0006'
699
695
SID2             EQU  H'0007'
735
731
;----- RXF12SIDL Bits -----------------------------------------------------
736
732
EID16            EQU  H'0000'
737
733
EID17            EQU  H'0001'
738
 
EXIDE            EQU  H'0003'
 
734
EXIDE_RXF12SIDL  EQU  H'0003'
739
735
SID0             EQU  H'0005'
740
736
SID1             EQU  H'0006'
741
737
SID2             EQU  H'0007'
777
773
;----- RXF13SIDL Bits -----------------------------------------------------
778
774
EID16            EQU  H'0000'
779
775
EID17            EQU  H'0001'
780
 
EXIDE            EQU  H'0003'
 
776
EXIDE_RXF13SIDL  EQU  H'0003'
781
777
SID0             EQU  H'0005'
782
778
SID1             EQU  H'0006'
783
779
SID2             EQU  H'0007'
819
815
;----- RXF14SIDL Bits -----------------------------------------------------
820
816
EID16            EQU  H'0000'
821
817
EID17            EQU  H'0001'
822
 
EXIDE            EQU  H'0003'
 
818
EXIDE_RXF14SIDL  EQU  H'0003'
823
819
SID0             EQU  H'0005'
824
820
SID1             EQU  H'0006'
825
821
SID2             EQU  H'0007'
861
857
;----- RXF15SIDL Bits -----------------------------------------------------
862
858
EID16            EQU  H'0000'
863
859
EID17            EQU  H'0001'
864
 
EXIDE            EQU  H'0003'
 
860
EXIDE_RXF15SIDL  EQU  H'0003'
865
861
SID0             EQU  H'0005'
866
862
SID1             EQU  H'0006'
867
863
SID2             EQU  H'0007'
1117
1113
SID1             EQU  H'0006'
1118
1114
SID2             EQU  H'0007'
1119
1115
 
1120
 
EXIDE            EQU  H'0003'
 
1116
EXIDE_B0SIDL     EQU  H'0003'
1121
1117
 
1122
1118
 
1123
1119
;----- B0EIDH Bits -----------------------------------------------------
1303
1299
SID1             EQU  H'0006'
1304
1300
SID2             EQU  H'0007'
1305
1301
 
1306
 
EXIDE            EQU  H'0003'
 
1302
EXIDE_B1SIDL     EQU  H'0001'
1307
1303
 
1308
1304
 
1309
1305
;----- B1EIDH Bits -----------------------------------------------------
1489
1485
SID1             EQU  H'0006'
1490
1486
SID2             EQU  H'0007'
1491
1487
 
1492
 
EXIDE            EQU  H'0003'
 
1488
EXIDE_B2SIDL     EQU  H'0003'
1493
1489
 
1494
1490
 
1495
1491
;----- B2EIDH Bits -----------------------------------------------------
1675
1671
SID1             EQU  H'0006'
1676
1672
SID2             EQU  H'0007'
1677
1673
 
1678
 
EXIDE            EQU  H'0003'
 
1674
EXIDE_B3SIDL     EQU  H'0003'
1679
1675
 
1680
1676
 
1681
1677
;----- B3EIDH Bits -----------------------------------------------------
1861
1857
SID1             EQU  H'0006'
1862
1858
SID2             EQU  H'0007'
1863
1859
 
1864
 
EXIDE            EQU  H'0003'
 
1860
EXIDE_B4SIDL     EQU  H'0003'
1865
1861
 
1866
1862
 
1867
1863
;----- B4EIDH Bits -----------------------------------------------------
2203
2199
;----- RXF0SIDL Bits -----------------------------------------------------
2204
2200
EID16            EQU  H'0000'
2205
2201
EID17            EQU  H'0001'
2206
 
EXIDE            EQU  H'0003'
 
2202
EXIDE_RXF0SIDL   EQU  H'0003'
2207
2203
SID0             EQU  H'0005'
2208
2204
SID1             EQU  H'0006'
2209
2205
SID2             EQU  H'0007'
2210
2206
 
2211
 
EXIDEN           EQU  H'0003'
 
2207
EXIDEN_RXF0SIDL  EQU  H'0003'
2212
2208
 
2213
2209
 
2214
2210
;----- RXF0EIDH Bits -----------------------------------------------------
2247
2243
;----- RXF1SIDL Bits -----------------------------------------------------
2248
2244
EID16            EQU  H'0000'
2249
2245
EID17            EQU  H'0001'
2250
 
EXIDE            EQU  H'0003'
 
2246
EXIDE_RXF1SIDL   EQU  H'0003'
2251
2247
SID0             EQU  H'0005'
2252
2248
SID1             EQU  H'0006'
2253
2249
SID2             EQU  H'0007'
2254
2250
 
2255
 
EXIDEN           EQU  H'0003'
 
2251
EXIDEN_RXF1SIDL  EQU  H'0001'
2256
2252
 
2257
2253
 
2258
2254
;----- RXF1EIDH Bits -----------------------------------------------------
2291
2287
;----- RXF2SIDL Bits -----------------------------------------------------
2292
2288
EID16            EQU  H'0000'
2293
2289
EID17            EQU  H'0001'
2294
 
EXIDE            EQU  H'0003'
 
2290
EXIDE_RXF2SIDL   EQU  H'0003'
2295
2291
SID0             EQU  H'0005'
2296
2292
SID1             EQU  H'0006'
2297
2293
SID2             EQU  H'0007'
2298
2294
 
2299
 
EXIDEN           EQU  H'0003'
 
2295
EXIDEN_RXF2SIDL  EQU  H'0003'
2300
2296
 
2301
2297
 
2302
2298
;----- RXF2EIDH Bits -----------------------------------------------------
2335
2331
;----- RXF3SIDL Bits -----------------------------------------------------
2336
2332
EID16            EQU  H'0000'
2337
2333
EID17            EQU  H'0001'
2338
 
EXIDE            EQU  H'0003'
 
2334
EXIDE_RXF3SIDL   EQU  H'0003'
2339
2335
SID0             EQU  H'0005'
2340
2336
SID1             EQU  H'0006'
2341
2337
SID2             EQU  H'0007'
2342
2338
 
2343
 
EXIDEN           EQU  H'0003'
 
2339
EXIDEN_RXF3SIDL  EQU  H'0003'
2344
2340
 
2345
2341
 
2346
2342
;----- RXF3EIDH Bits -----------------------------------------------------
2379
2375
;----- RXF4SIDL Bits -----------------------------------------------------
2380
2376
EID16            EQU  H'0000'
2381
2377
EID17            EQU  H'0001'
2382
 
EXIDE            EQU  H'0003'
 
2378
EXIDE_RXF4SIDL   EQU  H'0003'
2383
2379
SID0             EQU  H'0005'
2384
2380
SID1             EQU  H'0006'
2385
2381
SID2             EQU  H'0007'
2386
2382
 
2387
 
EXIDEN           EQU  H'0003'
 
2383
EXIDEN_RXF4SIDL  EQU  H'0003'
2388
2384
 
2389
2385
 
2390
2386
;----- RXF4EIDH Bits -----------------------------------------------------
2423
2419
;----- RXF5SIDL Bits -----------------------------------------------------
2424
2420
EID16            EQU  H'0000'
2425
2421
EID17            EQU  H'0001'
2426
 
EXIDE            EQU  H'0003'
 
2422
EXIDE_RXF5SIDL   EQU  H'0003'
2427
2423
SID0             EQU  H'0005'
2428
2424
SID1             EQU  H'0006'
2429
2425
SID2             EQU  H'0007'
2430
2426
 
2431
 
EXIDEN           EQU  H'0003'
 
2427
EXIDEN_RXF5SIDL  EQU  H'0003'
2432
2428
 
2433
2429
 
2434
2430
;----- RXF5EIDH Bits -----------------------------------------------------
2467
2463
;----- RXM0SIDL Bits -----------------------------------------------------
2468
2464
EID16            EQU  H'0000'
2469
2465
EID17            EQU  H'0001'
2470
 
EXIDEN           EQU  H'0003'
 
2466
EXIDEN_RXM0SIDL  EQU  H'0003'
2471
2467
SID0             EQU  H'0005'
2472
2468
SID1             EQU  H'0006'
2473
2469
SID2             EQU  H'0007'
2509
2505
;----- RXM1SIDL Bits -----------------------------------------------------
2510
2506
EID16            EQU  H'0000'
2511
2507
EID17            EQU  H'0001'
2512
 
EXIDEN           EQU  H'0003'
 
2508
EXIDEN_RXM1SIDL  EQU  H'0003'
2513
2509
SID0             EQU  H'0005'
2514
2510
SID1             EQU  H'0006'
2515
2511
SID2             EQU  H'0007'
2563
2559
;----- TXB2SIDL Bits -----------------------------------------------------
2564
2560
EID16            EQU  H'0000'
2565
2561
EID17            EQU  H'0001'
2566
 
EXIDE            EQU  H'0003'
 
2562
EXIDE_TXB2SIDL   EQU  H'0003'
2567
2563
SID0             EQU  H'0005'
2568
2564
SID1             EQU  H'0006'
2569
2565
SID2             EQU  H'0007'
2734
2730
;----- TXB1SIDL Bits -----------------------------------------------------
2735
2731
EID16            EQU  H'0000'
2736
2732
EID17            EQU  H'0001'
2737
 
EXIDE            EQU  H'0003'
 
2733
EXIDE_TXB1SIDL   EQU  H'0003'
2738
2734
SID0             EQU  H'0005'
2739
2735
SID1             EQU  H'0006'
2740
2736
SID2             EQU  H'0007'
2886
2882
TXERR            EQU  H'0004'
2887
2883
TXLARB           EQU  H'0005'
2888
2884
TXABT            EQU  H'0006'
 
2885
 
2889
2886
TXBIF            EQU  H'0007'
2890
2887
 
2891
2888
 
2903
2900
;----- TXB0SIDL Bits -----------------------------------------------------
2904
2901
EID16            EQU  H'0000'
2905
2902
EID17            EQU  H'0001'
2906
 
EXIDE            EQU  H'0003'
 
2903
EXIDE_TXB0SIDL   EQU  H'0003'
2907
2904
SID0             EQU  H'0005'
2908
2905
SID1             EQU  H'0006'
2909
2906
SID2             EQU  H'0007'
3459
3456
RXB0OVFL         EQU  H'0007'
3460
3457
 
3461
3458
RXBnOVFL         EQU  H'0006'
 
3459
 
3462
3460
FIFOEMPTY        EQU  H'0007'
3463
3461
 
3464
3462
 
3527
3525
 
3528
3526
NOT_SS           EQU  H'0005'
3529
3527
 
 
3528
HLVDIN           EQU  H'0005'
 
3529
 
3530
3530
 
3531
3531
;----- PORTB Bits -----------------------------------------------------
3532
3532
RB0              EQU  H'0000'
3831
3831
CMIE             EQU  H'0006'
3832
3832
OSCFIE           EQU  H'0007'
3833
3833
 
 
3834
HLVDIE           EQU  H'0002'
 
3835
 
3834
3836
 
3835
3837
;----- PIR2 Bits -----------------------------------------------------
3836
3838
ECCP1IF          EQU  H'0000'
3841
3843
CMIF             EQU  H'0006'
3842
3844
OSCFIF           EQU  H'0007'
3843
3845
 
 
3846
HLVDIF           EQU  H'0002'
 
3847
 
3844
3848
 
3845
3849
;----- IPR2 Bits -----------------------------------------------------
3846
3850
ECCP1IP          EQU  H'0000'
3851
3855
CMIP             EQU  H'0006'
3852
3856
OSCFIP           EQU  H'0007'
3853
3857
 
 
3858
HLVDIP           EQU  H'0002'
 
3859
 
3854
3860
 
3855
3861
;----- PIE3 Bits -----------------------------------------------------
3856
3862
RXB0IE           EQU  H'0000'
4159
4165
LVDL3            EQU  H'0003'
4160
4166
LVDEN            EQU  H'0004'
4161
4167
IRVST            EQU  H'0005'
4162
 
LVDMAG           EQU  H'0007'
4163
4168
 
4164
4169
LVV0             EQU  H'0000'
4165
4170
LVV1             EQU  H'0001'
4167
4172
LVV3             EQU  H'0003'
4168
4173
BGST             EQU  H'0005'
4169
4174
 
4170
 
HLVV0            EQU  H'0000'
4171
 
HLVV1            EQU  H'0001'
4172
 
HLVV2            EQU  H'0002'
4173
 
HLVV3            EQU  H'0003'
4174
 
HBGST            EQU  H'0005'
4175
 
HLVDMAG          EQU  H'0007'
4176
 
 
4177
4175
HLVDL0           EQU  H'0000'
4178
4176
HLVDL1           EQU  H'0001'
4179
4177
HLVDL2           EQU  H'0002'
4180
4178
HLVDL3           EQU  H'0003'
4181
4179
HLVDEN           EQU  H'0004'
4182
 
HIRVST           EQU  H'0005'
 
4180
VDIRMAG          EQU  H'0007'
 
4181
 
 
4182
IVRST            EQU  H'0005'
4183
4183
 
4184
4184
 
4185
4185
;----- LVDCON Bits -----------------------------------------------------
4189
4189
LVDL3            EQU  H'0003'
4190
4190
LVDEN            EQU  H'0004'
4191
4191
IRVST            EQU  H'0005'
4192
 
LVDMAG           EQU  H'0007'
4193
4192
 
4194
4193
LVV0             EQU  H'0000'
4195
4194
LVV1             EQU  H'0001'
4197
4196
LVV3             EQU  H'0003'
4198
4197
BGST             EQU  H'0005'
4199
4198
 
4200
 
HLVV0            EQU  H'0000'
4201
 
HLVV1            EQU  H'0001'
4202
 
HLVV2            EQU  H'0002'
4203
 
HLVV3            EQU  H'0003'
4204
 
HBGST            EQU  H'0005'
4205
 
HLVDMAG          EQU  H'0007'
4206
 
 
4207
4199
HLVDL0           EQU  H'0000'
4208
4200
HLVDL1           EQU  H'0001'
4209
4201
HLVDL2           EQU  H'0002'
4210
4202
HLVDL3           EQU  H'0003'
4211
4203
HLVDEN           EQU  H'0004'
4212
 
HIRVST           EQU  H'0005'
 
4204
VDIRMAG          EQU  H'0007'
 
4205
 
 
4206
IVRST            EQU  H'0005'
4213
4207
 
4214
4208
 
4215
4209
;----- OSCCON Bits -----------------------------------------------------
4325
4319
       __BADRAM  H'0F8E'-H'0F91'
4326
4320
       __BADRAM  H'0F97'-H'0F9A'
4327
4321
       __BADRAM  H'0F9C'
 
4322
       __BADRAM  H'0FAA'
4328
4323
       __BADRAM  H'0FB9'
4329
4324
       __BADRAM  H'0FD4'
4330
4325
 
4331
4326
;==========================================================================
4332
4327
;
 
4328
;   IMPORTANT: For the PIC18 devices, the __CONFIG directive has been
 
4329
;              superseded by the CONFIG directive.  The following settings
 
4330
;              are available for this device.
 
4331
;
 
4332
;   Oscillator Selection bits:
 
4333
;     OSC = LP             LP
 
4334
;     OSC = XT             XT
 
4335
;     OSC = HS             HS
 
4336
;     OSC = RC             External RC with OSC2 as divide by 4 clock out
 
4337
;     OSC = EC             EC with OSC2 as divide by 4 clock out
 
4338
;     OSC = ECIO           EC with OSC2 as RA6
 
4339
;     OSC = HSPLL          HS with HW enabled 4xPLL
 
4340
;     OSC = RCIO           External RC with OSC2 as RA6
 
4341
;     OSC = IRCIO67        Internal RC with OSC2 as RA6 and OSC1 as RA7
 
4342
;     OSC = IRCIO7         Internal RC with OSC1 as RA7 and OSC2 as divide by 4 clock out
 
4343
;     OSC = ERC1           External RC with OSC2 as divide by 4 clock out
 
4344
;     OSC = ERC            External RC with OSC2 as divide by 4 clock out
 
4345
;
 
4346
;   Fail Safe Clock Monitor:
 
4347
;     FCMENB = OFF         Disabled
 
4348
;     FCMENB = ON          Enabled
 
4349
;
 
4350
;   Internal External Osc. Switch:
 
4351
;     IESOB = OFF          Disabled
 
4352
;     IESOB = ON           Enabled
 
4353
;
 
4354
;   Power Up Timer:
 
4355
;     PWRT = ON            Enabled
 
4356
;     PWRT = OFF           Disabled
 
4357
;
 
4358
;   Brown Out Reset:
 
4359
;     BOR = OFF            Disabled
 
4360
;     BOR = SBORENCTRL     Controlled by SBOREN
 
4361
;     BOR = BOACTIVE       Enabled whenever Part is Active - SBOREN Disabled
 
4362
;     BOR = BOHW           Enabled in HW, SBOREN disabled
 
4363
;
 
4364
;   Brown Out Voltage:
 
4365
;     BORV = 45            4.5V
 
4366
;     BORV = 42            4.2V
 
4367
;     BORV = 27            2.7V
 
4368
;     BORV = 20            2.0V
 
4369
;
 
4370
;   Watchdog Timer:
 
4371
;     WDT = OFF            HW Disabled - SW Controlled
 
4372
;     WDT = ON             HW Enabled - SW Disabled
 
4373
;
 
4374
;   Watchdog Postscaler:
 
4375
;     WDTPS = 1            1:1
 
4376
;     WDTPS = 2            1:2
 
4377
;     WDTPS = 4            1:4
 
4378
;     WDTPS = 8            1:8
 
4379
;     WDTPS = 16           1:16
 
4380
;     WDTPS = 32           1:32
 
4381
;     WDTPS = 64           1:64
 
4382
;     WDTPS = 128          1:128
 
4383
;     WDTPS = 256          1:256
 
4384
;     WDTPS = 512          1:512
 
4385
;     WDTPS = 1024         1:1024
 
4386
;     WDTPS = 2048         1:2048
 
4387
;     WDTPS = 4096         1:4096
 
4388
;     WDTPS = 8192         1:8192
 
4389
;     WDTPS = 16384        1:16384
 
4390
;     WDTPS = 32768        1:32768
 
4391
;
 
4392
;   MCLR Enable:
 
4393
;     MCLRE = OFF          Disabled
 
4394
;     MCLRE = ON           Enabled
 
4395
;
 
4396
;   Low Power Timer1 Oscillator:
 
4397
;     LPT1OSC = OFF        Timer1 Low Power Oscillator disabled
 
4398
;     LPT1OSC = ON         Timer1 Low Power Oscillator Active
 
4399
;
 
4400
;   Port B Pins Configured for A/D:
 
4401
;     PBADEN = OFF         Port B<4> and Port B<1:0> Configured as Digital I/O Pins on Reset
 
4402
;     PBADEN = ON          Port B<4> and Port B<1:0> Configured as Analog Pins on Reset
 
4403
;
 
4404
;   BackGround Debug:
 
4405
;     DEBUG = ON           Enabled
 
4406
;     DEBUG = OFF          Disabled
 
4407
;
 
4408
;   Extended Instruction Set CPU:
 
4409
;     XINST = OFF          Disabled
 
4410
;     XINST = ON           Enabled
 
4411
;
 
4412
;   Boot Block Size:
 
4413
;     BBSIZ = 1024         1K words (2K bytes) Boot Block
 
4414
;     BBSIZ = 2048         2K words (4K bytes) Boot Block
 
4415
;
 
4416
;   Low Voltage Programming:
 
4417
;     LVP = OFF            Disabled
 
4418
;     LVP = ON             Enabled
 
4419
;
 
4420
;   Stack Overflow/Underflow Reset:
 
4421
;     STVREN = OFF         Disabled
 
4422
;     STVREN = ON          Enabled
 
4423
;
 
4424
;   Code Protection Block 0:
 
4425
;     CP0 = ON             Enabled
 
4426
;     CP0 = OFF            Disabled
 
4427
;
 
4428
;   Code Protection Block 1:
 
4429
;     CP1 = ON             Enabled
 
4430
;     CP1 = OFF            Disabled
 
4431
;
 
4432
;   Code Protection Block 2:
 
4433
;     CP2 = ON             Enabled
 
4434
;     CP2 = OFF            Disabled
 
4435
;
 
4436
;   Code Protection Block 3:
 
4437
;     CP3 = ON             Enabled
 
4438
;     CP3 = OFF            Disabled
 
4439
;
 
4440
;   Boot Block Code Protection:
 
4441
;     CPB = ON             Enabled
 
4442
;     CPB = OFF            Disabled
 
4443
;
 
4444
;   Data EEPROM Code Protection:
 
4445
;     CPD = ON             Enabled
 
4446
;     CPD = OFF            Disabled
 
4447
;
 
4448
;   Write Protection Block 0:
 
4449
;     WRT0 = ON            Enabled
 
4450
;     WRT0 = OFF           Disabled
 
4451
;
 
4452
;   Write Protection Block 1:
 
4453
;     WRT1 = ON            Enabled
 
4454
;     WRT1 = OFF           Disabled
 
4455
;
 
4456
;   Write Protection Block 2:
 
4457
;     WRT2 = ON            Enabled
 
4458
;     WRT2 = OFF           Disabled
 
4459
;
 
4460
;   Write Protection Block 3:
 
4461
;     WRT3 = ON            Enabled
 
4462
;     WRT3 = OFF           Disabled
 
4463
;
 
4464
;   Boot Block Write Protection:
 
4465
;     WRTB = ON            Enabled
 
4466
;     WRTB = OFF           Disabled
 
4467
;
 
4468
;   Configuration Register Write Protection:
 
4469
;     WRTC = ON            Enabled
 
4470
;     WRTC = OFF           Disabled
 
4471
;
 
4472
;   Data EEPROM Write Protection:
 
4473
;     WRTD = ON            Enabled
 
4474
;     WRTD = OFF           Disabled
 
4475
;
 
4476
;   Table Read Protection Block 0:
 
4477
;     EBTR0 = ON           Enabled
 
4478
;     EBTR0 = OFF          Disabled
 
4479
;
 
4480
;   Table Read Protection Block 1:
 
4481
;     EBTR1 = ON           Enabled
 
4482
;     EBTR1 = OFF          Disabled
 
4483
;
 
4484
;   Table Read Protection Block 2:
 
4485
;     EBTR2 = ON           Enabled
 
4486
;     EBTR2 = OFF          Disabled
 
4487
;
 
4488
;   Table Read Protection Block 3:
 
4489
;     EBTR3 = ON           Enabled
 
4490
;     EBTR3 = OFF          Disabled
 
4491
;
 
4492
;   Boot Block Table Read Protection:
 
4493
;     EBTRB = ON           Enabled
 
4494
;     EBTRB = OFF          Disabled
 
4495
;
 
4496
;==========================================================================
 
4497
;==========================================================================
 
4498
;
4333
4499
;       Configuration Bits
4334
4500
;
4335
4501
;   NAME            Address
4433
4599
_XINST_OFF_4L        EQU  H'BF'    ; Disabled
4434
4600
_XINST_ON_4L         EQU  H'FF'    ; Enabled
4435
4601
 
4436
 
_BBSIZ_1Kword_4L     EQU  H'EF'    ; 1Kwords (2Kbytes) Boot Block
4437
 
_BBSIZ_2Kwords_4L    EQU  H'FF'    ; 2Kwords (4Kbytes) Boot Block
 
4602
_BBSIZ_1024_4L       EQU  H'EF'    ; 1K words (2K bytes) Boot Block
 
4603
_BBSIZ_2048_4L       EQU  H'FF'    ; 2K words (4K bytes) Boot Block
4438
4604
 
4439
4605
_LVP_OFF_4L          EQU  H'FB'    ; Disabled
4440
4606
_LVP_ON_4L           EQU  H'FF'    ; Enabled