| eRPC API Reference Rev. 1.8.1 NXP Semiconductors

- Main Page
- API Reference
- Classes
- Files

- File List
- File Members

erpc_rpmsg_lite_base_transport.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2015-2016, Freescale Semiconductor, Inc.
3 * Copyright 2016 NXP
4 * All rights reserved.
5 *
6 *
7 * SPDX-License-Identifier: BSD-3-Clause
8 */
9
10 #ifndef _EMBEDDED_RPC__RPMSG_LITE_BASE_TRANSPORT_H_
11 #define _EMBEDDED_RPC__RPMSG_LITE_BASE_TRANSPORT_H_
12
13 #include "erpc_transport.h"
14
15 #include "rpmsg_lite.h"
16
24 // Definitions
27
29 // Classes
31
32 namespace erpc {
39 class RPMsgBaseTransport : public Transport
40 {
41 public:
42 RPMsgBaseTransport(void)
43 : Transport(){};
44
45 virtual ~RPMsgBaseTransport(void) {}
46
52 struct rpmsg_lite_instance *get_rpmsg_lite_instance(void) { return s_rpmsg; }
53
54 protected:
55 static struct rpmsg_lite_instance *s_rpmsg;
56 static uint8_t s_initialized;
57 };
58
59 } // namespace erpc
60
63 #endif // _EMBEDDED_RPC__RPMSG_LITE_BASE_TRANSPORT_H_
erpc::Transport
Abstract interface for transport layer.
Definition: erpc_transport.h:36
erpc::Transport::Transport
Transport(void)
Constructor.
Definition: erpc_transport.h:42
erpc::RPMsgBaseTransport::s_initialized
static uint8_t s_initialized
Definition: erpc_rpmsg_lite_base_transport.h:56
erpc::RPMsgBaseTransport::s_rpmsg
static struct rpmsg_lite_instance * s_rpmsg
Definition: erpc_rpmsg_lite_base_transport.h:55
erpc_transport.h
erpc
Definition: erpc_arbitrated_client_manager.h:25
erpc::RPMsgBaseTransport
Transport that other RPMsg transports inherits.
Definition: erpc_rpmsg_lite_base_transport.h:39
erpc::RPMsgBaseTransport::get_rpmsg_lite_instance
struct rpmsg_lite_instance * get_rpmsg_lite_instance(void)
This function returns pointer to instance of RPMSG lite.
Definition: erpc_rpmsg_lite_base_transport.h:52