nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
uart_async_adapter.h File Reference

UART asynchronous API adapter. More...

#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/kernel.h>

Go to the source code of this file.

Data Structures

struct  uart_async_adapter_data
 UART asynch adapter data structure. More...
 
struct  uart_async_adapter_data::uart_async_adapter_data_rx
 
struct  uart_async_adapter_data::uart_async_adapter_data_tx
 

Macros

#define UART_ASYNC_ADAPTER_INST_DATA_NAME(_dev_name)   _CONCAT(uart_async_adapter_data_, _dev_name)
 The name of the data instance connected with created device instance.
 
#define UART_ASYNC_ADAPTER_INST_STATE_NAME(_dev_name)   _CONCAT(uart_async_adapter_state_, _dev_name)
 
#define UART_ASYNC_ADAPTER_INST_NAME(_dev_name)   _CONCAT(_dev_name, _inst)
 
#define UART_ASYNC_ADAPTER_INST_DEFINE(_dev)
 The macro that creates and instance of the UART async adapter.
 

Functions

void uart_async_adapter_init (const struct device *dev, const struct device *target)
 Initialize adapter.
 

Variables

const struct uart_driver_api uart_async_adapter_driver_api
 Driver API for async adapter.
 

Detailed Description

UART asynchronous API adapter.