() Configure Comparator 1
[Comparator Macros]

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

Collaboration diagram for () Configure Comparator 1:

Defines

#define Comp_1_config()

Detailed Description

All parameters must be setted in definitions.

Define Documentation

 
#define Comp_1_config (  ) 

Value:

AC1CON = (COMP1_ENABLE_BIT_VALUE<<AC1EN)| \
            (COMP1_INTERRUPT_ENABLE<<AC1IE)| \
            (COMP1_INTERRUPT_SELECT<<AC1IS0)| \
            (COMP1_CAPTURE_ENABLE<<AC1ICE)| \
            (COMP1_NEG_INPUT_SELECT<<AC1M0);

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