DMA_INTR_PROT_WR_CMP
if (DMA_INTR_PROT_WR_CMP & val)
while ((DMA_INTR_PROT_WR_CMP & val) && --count) {