Blame | Last modification | View Log | Download | RSS feed
ifndef __ac90inc__ac90inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File AC90.INC *;* *;* Contains Bit & Register Definitions for AT90Sxxxx Analog Comparator *;* *;****************************************************************************ACSR port 0x08 ; Analog Comparator ControlStatus RegisterACIS0 avrbit ACSR,0 ; Interrupt-ModeACIS1 avrbit ACSR,1ifdef TCNT1L ; if Timer 1 present...ACIC avrbit ACSR,2 ; ...use Comparator as Capture Signal for Timer 1?endifACIE avrbit ACSR,3 ; Interrupt EnableACI avrbit ACSR,4 ; Interrupt FlagACO avrbit ACSR,5 ; Analog Comparator OutputACD avrbit ACSR,7 ; Disablerestore ; re-enable listingendif ; __ac90inc