/* Set the specified data holding register value for DAC channel1.  */
void DAC_SetChannel1Data(uint32_t DAC_Align, uint16_t Data)
/* Set the specified data holding register value for DAC channel1.  */
void DAC_SetChannel1Data(uint32_t DAC_Align, uint16_t Data)
{  
  __IO uint32_t tmp = 0;
  assert_param(IS_DAC_ALIGN(DAC_Align));
  assert_param(IS_DAC_DATA(Data));
  tmp = (uint32_t)DAC_BASE; 
  tmp += DHR12R1_OFFSET + DAC_Align;
  *(__IO uint32_t *) tmp = Data;
}