uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
DAC_trigger_selection

Macros

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

Detailed Description

Macro Definition Documentation

#define DAC_Trigger_Ext_IT9   ((uint32_t)0x00000034)

EXTI Line9 event selected as external conversion trigger for DAC channel

Definition at line 96 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 79 of file stm32f10x_dac.h.

#define DAC_Trigger_Software   ((uint32_t)0x0000003C)

Conversion started by software trigger for DAC channel

Definition at line 97 of file stm32f10x_dac.h.

#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 91 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 94 of file stm32f10x_dac.h.

#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 86 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 95 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 90 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 82 of file stm32f10x_dac.h.

#define DAC_Trigger_T7_TRGO   ((uint32_t)0x00000014)

TIM7 TRGO selected as external conversion trigger for DAC channel

Definition at line 89 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 83 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 99 of file stm32f10x_dac.h.