Blame | Last modification | View Log | Download | RSS feed
ifndef __52xxpitinc ; avoid multiple inclusion__52xxpitinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File 52XXPIT.INC *;* *;* Contains SFR and Bit Definitions for ColdFire MCF52xx Programmable *;* Interrupt Timer *;* *;****************************************************************************__defpit macro n,BasePCSR{n} equ Base+0 ; PIT Control and Status Register (16b)PRE cffield PCSR{n},8,4 ; PrescalerDOZE cfbit PCSR{n},6 ; Doze Mode BitDBG cfbit PCSR{n},5 ; Debug Mode BitOVW cfbit PCSR{n},4 ; OverwritePIE cfbit PCSR{n},3 ; PIT Interrupt EnablePIF cfbit PCSR{n},2 ; PIT Interrupt FlagRLD cfbit PCSR{n},1 ; Reload BitEN cfbit PCSR{n},0 ; PIT Enable BitPMR{n} equ Base+2 ; PIT Modulus Register (16b)PCNTR{n} equ Base+4 ; PIT Count Register (16b)endmrestore ; re-enable listingendif ; __52xxpitinc