refactoring of DMA implementation of logic analyzer with FRDM-KL25Z