Solaris Software
Toggle main menu visibility
Loading...
Searching...
No Matches
uartPort.h
Go to the documentation of this file.
1
/**
2
* @file uartPort.h
3
* @brief ESP32-S3 UART port implementation.
4
*/
5
6
#ifndef SPP_PORTS_HAL_ESP32_UART_PORT_H
7
#define SPP_PORTS_HAL_ESP32_UART_PORT_H
8
9
#include "
spp/core/types.h
"
10
#include "
spp/core/returnTypes.h
"
11
12
/* ----------------------------------------------------------------
13
* PUBLIC FUNCTIONS
14
* ---------------------------------------------------------------- */
15
16
SPP_RetVal_t
SPP_PORTS_HAL_ESP32_uartPortInit
(
void
);
17
SPP_RetVal_t
SPP_PORTS_HAL_ESP32_uartTransmit
(
const
void
*p_data,
spp_uint32_t
len);
18
SPP_RetVal_t
SPP_PORTS_HAL_ESP32_uartRead
(
void
*p_data,
spp_uint32_t
len,
spp_uint32_t
*p_readBytes);
19
20
#endif
/* SPP_PORTS_HAL_ESP32_UART_PORT_H */
returnTypes.h
Standard return-value type used across all SPP modules.
SPP_RetVal_t
SPP_RetVal_t
Unified return type for all SPP API functions.
Definition
returnTypes.h:24
types.h
Portable integer types and SPI/storage configuration types for SPP.
spp_uint32_t
uint32_t spp_uint32_t
Definition
types.h:31
SPP_PORTS_HAL_ESP32_uartTransmit
SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartTransmit(const void *p_data, spp_uint32_t len)
Definition
uartPort.c:65
SPP_PORTS_HAL_ESP32_uartPortInit
SPP_RetVal_t SPP_PORTS_HAL_ESP32_uartPortInit(void)
Definition
uartPort.c:19
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.
Definition
uartPort.c:91
solaris-v2
spp
ports
hal
esp32
uart
uartPort.h
Generated by
1.18.0