/* Enables or disables the selected DAC channel software trigger.  */
void DAC_SoftTrgEnable(FunctionalState Cmd)
/* Enables or disables the selected DAC channel software trigger.  */
void DAC_SoftTrgEnable(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        DAC->SOTTR |= DAC_SOTTR_TREN ;
    }
    else
    {
        DAC->SOTTR &= ~(DAC_SOTTR_TREN);
    }
}