Functions | |
cy_rslt_t | cy_command_console_init (cy_command_console_cfg_t *cfg) |
Initializes the Command console framework and spawns a thread that listens on the console for commands. More... | |
cy_rslt_t | cy_command_console_deinit (void) |
De-initializes the command console framework and terminates the thread. More... | |
cy_rslt_t | cy_command_console_add_table (const cy_command_console_cmd_t *commands) |
Invoked to register a table of cy_command_console_cmd_t entries. More... | |
cy_rslt_t | cy_command_console_delete_table (const cy_command_console_cmd_t *commands) |
De-registers the cy_command_console_cmd_t table. More... | |
cy_rslt_t cy_command_console_init | ( | cy_command_console_cfg_t * | cfg | ) |
Initializes the Command console framework and spawns a thread that listens on the console for commands.
To be called by the application once.
[in] | cfg | : Pointer to the command console configuration. |
cy_rslt_t cy_command_console_deinit | ( | void | ) |
De-initializes the command console framework and terminates the thread.
cy_rslt_t cy_command_console_add_table | ( | const cy_command_console_cmd_t * | commands | ) |
Invoked to register a table of cy_command_console_cmd_t entries.
[in] | commands | : Pointer to the commands. |
cy_rslt_t cy_command_console_delete_table | ( | const cy_command_console_cmd_t * | commands | ) |
De-registers the cy_command_console_cmd_t table.
[in] | commands | : Pointer to the commands. |