STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
DAC_trigger_selection

Macros

#define DAC_Trigger_None   ((uint32_t)0x00000000)
 
#define DAC_Trigger_T2_TRGO   ((uint32_t)0x00000024)
 
#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 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

#define DAC_Trigger_None   ((uint32_t)0x00000000)

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

#define DAC_Trigger_Software   ((uint32_t)0x0000003C)

Conversion started by software trigger for DAC channel

#define DAC_Trigger_T2_TRGO   ((uint32_t)0x00000024)

TIM2 TRGO selected as external conversion trigger for DAC channel

#define DAC_Trigger_T4_TRGO   ((uint32_t)0x0000002C)

TIM4 TRGO selected as external conversion trigger for DAC channel

#define DAC_Trigger_T5_TRGO   ((uint32_t)0x0000001C)

TIM5 TRGO selected as external conversion trigger for DAC channel

#define DAC_Trigger_T6_TRGO   ((uint32_t)0x00000004)

TIM6 TRGO selected as external conversion trigger for DAC channel

#define DAC_Trigger_T7_TRGO   ((uint32_t)0x00000014)

TIM7 TRGO selected as external conversion trigger for DAC channel

#define DAC_Trigger_T8_TRGO   ((uint32_t)0x0000000C)

TIM8 TRGO selected as external conversion trigger for DAC channel

#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))