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