Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_adsp_memory_window.h File Reference
#include <zephyr/kernel.h>
#include <zephyr/shell/shell.h>

Go to the source code of this file.

Data Structures

struct  shell_adsp_memory_window
 Memwindow based shell transport. More...
 

Macros

#define SHELL_ADSP_MEMORY_WINDOW_DEFINE(_name)
 

Functions

const struct shellshell_backend_adsp_memory_window_get_ptr (void)
 This function provides pointer to shell ADSP memory window backend instance.
 

Variables

const struct shell_transport_api shell_adsp_memory_window_transport_api
 

Macro Definition Documentation

◆ SHELL_ADSP_MEMORY_WINDOW_DEFINE

#define SHELL_ADSP_MEMORY_WINDOW_DEFINE ( _name)
Value:
static struct shell_adsp_memory_window _name##_shell_adsp_memory_window;\
struct shell_transport _name = { \
.ctx = &_name##_shell_adsp_memory_window, \
}
const struct shell_transport_api shell_adsp_memory_window_transport_api
Memwindow based shell transport.
Definition shell_adsp_memory_window.h:22
Definition shell.h:724

Function Documentation

◆ shell_backend_adsp_memory_window_get_ptr()

const struct shell * shell_backend_adsp_memory_window_get_ptr ( void )

This function provides pointer to shell ADSP memory window backend instance.

Function returns pointer to the shell ADSP memory window instance. This instance can be next used with shell_execute_cmd function in order to test commands behavior.

Returns
Pointer to the shell instance.

Variable Documentation

◆ shell_adsp_memory_window_transport_api

const struct shell_transport_api shell_adsp_memory_window_transport_api
extern