UART port struct that contains all the pointers to the UART functions. More...
#include <hal.h>
Data Fields | |
| SPP_RetVal_t(*) | uartPortInit (void) |
| Initialise the UART port. | |
| SPP_RetVal_t(*) | uartTransmit (const void *p_data, spp_uint32_t len) |
| Perform an UART transaction. | |
| SPP_RetVal_t(*) | uartRead (void *p_data, spp_uint32_t len, spp_uint32_t *p_readBytes) |
| Reads data from the ESP32 UART. | |
UART port struct that contains all the pointers to the UART functions.
| SPP_RetVal_t(*) SPP_HALUart_t::uartPortInit(void) |
Initialise the UART port.
| [in] | p_cfg | Pointer to UART init configuration. |
Definition at line 94 of file hal.h.
Referenced by SPP_HAL_UART_portInit().
| SPP_RetVal_t(*) SPP_HALUart_t::uartTransmit(const void *p_data, spp_uint32_t len) |
Perform an UART transaction.
| [in,out] | p_handle | SPI device handle. |
| [in,out] | p_data | TX data in, RX data out. |
| [in] | length | Number of bytes in the transaction. |
Definition at line 105 of file hal.h.
Referenced by SPP_HAL_UART_transmit().
| SPP_RetVal_t(*) SPP_HALUart_t::uartRead(void *p_data, spp_uint32_t len, spp_uint32_t *p_readBytes) |
Reads data from the ESP32 UART.
| [out] | p_data | Pointer to the buffer where received data will be stored. |
| [in] | len | Number of bytes to read. |
| [out] | p_readBytes | Pointer to the variable where the number of bytes read will be stored. |
Definition at line 115 of file hal.h.
Referenced by SPP_HAL_UART_read().