Home
last modified time | relevance | path

Searched refs:newIndex (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/uart/
Dfsl_adapter_lpuart.c284 uint32_t newIndex = 0U; in HAL_UartGetDmaReceivedBytes() local
296 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()