/* get the number of remaining data to be transferred by the DMA  */
uint32_t dma_transfer_number_get(uint32_t dma_periph, dma_channel_enum channelx)
/* get the number of remaining data to be transferred by the DMA  */
uint32_t dma_transfer_number_get(uint32_t dma_periph, dma_channel_enum channelx)
{
    if(ERROR == dma_periph_and_channel_check(dma_periph, channelx)){
        DMA_WRONG_HANDLE
    }
    return (uint32_t)DMA_CHCNT(dma_periph, channelx);
}