Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ADSP memory window shell backend

Shell access over an ADSP memory window. More...

Files

file  shell_adsp_memory_window.h
 Header file for the ADSP memory window shell backend.

Macros

#define SHELL_ADSP_MEMORY_WINDOW_DEFINE(_name)
 Define an ADSP memory window shell transport instance.

Functions

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

Detailed Description

Shell access over an ADSP memory window.

Macro Definition Documentation

◆ SHELL_ADSP_MEMORY_WINDOW_DEFINE

#define SHELL_ADSP_MEMORY_WINDOW_DEFINE ( _name)

#include <zephyr/shell/shell_adsp_memory_window.h>

Value:
static struct shell_adsp_memory_window _name##_shell_adsp_memory_window;\
struct shell_transport _name = { \
.api = &shell_adsp_memory_window_transport_api, \
.ctx = &_name##_shell_adsp_memory_window, \
}
Shell transport instance.
Definition shell.h:948

Define an ADSP memory window shell transport instance.

Parameters
_nameName of the transport instance.

Function Documentation

◆ shell_backend_adsp_memory_window_get_ptr()

const struct shell * shell_backend_adsp_memory_window_get_ptr ( void )

#include <zephyr/shell/shell_adsp_memory_window.h>

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.