Comparator 2 Gain Configuration
[Comparator 2 Macros]

Collaboration diagram for Comparator 2 Gain Configuration:


Detailed Description

Configure the value of the gain of the Comparator 2.


Defines

#define Comparator2_it_on_output_falling_edge()
 Comparator 2 interrupt on_output falling edge.
#define Comparator2_it_on_output_rising_edge()   (AC2CON |= ((1<<AC2IS1) | (1<<AC2IS0)) )
 Comparator 2 interrupt on_output rising edge.
#define Comparator2_it_on_output_toggle()   (AC2CON &= ~( (1<<AC2IS1) | (1<<AC2IS0) ) )
 Comparator 2 interrupt on output toggle.


Define Documentation

 
#define Comparator2_it_on_output_falling_edge (  ) 

Value:

(AC2CON |=  (1<<AC2IS1),                                           \
            AC2CON &= ~(1<<AC2IS0) )
Comparator 2 interrupt on_output falling edge.

Definition at line 261 of file comparator_drv.h.

 
#define Comparator2_it_on_output_rising_edge (  )     (AC2CON |= ((1<<AC2IS1) | (1<<AC2IS0)) )

Comparator 2 interrupt on_output rising edge.

Definition at line 265 of file comparator_drv.h.

 
#define Comparator2_it_on_output_toggle (  )     (AC2CON &= ~( (1<<AC2IS1) | (1<<AC2IS0) ) )

Comparator 2 interrupt on output toggle.

Definition at line 258 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