;----------------------------------------------
; Register Declarations for the  ST7FLITE1
; 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
   PCDR      EQU   006h      ;Port C Data Register
   PCDDR     EQU   007h      ;Port C Data Direction
   
; 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 2
   ATCSR     EQU   00dh      ;Timer Control/Status Register
   CNTRH     EQU   00eh      ;Counter Register High
   CNTRL     EQU   00fh      ;Counter Register Low
   ATRH      EQU   010h      ;Auto Reload Register High
   ATRL      EQU   011h      ;Auto Reload Register 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
   TRANCR    EQU   021h      ;Transfer Control Register
   BREAKCR   EQU   022h      ;Break Control Register


   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 Register

; 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
