Searched refs:newIndex (Results 1 – 1 of 1) sorted by relevance
284 uint32_t newIndex = 0U; in HAL_UartGetDmaReceivedBytes() local296 newIndex = LPUART_RING_BUFFER_SIZE - remainingBytes; in HAL_UartGetDmaReceivedBytes()299 if (newIndex < ringBufferIndex[instance]) in HAL_UartGetDmaReceivedBytes()301 newIndex = newIndex + LPUART_RING_BUFFER_SIZE; in HAL_UartGetDmaReceivedBytes()303 receivedBytes = newIndex - ringBufferIndex[instance]; in HAL_UartGetDmaReceivedBytes()