1 ifndef __52xxpitinc ; avoid multiple inclusion 2__52xxpitinc equ 1 3 4 save 5 listing off ; no listing over this file 6 7;**************************************************************************** 8;* * 9;* AS 1.42 - File 52XXPIT.INC * 10;* * 11;* Contains SFR and Bit Definitions for ColdFire MCF52xx Programmable * 12;* Interrupt Timer * 13;* * 14;**************************************************************************** 15 16__defpit macro n,Base 17PCSR{n} equ Base+0 ; PIT Control and Status Register (16b) 18PRE cffield PCSR{n},8,4 ; Prescaler 19DOZE cfbit PCSR{n},6 ; Doze Mode Bit 20DBG cfbit PCSR{n},5 ; Debug Mode Bit 21OVW cfbit PCSR{n},4 ; Overwrite 22PIE cfbit PCSR{n},3 ; PIT Interrupt Enable 23PIF cfbit PCSR{n},2 ; PIT Interrupt Flag 24RLD cfbit PCSR{n},1 ; Reload Bit 25EN cfbit PCSR{n},0 ; PIT Enable Bit 26PMR{n} equ Base+2 ; PIT Modulus Register (16b) 27PCNTR{n} equ Base+4 ; PIT Count Register (16b) 28 endm 29 30 restore ; re-enable listing 31 32 endif ; __52xxpitinc 33