/* Enables or disables simultaneously the two DAC channels software triggers.  */
void DAC_SoftwareTrgEnable(FunctionalState Cmd)
/* Enables or disables simultaneously the two DAC channels software triggers.  */
void DAC_SoftwareTrgEnable(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        DAC->SOTTR |= DUAL_SWTRIG_SET;
    }
    else
    {
        DAC->SOTTR &= DUAL_SWTRIG_RESET;
    }
}