Blame | Last modification | View Log | Download | RSS feed
ifndef __52xxdtiminc ; avoid multiple inclusion__52xxdtiminc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File 52XXDTIM.INC *;* *;* Contains SFR and Bit Definitions for ColdFire MCF52xx DMA Timer *;* *;****************************************************************************__defdtim macro n,BaseDTMR{n} equ Base+0 ; DMA Timer n Mode Register (16b)PS cffield DTMR{n},8,8 ; Prescaler ValueCE cffield DTMR{n},6,2 ; Capture EdgeOM cfbit DTMR{n},5 ; Output ModeORRI cfbit DTMR{n},4 ; Output Reference Request, Interrupt EnableFRR cfbit DTMR{n},3 ; Free Run/RestartCLK cffield DTMR{n},1,2 ; Input Clock Source for the TimerRST cfbit DTMR{n},0 ; Reset TimerDTXMR{n} equ Base+2 ; DMA Timer n Extended Mode Register (8b)DMAEN cfbit DTXMR{n},7 ; DMA RequestHALTED cfbit DTXMR{n},6 ; Controls the counter when the core is halted (not on all models).MODE16 cfbit DTXMR{n},0 ; Select the Increment Mode for the TimerDTER{n} equ Base+3 ; DMA Timer n Event Register (8b)REF cfbit DTER{n},1 ; Output Reference EventCAP cfbit DTER{n},0 ; Capture EventDTRR{n} equ Base+4 ; DMA Timer n Reference Register (32b)DTCR{n} equ Base+8 ; DMA Timer n Capture Register (32b)DTCN{n} equ Base+12 ; DMA Timer n Counter Register (32b)endmrestore ; re-enable listingendif ; __52xxdtiminc