//----------------------------------------------
// Register Declarations for the  ST7LITE0
// Copyright (c) Raisonance SA, 1987-2006
//----------------------------------------------

/* IO Ports Hardware Registers */
at 0x00 hreg PADR    ;          /* PORT A data register */
at 0x01 hreg PADDR   ;/* PORT A data direction register */
at 0x02 hreg PAOR    ;        /* PORT A option register */  
                                                     
at 0x03 hreg PBDR    ;          /* PORT B data register */          
at 0x04 hreg PBDDR   ;/* PORT B data direction register */
at 0x05 hreg PBOR    ;        /* PORT B option register */
 
/* LT registers for ST7FLITE0 */
at 0x0B hreg LTCSR   ;    /* Control and stats register */
at 0x0C hreg LTICR   ;        /* Input capture register */

/* LART registers for ST7LITE0                                                */
at 0x0D hreg ATCSR   ;     /* Control/Status Register   */
at 0x0E hreg CNTRH   ;     /* Counter high Register     */
at 0x0F hreg CNTRL   ;     /* Counter low Register      */
at 0x10 hreg ATRH    ;     /* Autoreload high Register  */
at 0x11 hreg ATRL    ;     /* Autoreload low Register   */
at 0x12 hreg PWMCR   ;     /* PWM Output control Reg    */
at 0x13 hreg PWM0CSR ;     /* PWM Output control/Status */
at 0x17 hreg DCR0H   ;     /* PWM Duty Cycle HRegister  */
at 0x18 hreg DCR0L   ;     /* PWM Duty Cycle LRegister  */

/* 12 bit registers for LART                                                  */
at 0x0E hreg16  CNTR    ;         /* Counter Register      */
at 0x10 hreg16  ATR     ;         /* Autoreload Register   */
at 0x17 hreg16  DCR0    ;     /* PWM Duty Cycle Register   */

/* FLASH Hardware Registers */
at 0x2F hreg FCSR    ;       /* Control/Status Register */
    
/* EEPROM Hardware Registers */  
at 0x30 hreg EECSR   ;        /* Data EEPROM Control/Status Register */

/* SPI Hardware Registers */  
at 0x31 hreg SPIDR   ;             /* SPI Data register */
at 0x32 hreg SPICR   ;          /* SPI Control register */
at 0x33 hreg SPICSR  ;           /* SPI Status register */     

/* ADC registers for STLite0                                                  */ 
at 0x34 hreg ADCCSR  ;       /* Control/Status Register */        
at 0x35 hreg ADCDR   ;        /* Data Register          */       
at 0x36 hreg ADCAMP  ;    /* Amplifier Control Register */    

/*Interrupt registers                                                         */
at 0x37 hreg EICR    ;    /*External Interrupt Register */ 

/* MCC Hardware Registers */  
at 0x38 hreg MCCSR   ;   /* MCC Control/Status Register */
at 0x39 hreg RCCR    ;  /* RC Oscillator Control Register */
at 0x3A hreg SICSR   ;       /* System Integrity Control/Status reg */                     
