/* Enables or disables the specified DAC peripheral Clock.  */
void RCC_DAC_ClockCmd(DAC_TypeDef *peripheral, FunctionalState state)
/* Enables or disables the specified DAC peripheral Clock.  */
void RCC_DAC_ClockCmd(DAC_TypeDef *peripheral, FunctionalState state)
{
    if(DAC == peripheral) {
        (state) ? (RCC->APB1ENR |= RCC_APB1ENR_DAC) : (RCC->APB1ENR &= ~RCC_APB1ENR_DAC);
    }
}