/* DMA Stream Enable Interrupt on Transfer Half Complete.  */
void dma_enable_half_transfer_interrupt(uint32_t dma, uint8_t stream)
/* DMA Stream Enable Interrupt on Transfer Half Complete.  */
void dma_enable_half_transfer_interrupt(uint32_t dma, uint8_t stream)
{
	dma_clear_interrupt_flags(dma, stream, DMA_HTIF);
	DMA_SCR(dma, stream) |= DMA_SxCR_HTIE;
}