/* Set the specified data holding register value for DAC channel2.  */
void DAC_SetChannel2Data(DAC_TypeDef *DACx, uint32_t DAC_Align, uint16_t Data)
/* Set the specified data holding register value for DAC channel2.  */
void DAC_SetChannel2Data(DAC_TypeDef *DACx, uint32_t DAC_Align, uint16_t Data)
{
  __IO uint32_t tmp = 0;
  assert_param(IS_DAC_LIST1_PERIPH(DACx));
  assert_param(IS_DAC_ALIGN(DAC_Align));
  assert_param(IS_DAC_DATA(Data));
  tmp = (uint32_t)DACx;
  tmp += DHR12R2_OFFSET + DAC_Align;
  *(__IO uint32_t *)tmp = Data;
}