Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_manager.c128 uint8_t *ringBuffer; member
195 serial_manager_read_ring_buffer_t ringBuffer; member
719 … handle->ringBuffer.ringHead + handle->ringBuffer.ringBufferSize - handle->ringBuffer.ringTail; in SerialManager_Task()
720 ringBufferLength = ringBufferLength % handle->ringBuffer.ringBufferSize; in SerialManager_Task()
864 if (handle->ringBuffer.ringHead + message->length >= handle->ringBuffer.ringBufferSize)
868 handle->ringBuffer.ringBuffer[handle->ringBuffer.ringHead++] = message->buffer[i];
870 if (handle->ringBuffer.ringHead >= handle->ringBuffer.ringBufferSize)
872 handle->ringBuffer.ringHead = 0U;
874 if (handle->ringBuffer.ringHead == handle->ringBuffer.ringTail)
877 handle->ringBuffer.ringTail++;
[all …]
Dfsl_component_serial_manager.h400 …uint8_t *ringBuffer; /*!< Ring buffer address, it is used to buffer data received by the hardw… member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/log/
Dfsl_component_log_backend_ringbuffer.c31 uint8_t *ringBuffer; member
91 …(void)memcpy(&s_logBackendRingBuffer.ringBuffer[s_logBackendRingBuffer.ringBufferHead], &buffer[0]… in log_init_backend_ringbuffer_puts()
94 … (void)memcpy(&s_logBackendRingBuffer.ringBuffer[0], &buffer[copyLength], length - copyLength); in log_init_backend_ringbuffer_puts()
115 …log_backend_ringbuffer_update(s_logBackendRingBuffer.ringBuffer, s_logBackendRingBuffer.ringBuffer… in log_init_backend_ringbuffer_puts()
122 assert((NULL != config) && (NULL != config->ringBuffer) && (0U != config->ringBufferLength)); in LOG_InitBackendRingbuffer()
131 s_logBackendRingBuffer.ringBuffer = config->ringBuffer; in LOG_InitBackendRingbuffer()
Dfsl_component_log_backend_ringbuffer.h39 uint8_t *ringBuffer; /*!< ring buffer address */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console/
Dfsl_debug_console.c229 uint8_t ringBuffer[DEBUG_CONSOLE_TRANSMIT_BUFFER_LEN]; member
317 … &ioState->writeRingBuffer.ringBuffer[startIndex], sendDataLength); in DbgConsole_SerialManagerPerformTransfer()
323 … &ioState->writeRingBuffer.ringBuffer[startIndex], sendDataLength); in DbgConsole_SerialManagerPerformTransfer()
527 …s_debugConsoleState.writeRingBuffer.ringBuffer[s_debugConsoleState.writeRingBuffer.ringHead++] = c… in DbgConsole_SendData()
820 serialConfig.ringBuffer = &s_debugConsoleState.readRingBuffer[0]; in DbgConsole_Init()
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console/debug_console/
Dfsl_debug_console.c229 uint8_t ringBuffer[DEBUG_CONSOLE_TRANSMIT_BUFFER_LEN]; member
317 … &ioState->writeRingBuffer.ringBuffer[startIndex], sendDataLength); in DbgConsole_SerialManagerPerformTransfer()
323 … &ioState->writeRingBuffer.ringBuffer[startIndex], sendDataLength); in DbgConsole_SerialManagerPerformTransfer()
527 …s_debugConsoleState.writeRingBuffer.ringBuffer[s_debugConsoleState.writeRingBuffer.ringHead++] = c… in DbgConsole_SendData()
820 serialConfig.ringBuffer = &s_debugConsoleState.readRingBuffer[0]; in DbgConsole_Init()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_miniusart/
Dfsl_usart.c143 void USART_TransferStartRingBuffer(USART_Type *base, usart_handle_t *handle, uint8_t *ringBuffer, s… in USART_TransferStartRingBuffer() argument
148 assert(NULL != ringBuffer); in USART_TransferStartRingBuffer()
151 handle->rxRingBuffer = ringBuffer; in USART_TransferStartRingBuffer()
Dfsl_usart.h703 uint8_t *ringBuffer,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c549 uint8_t *ringBuffer, in FLEXIO_UART_TransferStartRingBuffer() argument
555 if (ringBuffer != NULL) in FLEXIO_UART_TransferStartRingBuffer()
557 handle->rxRingBuffer = ringBuffer; in FLEXIO_UART_TransferStartRingBuffer()
Dfsl_flexio_uart.h453 uint8_t *ringBuffer,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpsci/
Dfsl_lpsci.c608 void LPSCI_TransferStartRingBuffer(UART0_Type *base, lpsci_handle_t *handle, uint8_t *ringBuffer, s… in LPSCI_TransferStartRingBuffer() argument
611 assert(ringBuffer); in LPSCI_TransferStartRingBuffer()
614 handle->rxRingBuffer = ringBuffer; in LPSCI_TransferStartRingBuffer()
Dfsl_lpsci.h603 uint8_t *ringBuffer,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.c132 void USART_TransferStartRingBuffer(USART_Type *base, usart_handle_t *handle, uint8_t *ringBuffer, s… in USART_TransferStartRingBuffer() argument
137 assert(NULL != ringBuffer); in USART_TransferStartRingBuffer()
140 handle->rxRingBuffer = ringBuffer; in USART_TransferStartRingBuffer()
Dfsl_usart.h851 uint8_t *ringBuffer,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart.c894 void UART_TransferStartRingBuffer(UART_Type *base, uart_handle_t *handle, uint8_t *ringBuffer, size… in UART_TransferStartRingBuffer() argument
897 assert(ringBuffer != NULL); in UART_TransferStartRingBuffer()
900 handle->rxRingBuffer = ringBuffer; in UART_TransferStartRingBuffer()
Dfsl_uart.h629 void UART_TransferStartRingBuffer(UART_Type *base, uart_handle_t *handle, uint8_t *ringBuffer, size…
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart.c980 void UART_TransferStartRingBuffer(UART_Type *base, uart_handle_t *handle, uint8_t *ringBuffer, size… in UART_TransferStartRingBuffer() argument
983 assert(ringBuffer != NULL); in UART_TransferStartRingBuffer()
986 handle->rxRingBuffer = ringBuffer; in UART_TransferStartRingBuffer()
Dfsl_uart.h779 void UART_TransferStartRingBuffer(UART_Type *base, uart_handle_t *handle, uint8_t *ringBuffer, size…
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c1267 uint8_t *ringBuffer, in LPUART_TransferStartRingBuffer() argument
1271 assert(NULL != ringBuffer); in LPUART_TransferStartRingBuffer()
1274 handle->rxRingBuffer = ringBuffer; in LPUART_TransferStartRingBuffer()
Dfsl_lpuart.h938 uint8_t *ringBuffer,