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) |
| Transmits data through the UART port. | |
| SPP_RetVal_t(*) | uartRead (void *p_data, spp_uint32_t len, spp_uint32_t *p_readBytes) |
| Reads data from the 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.
Definition at line 101 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) |
Transmits data through the UART port.
| p_data | Pointer to the data to transmit. |
| len | Number of bytes to transmit. |
Definition at line 109 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 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 121 of file hal.h.
Referenced by SPP_HAL_UART_read().