/* Set the specified data holding register value for DAC channel1.  */
void DAC_SetChData(uint32_t DAC_Align, uint16_t Data)
/* Set the specified data holding register value for DAC channel1.  */
void DAC_SetChData(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 += DR12CH_OFFSET + DAC_Align;
    *(__IO uint32_t*)tmp = Data;
}