Solaris Software
Loading...
Searching...
No Matches
uartPort.h File Reference

ESP32-S3 UART port implementation. More...

Include dependency graph for uartPort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartPortInit (void)
SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartTransmit (const void *p_data, spp_uint32_t len)
SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartRead (void *p_data, spp_uint32_t len, spp_uint32_t *p_readBytes)
 Reads data from the ESP32 UART.

Detailed Description

ESP32-S3 UART port implementation.

Definition in file uartPort.h.

Function Documentation

◆ SPP_PORTS_HAL_ESP32_uartPortInit()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartPortInit ( void )

Definition at line 19 of file uartPort.c.

References K_ESP32_UART_BAUD_RATE, K_ESP32_UART_CTS_PIN, K_ESP32_UART_PORT_ID, K_ESP32_UART_RTS_PIN, K_ESP32_UART_RX_BUFFER_SIZE, K_ESP32_UART_RX_PIN, K_ESP32_UART_TX_BUFFER_SIZE, K_ESP32_UART_TX_PIN, K_SPP_ERROR, K_SPP_OK, and SPP_PORTS_HAL_ESP32_uartPortInit().

Referenced by SPP_PORTS_HAL_ESP32_uartPortInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_uartTransmit()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartTransmit ( const void * p_data,
spp_uint32_t len )

Definition at line 65 of file uartPort.c.

References K_ESP32_UART_PORT_ID, K_SPP_ERROR, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, and SPP_PORTS_HAL_ESP32_uartTransmit().

Referenced by SPP_PORTS_HAL_ESP32_uartTransmit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_uartRead()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartRead ( void * p_data,
spp_uint32_t len,
spp_uint32_t * p_readBytes )

Reads data from the ESP32 UART.

Parameters
[out]p_dataPointer to the buffer where received data will be stored.
[in]lenNumber of bytes to read.
[out]p_readBytesPointer to the variable where the number of bytes read will be stored.

Definition at line 91 of file uartPort.c.

References K_ESP32_UART_MAX_DELAY, K_ESP32_UART_PORT_ID, K_SPP_ERROR, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, and SPP_PORTS_HAL_ESP32_uartRead().

Referenced by SPP_PORTS_HAL_ESP32_uartRead().

Here is the call graph for this function:
Here is the caller graph for this function: