nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ UART_ASYNC_ADAPTER_INST_DEFINE

#define UART_ASYNC_ADAPTER_INST_DEFINE (   _dev)

#include <include/uart_async_adapter.h>

Value:
static struct device_state UART_ASYNC_ADAPTER_INST_STATE_NAME(_dev); \
static const struct device UART_ASYNC_ADAPTER_INST_NAME(_dev) = { \
.name = STRINGIFY(_dev), \
}; \
static const struct device *const _dev = &UART_ASYNC_ADAPTER_INST_NAME(_dev)
#define UART_ASYNC_ADAPTER_INST_STATE_NAME(_dev_name)
Definition: uart_async_adapter.h:99
const struct uart_driver_api uart_async_adapter_driver_api
Driver API for async adapter.
#define UART_ASYNC_ADAPTER_INST_DATA_NAME(_dev_name)
The name of the data instance connected with created device instance.
Definition: uart_async_adapter.h:97
#define UART_ASYNC_ADAPTER_INST_NAME(_dev_name)
Definition: uart_async_adapter.h:101
UART asynch adapter data structure.
Definition: uart_async_adapter.h:36

The macro that creates and instance of the UART async adapter.

Parameters
_devThe name of the created device instance