annotate rvinterf/include/tm3.h @ 1009:009d5bf2ff4c

rvinterf/lowlevel: formatting of FC-specific packet types split off into format_fc.c
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 20 Mar 2016 20:23:54 +0000
parents ce0ded19a769
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
977
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 * This header file contains various definitions for talking to the old
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 * non-enhanced Test Mode firmware component.
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 */
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 /* CID opcodes */
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 enum
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 {
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 TM_INIT = 0x20,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 TM_MODE_SET = 0x21,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 VERSION_GET = 0x22,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 RF_ENABLE = 0x23,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 STATS_READ = 0x24,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 STATS_CONFIG_WRITE = 0x25,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 STATS_CONFIG_READ = 0x26,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 RF_PARAM_WRITE = 0x30,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 RF_PARAM_READ = 0x31,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
18 RF_TABLE_WRITE = 0x32,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 RF_TABLE_READ = 0x33,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 RX_PARAM_WRITE = 0x34,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
21 RX_PARAM_READ = 0x35,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 TX_PARAM_WRITE = 0x36,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
23 TX_PARAM_READ = 0x37,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
24 TX_TEMPLATE_WRITE = 0x38,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
25 TX_TEMPLATE_READ = 0x39,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
26 MEM_WRITE = 0x40,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
27 MEM_READ = 0x41,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
28 CODEC_WRITE = 0x42,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
29 CODEC_READ = 0x43,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
30 MISC_PARAM_WRITE = 0x44,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
31 MISC_PARAM_READ = 0x45,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
32 MISC_TABLE_WRITE = 0x46,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
33 MISC_TABLE_READ = 0x47,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
34 MISC_ENABLE = 0x48,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
35 SPECIAL_PARAM_WRITE = 0x50,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
36 SPECIAL_PARAM_READ = 0x51,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
37 SPECIAL_TABLE_WRITE = 0x52,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
38 SPECIAL_TABLE_READ = 0x53,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
39 SPECIAL_ENABLE = 0x54,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
40
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
41 TPU_TABLE_WRITE = 0x55,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
42 TPU_TABLE_READ = 0x56,
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
43
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
44 TM_FFS = 0x70
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
45 };
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
46
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
47 #define TM3_MEMREAD_MAX 0x7C