/* set the number of remaining data to be transferred by the DMA  */
void dma_transfer_number_config(uint32_t dma_periph, dma_channel_enum channelx, uint32_t number)
/* set the number of remaining data to be transferred by the DMA  */
void dma_transfer_number_config(uint32_t dma_periph, dma_channel_enum channelx, uint32_t number)
{
    DMA_CHCNT(dma_periph, channelx) = number;
}