24#define SHELL_RTT_DEFINE(_name) \
25 static struct shell_rtt _name##_shell_rtt; \
26 struct shell_transport _name = { \
27 .api = &shell_rtt_transport_api, \
28 .ctx = (struct shell_rtt *)&_name##_shell_rtt \
void(* shell_transport_handler_t)(enum shell_transport_evt evt, void *context)
Definition: shell.h:624
const struct shell * shell_backend_rtt_get_ptr(void)
Function provides pointer to shell rtt backend instance.
const struct shell_transport_api shell_rtt_transport_api
Definition: shell_rtt.h:18
shell_transport_handler_t handler
Definition: shell_rtt.h:19
void * context
Definition: shell_rtt.h:21
struct k_timer timer
Definition: shell_rtt.h:20
Unified shell transport interface.
Definition: shell.h:646
Shell instance internals.
Definition: shell.h:890