STM32L486xx HAL User Manual
Defines
DAC trigger selection
DAC Exported Constants

Defines

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

Define Documentation

#define DAC_TRIGGER_EXT_IT9   ((uint32_t)(DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 | DAC_CR_TEN1))

EXTI Line9 event selected as external conversion trigger for DAC channel

Definition at line 244 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_NONE   ((uint32_t)0x00000000)

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

Definition at line 236 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_SOFTWARE   ((uint32_t)(DAC_CR_TSEL1 | DAC_CR_TEN1))

Conversion started by software trigger for DAC channel

Definition at line 245 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T2_TRGO   ((uint32_t)(DAC_CR_TSEL1_2 | DAC_CR_TEN1))

TIM2 TRGO selected as external conversion trigger for DAC channel

Definition at line 238 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T4_TRGO   ((uint32_t)(DAC_CR_TSEL1_2 |DAC_CR_TSEL1_0 | DAC_CR_TEN1))

TIM4 TRGO selected as external conversion trigger for DAC channel

Definition at line 239 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T5_TRGO   ((uint32_t)(DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0 | DAC_CR_TEN1))

TIM5 TRGO selected as external conversion trigger for DAC channel

Definition at line 240 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T6_TRGO   ((uint32_t)DAC_CR_TEN1)

TIM6 TRGO selected as external conversion trigger for DAC channel

Definition at line 241 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T7_TRGO   ((uint32_t)(DAC_CR_TSEL1_1 | DAC_CR_TEN1))

TIM7 TRGO selected as external conversion trigger for DAC channel

Definition at line 242 of file stm32l4xx_hal_dac.h.

#define DAC_TRIGGER_T8_TRGO   ((uint32_t)(DAC_CR_TSEL1_0 | DAC_CR_TEN1))

TIM8 TRGO selected as external conversion trigger for DAC channel

Definition at line 243 of file stm32l4xx_hal_dac.h.