;----------------------------------------------
; Register Declarations for the  ST7FLITE0
; 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
   LTCSR     EQU   00bh      ;Lite Timer Control/Status Reg
   LTICR     EQU   00ch      ;Lite Timer Input Capture Register

; Auto-reload Timer
   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
   DCR0H     EQU   017h      ;PWM 0 Duty Cycle Register High
   DCR0L     EQU   018h      ;PWM 0 Duty Cycle Register Low

   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
   ADCDAT    EQU   035h      ;ADC Data Register
   ADCAMP    EQU   036h      ;ADC Amplifier Control Register

; MCC
   EICR      EQU   037h      ;Main Clock Control/Status Reg
   MCCSR     EQU   038h      ;Main Clock Control/Status Reg

   SICSR     EQU   03Ah      ;System Integrity Control/Status Reg
