Comparator 0 Gain Configuration
[Comparator 0 Macros]

Collaboration diagram for Comparator 0 Gain Configuration:


Detailed Description

Configure the value of the gain of the Comparator 0

Comparator 0 interrupt on output toggle.


Defines

#define Comparator0_it_on_output_falling_edge()
 Comparator 0 interrupt on_output falling edge.
#define Comparator0_it_on_output_rising_edge()   (AC0CON |= ((1<<AC0IS1) | (1<<AC0IS0)) )
 Comparator 0 interrupt on_output rising edge.
#define Comparator0_it_on_output_toggle()   (AC0CON &= ~( (1<<AC0IS1) | (1<<AC0IS0) ) )


Define Documentation

 
#define Comparator0_it_on_output_falling_edge (  ) 

Value:

(AC0CON |=  (1<<AC0IS1),                                           \
            AC0CON &= ~(1<<AC0IS0) )
Comparator 0 interrupt on_output falling edge.

Definition at line 74 of file comparator_drv.h.

 
#define Comparator0_it_on_output_rising_edge (  )     (AC0CON |= ((1<<AC0IS1) | (1<<AC0IS0)) )

Comparator 0 interrupt on_output rising edge.

Definition at line 78 of file comparator_drv.h.

 
#define Comparator0_it_on_output_toggle (  )     (AC0CON &= ~( (1<<AC0IS1) | (1<<AC0IS0) ) )

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