nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
UART async adapter

UART asynchronous API universal adapter. More...

Data Structures

struct  uart_async_adapter_data
 UART asynch adapter data structure. More...
 

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 universal adapter.

This module acts as an adapter between UART interrupt and async interface.

Note
The UART async API adapter implementation is experimental. It means it is not guaranteed to work in any corner situation.