eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc_transport_setup.h File Reference
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for erpc_transport_setup.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct ErpcTransport * erpc_transport_t
 Opaque transport object type.
 
typedef void(* rpmsg_ready_cb) (void)
 Ready callback object type for RPMsg-Lite transport.
 

Functions

DSPI transport setup
erpc_transport_t erpc_transport_dspi_master_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create a DSPI master transport. More...
 
void erpc_transport_dspi_master_deinit (erpc_transport_t transport)
 Deinitialize DSPI master transport. More...
 
erpc_transport_t erpc_transport_dspi_slave_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create a DSPI slave transport. More...
 
void erpc_transport_dspi_slave_deinit (erpc_transport_t transport)
 Deinitialize DSPI slave transport. More...
 
I2C transport setup
erpc_transport_t erpc_transport_i2c_slave_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create an I2C slave transport. More...
 
void erpc_transport_i2c_slave_deinit (erpc_transport_t transport)
 Deinitialize I2C slave transport. More...
 
LPI2C transport setup
erpc_transport_t erpc_transport_lpi2c_slave_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create an LPI2C slave transport. More...
 
void erpc_transport_lpi2c_slave_deinit (erpc_transport_t transport)
 Deinitialize LPI2C slave transport. More...
 
LPSPI transport setup
erpc_transport_t erpc_transport_lpspi_slave_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create a LPSPI slave transport. More...
 
void erpc_transport_lpspi_slave_deinit (erpc_transport_t transport)
 Deinitialize LPSPI slave transport. More...
 
MU transport setup
erpc_transport_t erpc_transport_mu_init (void *baseAddr)
 Create an MU transport. More...
 
void erpc_transport_mu_deinit (erpc_transport_t transport)
 Deinitialize MU transport. More...
 
Linux RPMSG endpoint setup
erpc_transport_t erpc_transport_rpmsg_linux_init (int16_t local_addr, int8_t type, int16_t remote_addr)
 Create an Linux RPMSG endpoint transport. More...
 
void erpc_transport_rpmsg_linux_deinit (erpc_transport_t transport)
 Deinitialize an Linux RPMSG endpoint transport. More...
 
RPMsg-Lite transport setup
erpc_transport_t erpc_transport_rpmsg_lite_master_init (uint32_t src_addr, uint32_t dst_addr, uint32_t rpmsg_link_id)
 Create an RPMsg-Lite transport. More...
 
void erpc_transport_rpmsg_lite_master_deinit (erpc_transport_t transport)
 Deinitialize RPMsg-Lite transport. More...
 
erpc_transport_t erpc_transport_rpmsg_lite_remote_init (uint32_t src_addr, uint32_t dst_addr, void *start_address, uint32_t rpmsg_link_id, rpmsg_ready_cb ready, char *nameservice_name)
 Create an RPMsg-Lite transport. More...
 
void erpc_transport_rpmsg_lite_remote_deinit (erpc_transport_t transport)
 Deinitialize RPMsg-Lite transport. More...
 
erpc_transport_t erpc_transport_rpmsg_lite_rtos_master_init (uint32_t src_addr, uint32_t dst_addr, uint32_t rpmsg_link_id)
 Create an RPMsg-Lite RTOS transport. More...
 
void erpc_transport_rpmsg_lite_rtos_master_deinit (erpc_transport_t transport)
 Deinitialize RPMsg-Lite RTOS transport. More...
 
erpc_transport_t erpc_transport_rpmsg_lite_rtos_remote_init (uint32_t src_addr, uint32_t dst_addr, void *start_address, uint32_t rpmsg_link_id, rpmsg_ready_cb ready, char *nameservice_name)
 Create an RPMsg-Lite RTOS transport. More...
 
void erpc_transport_rpmsg_lite_rtos_remote_deinit (erpc_transport_t transport)
 Deinitialize RPMsg-Lite RTOS transport. More...
 
erpc_transport_t erpc_transport_rpmsg_lite_tty_rtos_remote_init (uint32_t src_addr, uint32_t dst_addr, void *start_address, uint32_t rpmsg_link_id, rpmsg_ready_cb ready, char *nameservice_name)
 Create an RPMsg-Lite TTY transport. More...
 
void erpc_transport_rpmsg_lite_tty_rtos_remote_deinit (erpc_transport_t transport)
 Deinitialize an RPMSG lite tty rtos transport. More...
 
Host PC serial port transport setup
erpc_transport_t erpc_transport_serial_init (const char *portName, long baudRate)
 Create a host PC serial port transport. More...
 
void erpc_transport_serial_deinit (erpc_transport_t transport)
 Deinitialize a host PC serial port transport. More...
 
SPI transport setup
erpc_transport_t erpc_transport_spi_master_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create a SPI master transport. More...
 
void erpc_transport_spi_master_deinit (erpc_transport_t transport)
 Deinitialize SPI master transport. More...
 
erpc_transport_t erpc_transport_spi_slave_init (void *baseAddr, uint32_t baudRate, uint32_t srcClock_Hz)
 Create a SPI slave transport. More...
 
void erpc_transport_spi_slave_deinit (erpc_transport_t transport)
 Deinitialize SPI slave transport. More...
 
SPIdev transport setup
erpc_transport_t erpc_transport_spidev_master_init (const char *spidev, uint32_t speed_Hz)
 Create a SPIdev transport. More...
 
void erpc_transport_spidev_master_deinit (erpc_transport_t transport)
 Deinitialize SPIdev transport. More...
 
TCP transport setup
erpc_transport_t erpc_transport_tcp_init (const char *host, uint16_t port, bool isServer)
 Create and open TCP transport. More...
 
void erpc_transport_tcp_close (erpc_transport_t transport)
 Close TCP connection. More...
 
void erpc_transport_tcp_deinit (erpc_transport_t transport)
 Deinitialize TCP transport. More...
 
CMSIS UART transport setup
erpc_transport_t erpc_transport_cmsis_uart_init (void *uartDrv)
 Create a CMSIS UART transport. More...
 
void erpc_transport_cmsis_uart_deinit (erpc_transport_t transport)
 Deinitialize CMSIS UART transport. More...
 
erpc_transport_t erpc_transport_zephyr_uart_init (void *dev)
 Create a Zephyr UART transport. More...
 
USB CDC transport setup
erpc_transport_t erpc_transport_usb_cdc_init (void *serialHandle, void *serialConfig, void *usbCdcConfig, uint8_t *usbRingBuffer, uint32_t usbRingBufferLength)
 Create an USB CDC transport. More...
 
void erpc_transport_usb_cdc_deinit (erpc_transport_t transport)
 Deinitialize USB CDC transport. More...