DAC_trigger_selection
[DAC_Exported_Constants]

Defines

#define DAC_Trigger_Ext_IT9   ((uint32_t)0x00000034)
#define DAC_Trigger_None   ((uint32_t)0x00000000)
#define DAC_Trigger_Software   ((uint32_t)0x0000003C)
#define DAC_Trigger_T15_TRGO   ((uint32_t)0x0000001C)
#define DAC_Trigger_T2_TRGO   ((uint32_t)0x00000024)
#define DAC_Trigger_T3_TRGO   ((uint32_t)0x0000000C)
#define DAC_Trigger_T4_TRGO   ((uint32_t)0x0000002C)
#define DAC_Trigger_T5_TRGO   ((uint32_t)0x0000001C)
#define DAC_Trigger_T6_TRGO   ((uint32_t)0x00000004)
#define DAC_Trigger_T7_TRGO   ((uint32_t)0x00000014)
#define DAC_Trigger_T8_TRGO   ((uint32_t)0x0000000C)
#define IS_DAC_TRIGGER(TRIGGER)

Define Documentation

#define DAC_Trigger_Ext_IT9   ((uint32_t)0x00000034)

EXTI Line9 event selected as external conversion trigger for DAC channel

Definition at line 91 of file stm32f10x_dac.h.

#define DAC_Trigger_None   ((uint32_t)0x00000000)

Conversion is automatic once the DAC1_DHRxxxx register has been loaded, and not by external trigger

Definition at line 78 of file stm32f10x_dac.h.

Referenced by DAC_StructInit().

#define DAC_Trigger_Software   ((uint32_t)0x0000003C)

Conversion started by software trigger for DAC channel

Definition at line 92 of file stm32f10x_dac.h.

Referenced by main().

#define DAC_Trigger_T15_TRGO   ((uint32_t)0x0000001C)

TIM15 TRGO selected as external conversion trigger for DAC channel only in Medium-density and Low-density Value Line devices

Definition at line 87 of file stm32f10x_dac.h.

#define DAC_Trigger_T2_TRGO   ((uint32_t)0x00000024)

TIM2 TRGO selected as external conversion trigger for DAC channel

Definition at line 89 of file stm32f10x_dac.h.

Referenced by main().

#define DAC_Trigger_T3_TRGO   ((uint32_t)0x0000000C)

TIM8 TRGO selected as external conversion trigger for DAC channel only in Connectivity line, Medium-density and Low-density Value Line devices

Definition at line 83 of file stm32f10x_dac.h.

#define DAC_Trigger_T4_TRGO   ((uint32_t)0x0000002C)

TIM4 TRGO selected as external conversion trigger for DAC channel

Definition at line 90 of file stm32f10x_dac.h.

#define DAC_Trigger_T5_TRGO   ((uint32_t)0x0000001C)

TIM5 TRGO selected as external conversion trigger for DAC channel

Definition at line 86 of file stm32f10x_dac.h.

#define DAC_Trigger_T6_TRGO   ((uint32_t)0x00000004)

TIM6 TRGO selected as external conversion trigger for DAC channel

Definition at line 80 of file stm32f10x_dac.h.

Referenced by main().

#define DAC_Trigger_T7_TRGO   ((uint32_t)0x00000014)

TIM7 TRGO selected as external conversion trigger for DAC channel

Definition at line 85 of file stm32f10x_dac.h.

#define DAC_Trigger_T8_TRGO   ((uint32_t)0x0000000C)

TIM8 TRGO selected as external conversion trigger for DAC channel only in High-density devices

Definition at line 81 of file stm32f10x_dac.h.

#define IS_DAC_TRIGGER ( TRIGGER   ) 
Value:
(((TRIGGER) == DAC_Trigger_None) || \
                                 ((TRIGGER) == DAC_Trigger_T6_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_T8_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_T7_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_T5_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_T2_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_T4_TRGO) || \
                                 ((TRIGGER) == DAC_Trigger_Ext_IT9) || \
                                 ((TRIGGER) == DAC_Trigger_Software))

Definition at line 94 of file stm32f10x_dac.h.

Referenced by DAC_Init().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32