Blame | Last modification | View Log | Download | RSS feed
ifndef __artimbasinc ; avoid multiple inclusion__artimbasinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File ARTIMBAS.INC *;* *;* contains SFR and Bit Definitions for ST62xx Basic AR Timer (in 6285) *;* *;****************************************************************************__defartimbas macro BaseARMCR sfr Base+05h ; AR Mode Control RegisterTCLD bit 7,ARMCR ; Timer Load BitTEN bit 6,ARMCR ; Timer Clock EnableCPIE bit 3,ARMCR ; Compare Interrupt EnableOVIE bit 2,ARMCR ; Overflow InterruptARMC bfield ARMCR,0,2 ; Mode Control BitsARSC0 sfr Base+06h ; AR Status Control Register 0CPF bit 1,ARSC0 ; Compare Interrupt FlagOVF bit 0,ARSC0 ; Overflow Interrupt FlagARSC1 sfr Base+07h ; AR Status Control Register 1AR_PS bfield ARSC1,5,3 ; Prescaler Division SelectionCC bfield ARSC1,0,2 ; Clock Source SelectARLR sfr Base+0bh ; AR Load RegisterARRC sfr Base+09h ; AR Reload/Capture RegisterARCP sfr Base+0ah ; AR Compare Registerendmrestoreendif ; __artimbasinc