STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for DAC trigger selection:

Macros

#define DAC_TRIGGER_NONE   0x00000000UL
 
#define DAC_TRIGGER_T2_TRGO   (DAC_CR_TSEL1_2 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_T4_TRGO   (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_T5_TRGO   ( DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_T6_TRGO   ( DAC_CR_TEN1)
 
#define DAC_TRIGGER_T7_TRGO   ( DAC_CR_TSEL1_1 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_T8_TRGO   ( DAC_CR_TSEL1_0 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_EXT_IT9   (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 | DAC_CR_TEN1)
 
#define DAC_TRIGGER_SOFTWARE   (DAC_CR_TSEL1 | DAC_CR_TEN1)
 

Detailed Description

Macro Definition Documentation

◆ DAC_TRIGGER_NONE

#define DAC_TRIGGER_NONE   0x00000000UL

#include <stm32f4xx_hal_dac.h>

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

Definition at line 169 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T2_TRGO

#define DAC_TRIGGER_T2_TRGO   (DAC_CR_TSEL1_2 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

TIM2 TRGO selected as external conversion trigger for DAC channel

Definition at line 170 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T4_TRGO

#define DAC_TRIGGER_T4_TRGO   (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

TIM4 TRGO selected as external conversion trigger for DAC channel

Definition at line 171 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T5_TRGO

#define DAC_TRIGGER_T5_TRGO   ( DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

TIM3 TRGO selected as external conversion trigger for DAC channel

Definition at line 172 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T6_TRGO

#define DAC_TRIGGER_T6_TRGO   ( DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

Conversion started by software trigger for DAC channel

Definition at line 173 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T7_TRGO

#define DAC_TRIGGER_T7_TRGO   ( DAC_CR_TSEL1_1 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

TIM7 TRGO selected as external conversion trigger for DAC channel

Definition at line 174 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_T8_TRGO

#define DAC_TRIGGER_T8_TRGO   ( DAC_CR_TSEL1_0 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

TIM8 TRGO selected as external conversion trigger for DAC channel

Definition at line 175 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_EXT_IT9

#define DAC_TRIGGER_EXT_IT9   (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

EXTI Line9 event selected as external conversion trigger for DAC channel

Definition at line 176 of file stm32f4xx_hal_dac.h.

◆ DAC_TRIGGER_SOFTWARE

#define DAC_TRIGGER_SOFTWARE   (DAC_CR_TSEL1 | DAC_CR_TEN1)

#include <stm32f4xx_hal_dac.h>

Conversion started by software trigger for DAC channel

Definition at line 177 of file stm32f4xx_hal_dac.h.

Referenced by HAL_DAC_Start().