Blame | Last modification | View Log | Download | RSS feed
ifndef stddef96inc ; avoid multiple inclusionstddef96inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - Datei STDDEF96.INC *;* *;* Contains Register and Memory Addresses for TLCS-900 Processoren *;* *;* Original by Ernst Ahlers, October 1993 *;* Adapted to AS by Alfred Arnold *;* *;****************************************************************************if (MOMCPU<>9879873)&&(MOMCPU<>9683265)fatal "wrong target selected: only 96C141 oder 93C141 allowed"endifif MOMPASS=1message "TLCS-900(L) Address Definitions"message "(C) 1993 Ernst Ahlers, Alfred Arnold"endif;----------------------------------------------------------------------------P0 equ 0000H ; Port 0 RegisterP0CR equ 0002H ; Port 0 ControlP1 equ 0001H ; Port 1 RegisterP1CR equ 0004H ; Port 1 ControlP1FC equ 0005H ; Port 1 FunctionP2 equ 0006H ; Port 2 RegisterP2CR equ 0008H ; Port 2 ControlP2FC equ 0009H ; Port 2 FunctionP3 equ 0007H ; Port 3 RegisterP3CR equ 000AH ; Port 3 ControlP3FC equ 000BH ; Port 3 FunctionP4 equ 000CH ; Port 4 RegisterP4CR equ 000EH ; Port 4 ControlP4FC equ 0010H ; Port 4 FunctionP5 equ 000DH ; Port 5 RegisterP6 equ 0012H ; Port 6 RegisterP6CR equ 0014H ; Port 6 ControlP6FC equ 0016H ; Port 6 FunctionP7 equ 0013H ; Port 7 RegisterP7CR equ 0015H ; Port 7 ControlP7FC equ 0017H ; Port 7 FunctionP8 equ 0018H ; Port 8 RegisterP8CR equ 001AH ; Port 8 ControlP8FC equ 001CH ; Port 8 FunctionP9 equ 0019H ; Port 9 RegisterP9CR equ 001BH ; Port 9 ControlP9FC equ 001DH ; Port 9 FunctionTRUN equ 0020H ; Timer Operation ControlTREG0 equ 0022H ; Timer Register 0TREG1 equ 0023H ; Timer Register 1TMOD equ 0024H ; Timer Mode ControlTFFCF equ 0025H ; Timer Flip-Flop ControlTREG2 equ 0026H ; Timer Register 2TREG3 equ 0027H ; Timer Register 3P0MOD equ 0028H ; 8-Bit PWM 0 Mode ControlP1MOD equ 0029H ; 8-Bit PWM 1 Mode ControlPFFCR equ 002AH ; 8-Bit PWM Flip-Flop ControlTREG4L equ 0030H ; Timer 4 Low ByteTREG4H equ 0031H ; Timer 4 High ByteTREG5L equ 0032H ; Timer 5 Low ByteTREG5H equ 0033H ; Timer 5 High ByteCAP1L equ 0034H ; Capture 1 Low ByteCAP1H equ 0035H ; Capture 1 High ByteCAP2L equ 0036H ; Capture 2 Low ByteCAP2H equ 0037H ; Capture 2 High ByteT4MOD equ 0038H ; 16-Bit Timer 4 Mode ControlT4FFCR equ 0039H ; 16-Bit Timer 4 Flip-Flop ControlT45CR equ 003AH ; 16-Bit Timer 4/5 ControlTREG6L equ 0040H ; Timer 6 Low ByteTREG6H equ 0041H ; Timer 6 High ByteTREG7L equ 0042H ; Timer 7 Low ByteTREG7H equ 0043H ; Timer 7 High ByteCAP3L equ 0044H ; Capture 3 Low ByteCAP3H equ 0045H ; Capture 3 High ByteCAP4L equ 0046H ; Capture 4 Low ByteCAP4H equ 0047H ; Capture 4 High ByteT5MOD equ 0048H ; 16-Bit Timer 4 Mode ControlT5FFCR equ 0049H ; 16-Bit Timer 4 Flip-Flop ControlPG0REG equ 004CH ; Pattern Generator 0PG1REG equ 004DH ; Pattern Generator 1PG01CR equ 004EH ; Pattern Generator 0/1 ControlSC0BUF equ 0050H ; Serial Channel 0 Buffer DataSC0CR equ 0051H ; Serial Channel 0 ControlSC0MOD equ 0052H ; Serial Channel 0 Mode ControlBR0CR equ 0053H ; Bit Rate Ser. Channel 0 ControlSC1BUF equ 0054H ; Serial Channel 1 Buffer DataSC1CR equ 0055H ; Serial Channel 1 ControlSC1MOD equ 0056H ; Serial Channel 1 Mode ControlBR1CR equ 0057H ; Bit Rate Ser. Channel 1 ControlODE equ 0058H ; Port 9 Open Drain EnableWDMOD equ 005CH ; Watchdog Timer ModeWDCR equ 005DH ; Watchdog Timer ControlADMOD equ 005EH ; A/D ControlADREG0L equ 0060H ; A/D Result Channel 0 Bit 7..6 = AD1..0ADREG0H equ 0061H ; A/D Result Channel 0 Bit 7..0 = AD9..2ADREG1L equ 0062H ; A/D Result Channel 1 Bit 7..6 = AD1..0ADREG1H equ 0063H ; A/D Result Channel 1 Bit 7..0 = AD9..2ADREG2L equ 0064H ; A/D Result Channel 2 Bit 7..6 = AD1..0ADREG2H equ 0065H ; A/D Result Channel 2 Bit 7..0 = AD9..2ADREG3L equ 0066H ; A/D Result Channel 3 Bit 7..6 = AD1..0ADREG3H equ 0067H ; A/D Result Channel 3 Bit 7..0 = AD9..2B0CS equ 0068H ; Block 0 CS/WAIT ControlB1CS equ 0069H ; Block 1 CS/WAIT ControlB2CS equ 006AH ; Block 2 CS/WAIT ControlINTE0AD equ 0070H ; Interrupt Enable/Level AD/Timer 0INTE45 equ 0071H ; Interrupt Enable/Level IRQ 5/4INTE67 equ 0072H ; Interrupt Enable/Level IRQ 7/6INTET10 equ 0073H ; Interrupt Enable/Level Timer 1/0INTEPW10 equ 0074H ; Interrupt Enable/Level Timer 3/2 (PWM 1/0)INTET54 equ 0075H ; Interrupt Enable/Level TREG 5/4INTET76 equ 0076H ; Interrupt Enable/Level TREG 7/6INTES0 equ 0077H ; Interrupt Enable/Level Serial Channel 0INTES1 equ 0078H ; Interrupt Enable/Level Serial Channel 1IIMC equ 007BH ; Interrupt Input Mode ControlDMA0V equ 007CH ; fDMA 0 Start VectorDMA1V equ 007DH ; fDMA 1 Start VectorDMA2V equ 007EH ; fDMA 2 Start VectorDMA3V equ 007FH ; fDMA 3 Start Vector; Fixed Memory AreasIRAM equ 000080H ; Internal RAM 1K...IRAMEND equ 00047FH ; ...up to 00047FHIEAREA equ 008000H ; Interrupt Entry Area...IEAREAEND equ 0081FFH ; ...up to 0081FFHIROM equ 008200H ; Internal (P)ROM 31.5K...IROMEND equ 00FFFFH ; ...up to 00FFFFHEXTMEM equ 010000H ; External MemoryMEMEND equ 0FFFFFFH ; ...up to FFFFFFH;---------------------------------------------------------------------------restore ; allow listing againendif ; stddef96inc