/* Enables or disables the specified DMA Channeln interrupts.  */
void DMA_ITConfig(DMA_Channel_TypeDef *channel, DMA_Interrupt_EN_TypeDef it, FunctionalState state)
/* Enables or disables the specified DMA Channeln interrupts.  */
void DMA_ITConfig(DMA_Channel_TypeDef *channel, DMA_Interrupt_EN_TypeDef it, FunctionalState state)
{
    (state) ? (channel->CCR |= it) : (channel->CCR &= ~it);
}