How to refresh the value collected by ADC(DMA mode + FREERTOS)

osSemaphoreid bsem;
osSemaphoreDef(bsem);
bsem = osSemaphoreCreate (osSemaphore(bsem), 1);
osSemaphoreWait (bsem, osWaitForever);