8 #ifndef _EMBEDDED_RPC_ZEPHYR_UART_TRANSPORT_H_ 9 #define _EMBEDDED_RPC_ZEPHYR_UART_TRANSPORT_H_ 11 #include "erpc_config_internal.h" 12 #if !ERPC_THREADS_IS(NONE) 19 #include <zephyr/drivers/uart.h> 38 class UartTransport :
public FramedTransport
78 #if !ERPC_THREADS_IS(NONE) 92 virtual erpc_status_t underlyingReceive(uint8_t *data, uint32_t size);
102 virtual erpc_status_t underlyingSend(
const uint8_t *data, uint32_t size);
109 #endif // _EMBEDDED_RPC_ZEPHYR_UART_TRANSPORT_H_ void tx_cb(void)
Function called from ARM_USART_SignalEvent when ARM_USART_EVENT_SEND_COMPLETE event is asserted...
Definition: erpc_uart_cmsis_transport.cpp:44
enum _erpc_status erpc_status_t
Type used for all status and error return values.
Definition: erpc_common.h:85
Semaphore m_rxSemaphore
Definition: erpc_uart_cmsis_transport.hpp:82
Semaphore m_txSemaphore
Definition: erpc_uart_cmsis_transport.hpp:83
UartTransport(ARM_DRIVER_USART *uartDrv)
Constructor.
Definition: erpc_uart_cmsis_transport.cpp:29
virtual ~UartTransport(void)
Destructor.
Definition: erpc_uart_cmsis_transport.cpp:39
Definition: erpc_arbitrated_client_manager.hpp:25
void rx_cb(void)
Function called from ARM_USART_SignalEvent when ARM_USART_EVENT_RECEIVE_COMPLETE event is asserted...
Definition: erpc_uart_cmsis_transport.cpp:53
struct device * m_dev
Definition: erpc_uart_zephyr_transport.hpp:77
virtual erpc_status_t init(void)
Initialize CMSIS UART peripheral configuration structure with values specified in UartTransport const...
Definition: erpc_uart_cmsis_transport.cpp:78
Simple semaphore class.
Definition: erpc_threading.h:442