/* Sets the number of data units in the current DMAy Channelx transfer.  */
void DMA_SetCurrDataCounter(DMA_ChannelType *DMAyChx, uint16_t DataNumber)
/* Sets the number of data units in the current DMAy Channelx transfer.  */
void DMA_SetCurrDataCounter(DMA_ChannelType *DMAyChx, uint16_t DataNumber)
{
    assert_param(IS_DMA_ALL_PERIPH(DMAyChx));
    DMAyChx->TXNUM = DataNumber;
}