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

« back to all changes in this revision

Viewing changes to header/p16f913.inc

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2006-09-04 11:05:06 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20060904110506-1nmyanxfhepzyogy
Tags: 0.13.4-1
* New upstream version.
  - Fixed 18xx config bug when config is the last section (closes: #305547).
* Bumped Standards-Version to 3.7.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
        LIST
2
 
; P16F913.INC  Standard Header File, Version 1.00    Microchip Technology, Inc.
 
2
; P16F913.INC  Standard Header File, Version 1.04    Microchip Technology, Inc.
3
3
        NOLIST
4
4
 
5
5
; This header file defines configurations, registers, and other useful bits of
25
25
;1.00   06/11/04 Initial Release 
26
26
;1.01   06/18/04 Corrected typo in 'bad ram' section
27
27
;1.02   08/16/04 Added EECON2
28
 
 
 
28
;1.03   05/20/05 Removed EECON2 from badram
 
29
;1.04   10/05/05 Correct names of bits in ANSEL, Add EEADRH and EEADRL bit 
 
30
;                       definitions
 
31
 
29
32
 
30
33
;==========================================================================
31
34
;
297
300
 
298
301
;----- ANSEL Bits ---------------------------------------------------------
299
302
 
300
 
AN4                          EQU     H'0004'
301
 
AN3                          EQU     H'0003'
302
 
AN2                          EQU     H'0002'
303
 
AN1                          EQU     H'0001'
304
 
AN0                          EQU     H'0000'
 
303
ANS4                         EQU     H'0004'
 
304
AN4                          EQU     H'0004'    ; Backward compatibility only
 
305
ANS3                         EQU     H'0003'
 
306
AN3                          EQU     H'0003'    ; Backward compatibility only
 
307
ANS2                         EQU     H'0002'
 
308
AN2                          EQU     H'0002'    ; Backward compatibility only
 
309
ANS1                         EQU     H'0001'
 
310
AN1                          EQU     H'0001'    ; Backward compatibility only
 
311
ANS0                         EQU     H'0000'
 
312
AN0                          EQU     H'0000'    ; Backward compatibility only
305
313
 
306
314
 
307
315
;----- SSPSTAT Bits -------------------------------------------------------
451
459
LVDL1                        EQU     H'0001'
452
460
LVDL0                        EQU     H'0000'
453
461
 
454
 
;----- LCDDAT0 Bits -------------------------------------------------------
 
462
;----- LCDDATA0 Bits -------------------------------------------------------
455
463
 
456
464
SEG7COM0                     EQU     H'0007'
457
465
SEG6COM0                     EQU     H'0006'
471
479
S1C0                         EQU     H'0001'
472
480
S0C0                         EQU     H'0000'
473
481
 
474
 
;----- LCDDAT1 Bits -------------------------------------------------------
 
482
;----- LCDDATA1 Bits -------------------------------------------------------
475
483
 
476
484
SEG15COM0                    EQU     H'0007'
477
485
SEG14COM0                    EQU     H'0006'
492
500
S8C0                         EQU     H'0000'
493
501
 
494
502
 
495
 
;----- LCDDAT3 Bits -------------------------------------------------------
 
503
;----- LCDDATA3 Bits -------------------------------------------------------
496
504
 
497
505
SEG7COM1                     EQU     H'0007'
498
506
SEG6COM1                     EQU     H'0006'
512
520
S1C1                         EQU     H'0001'
513
521
S0C1                         EQU     H'0000'
514
522
 
515
 
;----- LCDDAT4 Bits -------------------------------------------------------
 
523
;----- LCDDATA4 Bits -------------------------------------------------------
516
524
 
517
525
SEG15COM1                    EQU     H'0007'
518
526
SEG14COM1                    EQU     H'0006'
533
541
S8C1                         EQU     H'0000'
534
542
 
535
543
 
536
 
;----- LCDDAT6 Bits -------------------------------------------------------
 
544
;----- LCDDATA6 Bits -------------------------------------------------------
537
545
 
538
546
SEG7COM2                     EQU     H'0007'
539
547
SEG6COM2                     EQU     H'0006'
553
561
S1C2                         EQU     H'0001'
554
562
S0C2                         EQU     H'0000'
555
563
 
556
 
;----- LCDDAT7 Bits -------------------------------------------------------
 
564
;----- LCDDATA7 Bits -------------------------------------------------------
557
565
 
558
566
SEG15COM2                    EQU     H'0007'
559
567
SEG14COM2                    EQU     H'0006'
574
582
S8C2                         EQU     H'0000'
575
583
 
576
584
 
577
 
;----- LCDDAT9 Bits -------------------------------------------------------
 
585
;----- LCDDATA9 Bits -------------------------------------------------------
578
586
 
579
587
SEG7COM3                     EQU     H'0007'
580
588
SEG6COM3                     EQU     H'0006'
594
602
S1C3                         EQU     H'0001'
595
603
S0C3                         EQU     H'0000'
596
604
 
597
 
;----- LCDDAT10 Bits -------------------------------------------------------
 
605
;----- LCDDATA10 Bits -------------------------------------------------------
598
606
 
599
607
SEG15COM3                    EQU     H'0007'
600
608
SEG14COM3                    EQU     H'0006'
666
674
RD                           EQU     H'0000'
667
675
EERD                         EQU     H'0000'
668
676
 
 
677
;----- EEADRH Bits --------------------------------------------------------
 
678
 
 
679
EEADRH4                      EQU     H'0004'
 
680
EEADRH3                      EQU     H'0003'
 
681
EEADRH2                      EQU     H'0002'
 
682
EEADRH1                      EQU     H'0001'
 
683
EEADRH0                      EQU     H'0000'
 
684
 
 
685
;----- EEADRL Bits --------------------------------------------------------
 
686
 
 
687
EEADRL7                      EQU     H'0007'
 
688
EEADRL6                      EQU     H'0006'
 
689
EEADRL5                      EQU     H'0005'
 
690
EEADRL4                      EQU     H'0004'
 
691
EEADRL3                      EQU     H'0003'
 
692
EEADRL2                      EQU     H'0002'
 
693
EEADRL1                      EQU     H'0001'
 
694
EEADRL0                      EQU     H'0000'
 
695
 
669
696
 
670
697
;==========================================================================
671
698
;
677
704
        __BADRAM H'08', H'1B'-H'1D'
678
705
        __BADRAM H'88', H'9A'-H'9B'
679
706
        __BADRAM H'112', H'115', H'118', H'11B',H'11E'-H'11F'
680
 
        __BADRAM H'185', H'187'-H'189', H'18D'-H'1EF'
 
707
        __BADRAM H'185', H'187'-H'189', H'18E'-H'1EF'
681
708
 
682
709
;==========================================================================
683
710
;