Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
uart_emul.h File Reference

Public APIs for the UART device emulation drivers. More...

#include <zephyr/device.h>
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/sys/slist.h>
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  uart_emul
 Node in a linked list of emulators for UART devices. More...
 
struct  uart_emul_device_api
 Definition of the emulator API. More...
 

Typedefs

typedef void(* uart_emul_device_tx_data_ready_t) (const struct device *dev, size_t size, const struct emul *target)
 Define the emulation callback function signature.
 

Functions

int uart_emul_register (const struct device *dev, struct uart_emul *emul)
 Register an emulated device on the controller.
 

Detailed Description

Public APIs for the UART device emulation drivers.