Data Structures |
|
| struct | cli_libuarte_internal_cb_t |
| struct | cli_libuarte_internal_s |
| struct | cli_libuarte_config_t |
Macros |
|
| #define | NRF_CLI_LIBUARTE_DEF (_name, _tx_buf_sz, _rx_buf_sz) |
|
CLI libUARTE transport definition.
More...
|
|
Typedefs |
|
|
typedef struct
cli_libuarte_internal_s |
cli_libuarte_internal_t |
Variables |
|
| const nrf_cli_transport_api_t | cli_libuarte_transport_api |
|
Command line interface transport.
|
|
Detailed Description
Macro Definition Documentation
| #define NRF_CLI_LIBUARTE_DEF | ( | _name, | |
| _tx_buf_sz, | |||
| _rx_buf_sz | |||
| ) |
Value:
NRF_RINGBUF_DEF
(
CONCAT_2
(_name,_tx_ringbuf), _tx_buf_sz); \
NRF_RINGBUF_DEF(
CONCAT_2
(_name,_rx_ringbuf), _rx_buf_sz); \
static
cli_libuarte_internal_cb_t
CONCAT_2
(_name, _cb); \
static
const
cli_libuarte_internal_t
_name = { \
.transport = {.p_api = &
cli_libuarte_transport_api
}, \
.p_cb = &
CONCAT_2
(_name, _cb), \
.p_rx_ringbuf = &
CONCAT_2
(_name,_rx_ringbuf), \
.p_tx_ringbuf = &
CONCAT_2
(_name,_tx_ringbuf), \
}
CLI libUARTE transport definition.
- Parameters
-
_name Name of instance. _tx_buf_sz Size of TX ring buffer. _rx_buf_sz Size of RX ring buffer.