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