Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4/STM32L476/DAC/MCR#0x0
mode control register
DAC Channel 1 mode
DAC Channel 2 mode
https://github.com/modm-io/cmsis-svd-stm32