Comparator Macros
[Comparator Module]

Low level macros that permit the use of the COMP of the product. More...

Collaboration diagram for Comparator Macros:


Modules

 () Configure Comparator 0
 All parameters must be setted in definitions.
 () Configure Comparator 1
 All parameters must be setted in definitions.
 () Configure Comparator 2
 All parameters must be setted in definitions.
 () Configure Comparator 3
 All parameters must be setted in definitions.

Defines

#define COMP_CAPTURE_DISABLE   0
#define COMP_CAPTURE_ENABLE   1
#define COMP_CLOCK_IO   0
#define COMP_CLOCK_PLL   1
#define COMP_DISABLE   0
#define COMP_DISABLE_INTERRUPT   0
#define COMP_ENABLE   1
#define COMP_ENABLE_INTERRUPT   1
#define COMP_INTERRUPT_ON_OUTPUT_FALLING_EDGE   2
#define COMP_INTERRUPT_ON_OUTPUT_RISING_EDGE   3
#define COMP_INTERRUPT_ON_OUTPUT_TOGGLE   0
#define COMP_USE_BANDGAP   4
#define COMP_USE_DAC_OUTPUT   5
#define COMP_USE_NEGATIVE_PIN   6
#define COMP_USE_VREF_DIV160   3
#define COMP_USE_VREF_DIV213   2
#define COMP_USE_VREF_DIV320   1
#define COMP_USE_VREF_DIV640   0

Detailed Description

Low level macros that permit the use of the COMP of the product.

Define Documentation

#define COMP_CAPTURE_DISABLE   0

Definition at line 114 of file comparator_drv.h.

#define COMP_CAPTURE_ENABLE   1

Definition at line 115 of file comparator_drv.h.

#define COMP_CLOCK_IO   0

Definition at line 111 of file comparator_drv.h.

#define COMP_CLOCK_PLL   1

Definition at line 112 of file comparator_drv.h.

#define COMP_DISABLE   0

Definition at line 93 of file comparator_drv.h.

#define COMP_DISABLE_INTERRUPT   0

Definition at line 96 of file comparator_drv.h.

#define COMP_ENABLE   1

Definition at line 94 of file comparator_drv.h.

#define COMP_ENABLE_INTERRUPT   1

Definition at line 97 of file comparator_drv.h.

#define COMP_INTERRUPT_ON_OUTPUT_FALLING_EDGE   2

Definition at line 100 of file comparator_drv.h.

#define COMP_INTERRUPT_ON_OUTPUT_RISING_EDGE   3

Definition at line 101 of file comparator_drv.h.

#define COMP_INTERRUPT_ON_OUTPUT_TOGGLE   0

Definition at line 99 of file comparator_drv.h.

#define COMP_USE_BANDGAP   4

Definition at line 107 of file comparator_drv.h.

#define COMP_USE_DAC_OUTPUT   5

Definition at line 108 of file comparator_drv.h.

#define COMP_USE_NEGATIVE_PIN   6

Definition at line 109 of file comparator_drv.h.

#define COMP_USE_VREF_DIV160   3

Definition at line 106 of file comparator_drv.h.

#define COMP_USE_VREF_DIV213   2

Definition at line 105 of file comparator_drv.h.

#define COMP_USE_VREF_DIV320   1

Definition at line 104 of file comparator_drv.h.

#define COMP_USE_VREF_DIV640   0

Definition at line 103 of file comparator_drv.h.


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