Go to the source code of this file.
◆ SHELL_RTT_DEFINE
#define SHELL_RTT_DEFINE |
( |
|
_name | ) |
|
Value:
.ctx = (
struct shell_rtt *)&_name##_shell_rtt \
}
const struct shell_transport_api shell_rtt_transport_api
Definition: shell_rtt.h:18
const struct shell_transport_api * api
Definition: shell.h:725
◆ shell_backend_rtt_get_ptr()
const struct shell * shell_backend_rtt_get_ptr |
( |
void |
| ) |
|
Function provides pointer to shell rtt backend instance.
Function returns pointer to the shell rtt instance. This instance can be next used with shell_execute_cmd function in order to test commands behavior.
- Returns
- Pointer to the shell instance.
◆ shell_rtt_transport_api