Z_UART_SHELL_RX_TIMER_DECLARE(_name); \
Z_UART_SHELL_TX_RINGBUF_DECLARE(_name, _tx_ringbuf_size); \
RING_BUF_DECLARE(_name##_rx_ringbuf, _rx_ringbuf_size); \
static
const struct shell_uart _name##_shell_uart = { \
.timer = Z_UART_SHELL_RX_TIMER_PTR(_name), \
.tx_ringbuf = Z_UART_SHELL_TX_RINGBUF_PTR(_name), \
.rx_ringbuf = &_name##_rx_ringbuf, \
}; \
}
const struct shell_transport_api shell_uart_transport_api
const struct shell_transport_api * api
Definition: shell.h:598
Shell UART transport instance control block (RW data).
Definition: shell_uart.h:22
Shell UART transport instance structure.
Definition: shell_uart.h:50
struct shell_uart_ctrl_blk * ctrl_blk
Definition: shell_uart.h:51
Macro for creating shell UART transport instance.