Question
DAC TEN and SWTRIG
Hi everyone, I'm experimenting the DAC features with my STM32F303RE and I have a dubt. .
RM says: "If the software trigger is selected, the conversion starts once the SWTRIG bit is set".
Now, if I only set the DAC_DHRx and the EN bit, the DAC works properly.
But if i also set:
DAC1->CR |= DAC_CR_TEN1;
DAC1->CR |= (0b111<<3); //software triggerwithout setting the SWTRIGR bit, the DAC still works..... Why? Once i set the "software trigger", shouldn't the output remain disable until I set the SWTRIGR?
Thanks in advice
