/* Enables or disables simultaneously the two DAC channels software triggers.  */
void DAC_DualSoftwareTriggerCmd(FunctionalState NewState)
/* Enables or disables simultaneously the two DAC channels software triggers.  */
void DAC_DualSoftwareTriggerCmd(FunctionalState NewState)
{
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        DAC->SWTRIGR |= DUAL_SWTRIG_Set ;
    }
    else
    {
        DAC->SWTRIGR &= DUAL_SWTRIG_Reset;
    }
}