FreeCalypso > hg > freecalypso-sw
annotate target-utils/c139explore/cmdtab.c @ 1012:93f4fc26b204
fc-shell: arbitrary send command implemented in one-shot mode
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 20 Mar 2016 22:06:11 +0000 |
parents | 21be17067eb2 |
children |
rev | line source |
---|---|
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 #include "cmdtab.h" |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 extern void cmd_abbr(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 extern void cmd_abbw(); |
949
df1dccc0ef9c
c139explore: GPIO init and backlight on/off control implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
946
diff
changeset
|
5 extern void cmd_dbl(); |
953
9e1be763b626
c139explore: hbars and vbars tests implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
951
diff
changeset
|
6 extern void cmd_hbars(); |
954
d25d73815817
c139explore: jump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
953
diff
changeset
|
7 extern void cmd_jump(); |
949
df1dccc0ef9c
c139explore: GPIO init and backlight on/off control implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
946
diff
changeset
|
8 extern void cmd_kpbl(); |
951
eb27543ce18e
c139explore: elementary operation commands lcdcmd and lcdpix added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
950
diff
changeset
|
9 extern void cmd_lcdcmd(); |
950
cd34e0d534b9
c139explore: LCD output implemented, does not work
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
949
diff
changeset
|
10 extern void cmd_lcdfill(); |
cd34e0d534b9
c139explore: LCD output implemented, does not work
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
949
diff
changeset
|
11 extern void cmd_lcdinit(); |
951
eb27543ce18e
c139explore: elementary operation commands lcdcmd and lcdpix added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
950
diff
changeset
|
12 extern void cmd_lcdpix(); |
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 extern void cmd_r8(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 extern void cmd_r16(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 extern void cmd_r32(); |
953
9e1be763b626
c139explore: hbars and vbars tests implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
951
diff
changeset
|
16 extern void cmd_vbars(); |
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 extern void cmd_w8(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 extern void cmd_w16(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 extern void cmd_w32(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 extern void abb_init(); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 extern void abb_power_off(); |
959
21be17067eb2
c139explore: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
954
diff
changeset
|
23 extern void cmd_memdump_human(); |
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 const struct cmdtab cmdtab[] = { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 {"abbinit", abb_init}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 {"abbr", cmd_abbr}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 {"abbw", cmd_abbw}, |
949
df1dccc0ef9c
c139explore: GPIO init and backlight on/off control implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
946
diff
changeset
|
29 {"dbl", cmd_dbl}, |
959
21be17067eb2
c139explore: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
954
diff
changeset
|
30 {"dump", cmd_memdump_human}, |
953
9e1be763b626
c139explore: hbars and vbars tests implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
951
diff
changeset
|
31 {"hbars", cmd_hbars}, |
954
d25d73815817
c139explore: jump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
953
diff
changeset
|
32 {"jump", cmd_jump}, |
949
df1dccc0ef9c
c139explore: GPIO init and backlight on/off control implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
946
diff
changeset
|
33 {"kpbl", cmd_kpbl}, |
951
eb27543ce18e
c139explore: elementary operation commands lcdcmd and lcdpix added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
950
diff
changeset
|
34 {"lcdcmd", cmd_lcdcmd}, |
950
cd34e0d534b9
c139explore: LCD output implemented, does not work
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
949
diff
changeset
|
35 {"lcdfill", cmd_lcdfill}, |
cd34e0d534b9
c139explore: LCD output implemented, does not work
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
949
diff
changeset
|
36 {"lcdinit", cmd_lcdinit}, |
951
eb27543ce18e
c139explore: elementary operation commands lcdcmd and lcdpix added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
950
diff
changeset
|
37 {"lcdpix", cmd_lcdpix}, |
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 {"poweroff", abb_power_off}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 {"r8", cmd_r8}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 {"r16", cmd_r16}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 {"r32", cmd_r32}, |
953
9e1be763b626
c139explore: hbars and vbars tests implemented
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
951
diff
changeset
|
42 {"vbars", cmd_vbars}, |
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 {"w8", cmd_w8}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 {"w16", cmd_w16}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 {"w32", cmd_w32}, |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 {0, 0} |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 }; |