/* get the specified DAC0 flag(DAC0 DMA underrun flag)  */
FlagStatus dac0_flag_get(void)
/* get the specified DAC0 flag(DAC0 DMA underrun flag)  */
FlagStatus dac0_flag_get(void)
{
    if((uint8_t)RESET != (DAC_STAT & DAC_STAT_DDUDR0)){
        return SET;
    }else{
        return RESET;
    }
}