Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G431/DAC1/DAC_STR2#0x0
Sawtooth register
DAC Channel 2 Sawtooth reset value
DAC Channel2 Sawtooth direction setting
DAC CH2 Sawtooth increment value (12.4 bit format)
https://github.com/modm-io/cmsis-svd-stm32