Documentation
Includes
stdint.h
#include "stdint.h"
Macros
Marco __SVC_ASTRO_TIMER__
#define __SVC_ASTRO_TIMER__
Functions
Func tuya_cli_init
int tuya_cli_init(void);
Func tuya_cli_cmd_register
int tuya_cli_cmd_register(const cli_cmd_t *cmd, uint8_t num);
Func tuya_cli_init_with_uart
int tuya_cli_init_with_uart(uint8_t uart_num);
Vars
Consts
Types
Typedefs
Typedef cli_cmd_func_cb_t
typedef void (*cli_cmd_func_cb_t)(int argc, char *argv[]);
Typedef cli_cmd_t;
typedef struct {
/** cli command name */
char *name;
/** cli command help */
char *help;
/** the callback of one command */
cli_cmd_func_cb_t func;
} cli_cmd_t;