Comparator 1 Gain Configuration
[Comparator 1 Macros]

Collaboration diagram for Comparator 1 Gain Configuration:


Detailed Description

Configure the value of the gain of the Comparator 1.


Defines

#define Comparator1_it_on_output_falling_edge()
 Comparator 1 interrupt on_output falling edge.
#define Comparator1_it_on_output_rising_edge()   (AC1CON |= ((1<<AC1IS1) | (1<<AC1IS0)) )
 Comparator 1 interrupt on_output rising edge.
#define Comparator1_it_on_output_toggle()   (AC1CON &= ~( (1<<AC1IS1) | (1<<AC1IS0) ) )
 Comparator 1 interrupt on output toggle.


Define Documentation

 
#define Comparator1_it_on_output_falling_edge (  ) 

Value:

(AC1CON |=  (1<<AC1IS1),                                           \
            AC1CON &= ~(1<<AC1IS0) )
Comparator 1 interrupt on_output falling edge.

Definition at line 164 of file comparator_drv.h.

 
#define Comparator1_it_on_output_rising_edge (  )     (AC1CON |= ((1<<AC1IS1) | (1<<AC1IS0)) )

Comparator 1 interrupt on_output rising edge.

Definition at line 168 of file comparator_drv.h.

 
#define Comparator1_it_on_output_toggle (  )     (AC1CON &= ~( (1<<AC1IS1) | (1<<AC1IS0) ) )

Comparator 1 interrupt on output toggle.

Definition at line 161 of file comparator_drv.h.


Generated on Wed Jul 12 16:55:30 2006 for Atmel BLDC Sensorless on ATAVRMC100 by  doxygen 1.4.7