Searched defs:shell_ctx (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_shell.c | 50 static int cmd_i2c_scan(const struct shell *shell_ctx, in cmd_i2c_scan() 99 static int cmd_i2c_recover(const struct shell *shell_ctx, in cmd_i2c_recover() 122 static int i2c_write_from_buffer(const struct shell *shell_ctx, in i2c_write_from_buffer() 175 static int cmd_i2c_write(const struct shell *shell_ctx, in cmd_i2c_write() 184 static int cmd_i2c_write_byte(const struct shell *shell_ctx, in cmd_i2c_write_byte() 192 static int i2c_read_to_buffer(const struct shell *shell_ctx, in i2c_read_to_buffer() 231 static int cmd_i2c_read_byte(const struct shell *shell_ctx, in cmd_i2c_read_byte() 248 static int cmd_i2c_read(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_read() 276 static int cmd_i2c_speed(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_speed()
|
/Zephyr-Core-3.5.0/include/zephyr/shell/ |
D | shell.h | 778 struct shell_ctx { struct 779 const char *prompt; /*!< shell current prompt. */ 781 enum shell_state state; /*!< Internal module state.*/ 782 enum shell_receive_state receive_state;/*!< Escape sequence indicator.*/ 785 struct shell_static_entry active_cmd; 788 const struct shell_static_entry *selected_cmd; 791 struct shell_vt100_ctx vt100_ctx; 796 shell_uninit_cb_t uninit_cb; 799 shell_bypass_cb_t bypass; 803 struct getopt_state getopt; [all …]
|