;----------------------------------------------
; Register Declarations for the  ST7FLITE3
; Copyright (c) Raisonance SA, 1987-2003
;----------------------------------------------

; Ports
   PADR      EQU   000h      ;Port A Data Register
   PADDR     EQU   001h      ;Port A Data Direction
   PAOR      EQU   002h      ;Port A Option register
   PBDR      EQU   003h      ;Port B Data Register
   PBDDR     EQU   004h      ;Port B Data Direction
   PBOR      EQU   005h      ;Port B Option Register

; Lite Timer 2
   LTCSR2    EQU   008h      ;Lite Timer Control/Status Register 2
   LTARR     EQU   009h      ;Lite Timer Auto Reload Register
   LTCNTR    EQU   00ah      ;Lite Timer Counter Register
   LTCSR1    EQU   00bh      ;Lite Timer Control/Status Register 1
   LTICR     EQU   00ch      ;Lite Timer Input Capture Register

; Auto-reload Timer 3
   ATCSR     EQU   00dh      ;Timer Control/Status Register
   CNTR1H    EQU   00eh      ;Counter Register 1 High
   CNTR1L    EQU   00fh      ;Counter Register 1 Low
   ATR1H     EQU   010h      ;Auto Reload Register 1 High
   ATR1L     EQU   011h      ;Auto Reload Register 1 Low
   PWMCR     EQU   012h      ;PWM Output Control Register
   PWM0CSR   EQU   013h      ;PWM 0 Control/Status Register
   PWM1CSR   EQU   014h      ;PWM 1 Control/Status Register
   PWM2CSR   EQU   015h      ;PWM 2 Control/Status Register
   PWM3CSR   EQU   016h      ;PWM 3 Control/Status Register
   DCR0H     EQU   017h      ;PWM 0 Duty Cycle Register High
   DCR0L     EQU   018h      ;PWM 0 Duty Cycle Register Low
   DCR1H     EQU   019h      ;PWM 1 Duty Cycle Register High
   DCR1L     EQU   01ah      ;PWM 1 Duty Cycle Register Low
   DCR2H     EQU   01bh      ;PWM 2 Duty Cycle Register High
   DCR2L     EQU   01ch      ;PWM 2 Duty Cycle Register Low
   DCR3H     EQU   01dh      ;PWM 3 Duty Cycle Register High
   DCR3L     EQU   01eh      ;PWM 3 Duty Cycle Register Low
   ATICRH    EQU   01fh      ;Input Capture Register High
   ATICRL    EQU   020h      ;Input Capture Register Low
   ATCSR2    EQU   021h      ;Transfer Control Register
   BREAKCR   EQU   022h      ;Break Control Register
   ATR2H     EQU   010h      ;Auto Reload Register 2 High
   ATR2L     EQU   011h      ;Auto Reload Register 2 Low
   DTGR      EQU   011h      ;Auto Reload Register Low


   WDGCR     EQU   02eh      ;Watchdog Control Register
   FCSR      EQU   02fh      ;Flash Control/Status Register
   EECSR     EQU   030h      ;EEPROM Control/Status Register

; SPI
   SPIDR     EQU   031h      ;SPI Data Register
   SPICR     EQU   032h      ;SPI Control Register
   SPISR     EQU   033h      ;SPI Status Register

; ADC
   ADCCSR    EQU   034h      ;ADC Control/Status Register
   ADCDRH    EQU   035h      ;ADC Data Register High
   ADCDRL    EQU   036h      ;ADC Amplifier Control/Data RegisterLow

; MCC
   EICR      EQU   037h      ;External Interrupt Control Register
   MCCSR     EQU   038h      ;Main Clock Control/Status Register
   RCCR      EQU   039h      ;RC Oscillator Control Register
   SICSR     EQU   03ah      ;System Integrity Control/Status Register
   EISR      EQU   03ch      ;External Interrupt Selection Reg

; LinSCI
   SCISR     EQU   040h      ;SCI Status Register
   SCIDR     EQU   041h      ;SCI Data Register
   SCIBRR    EQU   042h      ;SCI Baud Rate Register
   SCICR1    EQU   043h      ;SCI Control Register 1
   SCICR2    EQU   044h      ;SCI Control Register 2
   SCICR3    EQU   045h      ;SCI Control Register 3
   SCIERPR   EQU   046h      ;SCI Extended Receive Prescaler
   SCIETPR   EQU   047h      ;SCI Extended Transmit Prescaler  

; AWU
   AWUPR     EQU   049h      ;AWU Prescaler Register
   AWUCSR    EQU   04ah      ;AWU Control/Status Register

; Debug Module
   DMCR     EQU   04bh      ;DM Control Register
   DMSR     EQU   04ch      ;DM Status Register
   DMBK1H   EQU   04dh      ;DM Breakpoint Register 1 High
   DMBK1L   EQU   04eh      ;DM Breakpoint Register 1 Low
   DMBK2H   EQU   04fh      ;DM Breakpoint Register 2 High
   DMBK2L   EQU   050h      ;DM Breakpoint Register 2 Low
