Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L4x1/DAC1/MCR#0x0
mode control register
DAC Channel 1 mode
DAC Channel 2 mode
https://github.com/cmsis-svd/cmsis-svd-data