Blame | Last modification | View Log | Download | RSS feed
ifndef stddef62inc ; avoid multiple inclusionstddef62inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File STDDEF62.INC *;* *;* Contains SFR and Macro Definitions for ST62xx Processors *;* NOTE: This file is obsolete, use REGST6.INC in new projects. *;* *;* *;****************************************************************************if (MOMCPU<>25104)&&(MOMCPU<>25109)&&(MOMCPU<>25120)&&(MOMCPU<>25125)fatal "Wrong target selected: only ST6210, ST6215, ST6220 oder ST6225 supported"endifif MOMPASS=1message "ST62xx SFR Definitions (C) 1993 Alfred Arnold"message "Target Processor: ST\{MOMCPU}"endif;----------------------------------------------------------------------------; Things Present on All Variants:RegX SFR 80h ; Register Addresses (also defined asRegY SFR 81h ; internal sysmbols, just for complete-RegV SFR 82h ; ness)RegW SFR 83hRegA SFR 0ffhRomBase SFR 40h ; Base Addresse ROM Window (considerRDW SFR 0c9h ; using ASSUME)PA SFR 0c0h ; Port ADDRA SFR 0c4hOPTA SFR 0cchPB SFR 0c1h ; Port BDDRB SFR 0c5hOPTB SFR 0cdhIOPT SFR 0c8h ; Interrupt ControlADDATA SFR 0d0h ; A/D ConverterADCTRL SFR 0d1hTPSC SFR 0d2h ; TimerTDATA SFR 0d3hTSCR SFR 0d4hWDOG SFR 0d8h ; Watchdog;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; Port C only on 28-Pin Devices:if (MOMCPU=6215H)||(MOMCPU=6225H)PC SFR 0c2h ; Port CDDRC SFR 0c6hOPTC SFR 0cehendifinclude "st6/instr.inc";---------------------------------------------------------------------------restore ; enable listing againendif ; stddef62inc