/* DMA Stream Enable Interrupt on Direct Mode Error.  */
void dma_enable_direct_mode_error_interrupt(uint32_t dma, uint8_t stream)
/* DMA Stream Enable Interrupt on Direct Mode Error.  */
void dma_enable_direct_mode_error_interrupt(uint32_t dma, uint8_t stream)
{
	dma_clear_interrupt_flags(dma, stream, DMA_DMEIF);
	DMA_SCR(dma, stream) |= DMA_SxCR_DMEIE;
}