* device/lib/pic/libdev/*.c,
[fw/sdcc] / device / lib / pic / libdev / pic16c745.c
index e0801fb8563c1f722a80a0eb48e31c0ee48683c9..720e609ffcbb993cde0566b154176abb7c999983 100644 (file)
@@ -5,74 +5,74 @@
  */
 #include <pic16c745.h>
 
-data __at (INDF_ADDR) volatile char      INDF;
-sfr  __at (TMR0_ADDR)                    TMR0;
-data __at (PCL_ADDR) volatile char       PCL;
-sfr  __at (STATUS_ADDR)                  STATUS;
-sfr  __at (FSR_ADDR)                     FSR;
-sfr  __at (PORTA_ADDR)                   PORTA;
-sfr  __at (PORTB_ADDR)                   PORTB;
-sfr  __at (PORTC_ADDR)                   PORTC;
-sfr  __at (PCLATH_ADDR)                  PCLATH;
-sfr  __at (INTCON_ADDR)                  INTCON;
-sfr  __at (PIR1_ADDR)                    PIR1;
-sfr  __at (PIR2_ADDR)                    PIR2;
-sfr  __at (TMR1L_ADDR)                   TMR1L;
-sfr  __at (TMR1H_ADDR)                   TMR1H;
-sfr  __at (T1CON_ADDR)                   T1CON;
-sfr  __at (TMR2_ADDR)                    TMR2;
-sfr  __at (T2CON_ADDR)                   T2CON;
-sfr  __at (CCPR1L_ADDR)                  CCPR1L;
-sfr  __at (CCPR1H_ADDR)                  CCPR1H;
-sfr  __at (CCP1CON_ADDR)                 CCP1CON;
-sfr  __at (RCSTA_ADDR)                   RCSTA;
-sfr  __at (TXREG_ADDR)                   TXREG;
-sfr  __at (RCREG_ADDR)                   RCREG;
-sfr  __at (CCPR2L_ADDR)                  CCPR2L;
-sfr  __at (CCPR2H_ADDR)                  CCPR2H;
-sfr  __at (CCP2CON_ADDR)                 CCP2CON;
-sfr  __at (ADRES_ADDR)                   ADRES;
-sfr  __at (ADCON0_ADDR)                  ADCON0;
-sfr  __at (OPTION_REG_ADDR)              OPTION_REG;
-sfr  __at (TRISA_ADDR)                   TRISA;
-sfr  __at (TRISB_ADDR)                   TRISB;
-sfr  __at (TRISC_ADDR)                   TRISC;
-sfr  __at (PIE1_ADDR)                    PIE1;
-sfr  __at (PIE2_ADDR)                    PIE2;
-sfr  __at (PCON_ADDR)                    PCON;
-sfr  __at (PR2_ADDR)                     PR2;
-sfr  __at (TXSTA_ADDR)                   TXSTA;
-sfr  __at (SPBRG_ADDR)                   SPBRG;
-sfr  __at (ADCON1_ADDR)                  ADCON1;
-sfr  __at (UIR_ADDR)                     UIR;
-sfr  __at (UIE_ADDR)                     UIE;
-sfr  __at (UEIR_ADDR)                    UEIR;
-sfr  __at (UEIE_ADDR)                    UEIE;
-sfr  __at (USTAT_ADDR)                   USTAT;
-sfr  __at (UCTRL_ADDR)                   UCTRL;
-sfr  __at (UADDR_ADDR)                   UADDR;
-sfr  __at (USWSTAT_ADDR)                 USWSTAT;
-sfr  __at (UEP0_ADDR)                    UEP0;
-sfr  __at (UEP1_ADDR)                    UEP1;
-sfr  __at (UEP2_ADDR)                    UEP2;
-sfr  __at (BD0OST_ADDR)                  BD0OST;
-sfr  __at (BD0OBC_ADDR)                  BD0OBC;
-sfr  __at (BD0OAL_ADDR)                  BD0OAL;
-sfr  __at (BD0IST_ADDR)                  BD0IST;
-sfr  __at (BD0IBC_ADDR)                  BD0IBC;
-sfr  __at (BD0IAL_ADDR)                  BD0IAL;
-sfr  __at (BD1OST_ADDR)                  BD1OST;
-sfr  __at (BD1OBC_ADDR)                  BD1OBC;
-sfr  __at (BD1OAL_ADDR)                  BD1OAL;
-sfr  __at (BD1IST_ADDR)                  BD1IST;
-sfr  __at (BD1IBC_ADDR)                  BD1IBC;
-sfr  __at (BD1IAL_ADDR)                  BD1IAL;
-sfr  __at (BD2OST_ADDR)                  BD2OST;
-sfr  __at (BD2OBC_ADDR)                  BD2OBC;
-sfr  __at (BD2OAL_ADDR)                  BD2OAL;
-sfr  __at (BD2IST_ADDR)                  BD2IST;
-sfr  __at (BD2IBC_ADDR)                  BD2IBC;
-sfr  __at (BD2IAL_ADDR)                  BD2IAL;
+__data __at (INDF_ADDR) volatile char      INDF;
+__sfr  __at (TMR0_ADDR)                    TMR0;
+__data __at (PCL_ADDR) volatile char       PCL;
+__sfr  __at (STATUS_ADDR)                  STATUS;
+__sfr  __at (FSR_ADDR)                     FSR;
+__sfr  __at (PORTA_ADDR)                   PORTA;
+__sfr  __at (PORTB_ADDR)                   PORTB;
+__sfr  __at (PORTC_ADDR)                   PORTC;
+__sfr  __at (PCLATH_ADDR)                  PCLATH;
+__sfr  __at (INTCON_ADDR)                  INTCON;
+__sfr  __at (PIR1_ADDR)                    PIR1;
+__sfr  __at (PIR2_ADDR)                    PIR2;
+__sfr  __at (TMR1L_ADDR)                   TMR1L;
+__sfr  __at (TMR1H_ADDR)                   TMR1H;
+__sfr  __at (T1CON_ADDR)                   T1CON;
+__sfr  __at (TMR2_ADDR)                    TMR2;
+__sfr  __at (T2CON_ADDR)                   T2CON;
+__sfr  __at (CCPR1L_ADDR)                  CCPR1L;
+__sfr  __at (CCPR1H_ADDR)                  CCPR1H;
+__sfr  __at (CCP1CON_ADDR)                 CCP1CON;
+__sfr  __at (RCSTA_ADDR)                   RCSTA;
+__sfr  __at (TXREG_ADDR)                   TXREG;
+__sfr  __at (RCREG_ADDR)                   RCREG;
+__sfr  __at (CCPR2L_ADDR)                  CCPR2L;
+__sfr  __at (CCPR2H_ADDR)                  CCPR2H;
+__sfr  __at (CCP2CON_ADDR)                 CCP2CON;
+__sfr  __at (ADRES_ADDR)                   ADRES;
+__sfr  __at (ADCON0_ADDR)                  ADCON0;
+__sfr  __at (OPTION_REG_ADDR)              OPTION_REG;
+__sfr  __at (TRISA_ADDR)                   TRISA;
+__sfr  __at (TRISB_ADDR)                   TRISB;
+__sfr  __at (TRISC_ADDR)                   TRISC;
+__sfr  __at (PIE1_ADDR)                    PIE1;
+__sfr  __at (PIE2_ADDR)                    PIE2;
+__sfr  __at (PCON_ADDR)                    PCON;
+__sfr  __at (PR2_ADDR)                     PR2;
+__sfr  __at (TXSTA_ADDR)                   TXSTA;
+__sfr  __at (SPBRG_ADDR)                   SPBRG;
+__sfr  __at (ADCON1_ADDR)                  ADCON1;
+__sfr  __at (UIR_ADDR)                     UIR;
+__sfr  __at (UIE_ADDR)                     UIE;
+__sfr  __at (UEIR_ADDR)                    UEIR;
+__sfr  __at (UEIE_ADDR)                    UEIE;
+__sfr  __at (USTAT_ADDR)                   USTAT;
+__sfr  __at (UCTRL_ADDR)                   UCTRL;
+__sfr  __at (UADDR_ADDR)                   UADDR;
+__sfr  __at (USWSTAT_ADDR)                 USWSTAT;
+__sfr  __at (UEP0_ADDR)                    UEP0;
+__sfr  __at (UEP1_ADDR)                    UEP1;
+__sfr  __at (UEP2_ADDR)                    UEP2;
+__sfr  __at (BD0OST_ADDR)                  BD0OST;
+__sfr  __at (BD0OBC_ADDR)                  BD0OBC;
+__sfr  __at (BD0OAL_ADDR)                  BD0OAL;
+__sfr  __at (BD0IST_ADDR)                  BD0IST;
+__sfr  __at (BD0IBC_ADDR)                  BD0IBC;
+__sfr  __at (BD0IAL_ADDR)                  BD0IAL;
+__sfr  __at (BD1OST_ADDR)                  BD1OST;
+__sfr  __at (BD1OBC_ADDR)                  BD1OBC;
+__sfr  __at (BD1OAL_ADDR)                  BD1OAL;
+__sfr  __at (BD1IST_ADDR)                  BD1IST;
+__sfr  __at (BD1IBC_ADDR)                  BD1IBC;
+__sfr  __at (BD1IAL_ADDR)                  BD1IAL;
+__sfr  __at (BD2OST_ADDR)                  BD2OST;
+__sfr  __at (BD2OBC_ADDR)                  BD2OBC;
+__sfr  __at (BD2OAL_ADDR)                  BD2OAL;
+__sfr  __at (BD2IST_ADDR)                  BD2IST;
+__sfr  __at (BD2IBC_ADDR)                  BD2IBC;
+__sfr  __at (BD2IAL_ADDR)                  BD2IAL;
 
 // 
 // bitfield definitions