annotate target-utils/simagent/cmdtab.c @ 780:8a94593fb7ef

simagent: Tx delays reduced in spenh mode
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Mar 2021 19:53:07 +0000
parents 8196bba46318
children c136a1a2474b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #include "cmdtab.h"
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 extern void cmd_abbr();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 extern void cmd_abbw();
769
f18db0f00ad8 target-utils: simagent application started
Mychaela Falconia <falcon@freecalypso.org>
parents: 499
diff changeset
5 extern void cmd_baud_switch();
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 extern void cmd_jump();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 extern void cmd_r8();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 extern void cmd_r16();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 extern void cmd_r32();
771
9c1d580b50fb simagent: Rx byte timeout test implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 770
diff changeset
10 extern void cmd_sertimeout();
779
8196bba46318 simagent: set-spenh test command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 776
diff changeset
11 extern void cmd_set_spenh();
770
81f9e4b4f55c simagent: beginning of sim-up command
Mychaela Falconia <falcon@freecalypso.org>
parents: 769
diff changeset
12 extern void cmd_sim_up();
776
fac3176de18d simagent: bare Tx implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 774
diff changeset
13 extern void cmd_tx();
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 extern void cmd_w8();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 extern void cmd_w16();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 extern void cmd_w32();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 extern void abb_init();
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 extern void abb_power_off();
499
44a1de4264d8 target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents: 458
diff changeset
20 extern void abb_unlock_page2();
774
130c46b83760 simagent: sim-up command fully implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 771
diff changeset
21 extern void print_atr();
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 const struct cmdtab cmdtab[] = {
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 {"abbinit", abb_init},
499
44a1de4264d8 target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents: 458
diff changeset
25 {"abbpage2", abb_unlock_page2},
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 {"abbr", cmd_abbr},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 {"abbw", cmd_abbw},
774
130c46b83760 simagent: sim-up command fully implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 771
diff changeset
28 {"atr", print_atr},
769
f18db0f00ad8 target-utils: simagent application started
Mychaela Falconia <falcon@freecalypso.org>
parents: 499
diff changeset
29 {"baud", cmd_baud_switch},
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 {"jump", cmd_jump},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 {"poweroff", abb_power_off},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 {"r8", cmd_r8},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 {"r16", cmd_r16},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 {"r32", cmd_r32},
771
9c1d580b50fb simagent: Rx byte timeout test implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 770
diff changeset
35 {"sertimeout", cmd_sertimeout},
779
8196bba46318 simagent: set-spenh test command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 776
diff changeset
36 {"set-spenh", cmd_set_spenh},
770
81f9e4b4f55c simagent: beginning of sim-up command
Mychaela Falconia <falcon@freecalypso.org>
parents: 769
diff changeset
37 {"sim-up", cmd_sim_up},
776
fac3176de18d simagent: bare Tx implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 774
diff changeset
38 {"tx", cmd_tx},
454
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 {"w8", cmd_w8},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 {"w16", cmd_w16},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 {"w32", cmd_w32},
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 {0, 0}
daaab2701761 target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 };