WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
diag_mocked_shell.h 文件参考
#include "errcode.h"
#include "stdarg.h"
#include "diag.h"
diag_mocked_shell.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

类型定义

typedef void(* diag_cmd_shell_data_proc) (uint8_t *data, uint32_t data_len)
 
typedef void(* zdiag_data_put_uart) (uint8_t *data, uint16_t data_len)
 

函数

int zdiag_mocked_shell_print (const char *fmt, va_list ap)
 
int zdiag_mocked_shell_uart_puts (uint8_t *data, uint32_t data_len)
 
void zdiag_mocked_shell_register_directly_uartput (zdiag_data_put_uart uart_hook)
 
void zdiag_mocked_shell_init (void)
 
void zdiag_mocked_shell_register_cmd_data_proc (diag_cmd_shell_data_proc data_proc_hook)
 
void zdiag_mocked_shell_set_enable (bool enable)
 
bool zdiag_mocked_shell_is_enabled (void)
 
errcode_t zdiag_cmd_mocked_shell (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
 
errcode_t zdiag_cmd_mocked_shell_enable (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
 

类型定义说明

◆ diag_cmd_shell_data_proc

typedef void(* diag_cmd_shell_data_proc) (uint8_t *data, uint32_t data_len)

◆ zdiag_data_put_uart

typedef void(* zdiag_data_put_uart) (uint8_t *data, uint16_t data_len)

函数说明

◆ zdiag_cmd_mocked_shell()

errcode_t zdiag_cmd_mocked_shell ( uint16_t  cmd_id,
void *  cmd_param,
uint16_t  cmd_param_size,
diag_option_t option 
)

◆ zdiag_cmd_mocked_shell_enable()

errcode_t zdiag_cmd_mocked_shell_enable ( uint16_t  cmd_id,
void *  cmd_param,
uint16_t  cmd_param_size,
diag_option_t option 
)

◆ zdiag_mocked_shell_init()

void zdiag_mocked_shell_init ( void  )

◆ zdiag_mocked_shell_is_enabled()

bool zdiag_mocked_shell_is_enabled ( void  )

◆ zdiag_mocked_shell_print()

int zdiag_mocked_shell_print ( const char *  fmt,
va_list  ap 
)

◆ zdiag_mocked_shell_register_cmd_data_proc()

void zdiag_mocked_shell_register_cmd_data_proc ( diag_cmd_shell_data_proc  data_proc_hook)

◆ zdiag_mocked_shell_register_directly_uartput()

void zdiag_mocked_shell_register_directly_uartput ( zdiag_data_put_uart  uart_hook)

◆ zdiag_mocked_shell_set_enable()

void zdiag_mocked_shell_set_enable ( bool  enable)

◆ zdiag_mocked_shell_uart_puts()

int zdiag_mocked_shell_uart_puts ( uint8_t *  data,
uint32_t  data_len 
)