() Configure Comparator 0
[Comparator Macros]

All parameters must be setted in definitions. More...

Collaboration diagram for () Configure Comparator 0:

Defines

#define Comp_0_config()

Detailed Description

All parameters must be setted in definitions.

Define Documentation

 
#define Comp_0_config (  ) 

Value:

AC0CON = (COMP0_ENABLE_BIT_VALUE<<AC0EN)| \
            (COMP0_INTERRUPT_ENABLE<<AC0IE)| \
            (COMP0_INTERRUPT_SELECT<<AC0IS0)| \
            (COMP_CLOCK_SOURCE<<ACCKSEL)| \
            (COMP0_NEG_INPUT_SELECT<<AC0M0);

Definition at line 45 of file comparator_drv.h.

Referenced by mc_init_HW().


Generated on Wed Oct 22 15:04:03 2008 for AVR172 : Atmel BLDC control on ATAVRMC310 with ATmega32M1 by  doxygen 1.5.7.1