DAC Macros
[DAC Module]

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

Collaboration diagram for DAC Macros:


Modules

 Turn on the DAC
 Turn on the DAC.
 Turn Off the DAC
 Turn Off the DAC.
 DAC Alignement Configuration
 Configure the input data alignement.
 DAC Output Configuration
 Switch on or off the DAC output.
 DAC Set Input Value
 Setart the conversion input conversion value.
 DAC Start Left Adjust
 Start the DAC in basic mode with left adjust.
 DAC Start Right Adjust
 Start the DAC in basic mode with right adjust.
 DAC Low Level Fucntions
 DAC Low Level Functions.

Defines

#define DAC_AUTOTRIG_DISABLE   0
#define DAC_AUTOTRIG_ENABLE   1
#define Dac_config()
#define DAC_DISABLE   0
#define DAC_ENABLE   1
#define DAC_LEFT_ADJUST   1
#define DAC_OUTPUT_DISABLE   0
#define DAC_OUTPUT_ENABLE   1
#define DAC_RIGHT_ADJUST   0
#define DAC_TRIG_WITH_COMP0   0
#define DAC_TRIG_WITH_COMP1   1
#define DAC_TRIG_WITH_INT0   2
#define DAC_TRIG_WITH_TCCAP1   7
#define DAC_TRIG_WITH_TCCM0   3
#define DAC_TRIG_WITH_TCCM1   5
#define DAC_TRIG_WITH_TCOVF0   4
#define DAC_TRIG_WITH_TCOVF1   6

Detailed Description

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

Define Documentation

#define DAC_AUTOTRIG_DISABLE   0

Definition at line 111 of file dac_drv.h.

#define DAC_AUTOTRIG_ENABLE   1

Definition at line 112 of file dac_drv.h.

 
#define Dac_config (  ) 

Value:

Definition at line 102 of file dac_drv.h.

Referenced by mc_init_HW().

#define DAC_DISABLE   0

Definition at line 129 of file dac_drv.h.

#define DAC_ENABLE   1

Definition at line 130 of file dac_drv.h.

#define DAC_LEFT_ADJUST   1

Definition at line 124 of file dac_drv.h.

#define DAC_OUTPUT_DISABLE   0

Definition at line 126 of file dac_drv.h.

#define DAC_OUTPUT_ENABLE   1

Definition at line 127 of file dac_drv.h.

#define DAC_RIGHT_ADJUST   0

Definition at line 123 of file dac_drv.h.

#define DAC_TRIG_WITH_COMP0   0

Definition at line 114 of file dac_drv.h.

#define DAC_TRIG_WITH_COMP1   1

Definition at line 115 of file dac_drv.h.

#define DAC_TRIG_WITH_INT0   2

Definition at line 116 of file dac_drv.h.

#define DAC_TRIG_WITH_TCCAP1   7

Definition at line 121 of file dac_drv.h.

#define DAC_TRIG_WITH_TCCM0   3

Definition at line 117 of file dac_drv.h.

#define DAC_TRIG_WITH_TCCM1   5

Definition at line 119 of file dac_drv.h.

#define DAC_TRIG_WITH_TCOVF0   4

Definition at line 118 of file dac_drv.h.

#define DAC_TRIG_WITH_TCOVF1   6

Definition at line 120 of file dac_drv.h.


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