comparison rvinterf/include/tm3.h @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 /*
2 * This header file contains various definitions for talking to the old
3 * non-enhanced Test Mode firmware component.
4 */
5
6 /* CID opcodes */
7 enum
8 {
9 TM_INIT = 0x20,
10 TM_MODE_SET = 0x21,
11 VERSION_GET = 0x22,
12 RF_ENABLE = 0x23,
13 STATS_READ = 0x24,
14 STATS_CONFIG_WRITE = 0x25,
15 STATS_CONFIG_READ = 0x26,
16 RF_PARAM_WRITE = 0x30,
17 RF_PARAM_READ = 0x31,
18 RF_TABLE_WRITE = 0x32,
19 RF_TABLE_READ = 0x33,
20 RX_PARAM_WRITE = 0x34,
21 RX_PARAM_READ = 0x35,
22 TX_PARAM_WRITE = 0x36,
23 TX_PARAM_READ = 0x37,
24 TX_TEMPLATE_WRITE = 0x38,
25 TX_TEMPLATE_READ = 0x39,
26 MEM_WRITE = 0x40,
27 MEM_READ = 0x41,
28 CODEC_WRITE = 0x42,
29 CODEC_READ = 0x43,
30 MISC_PARAM_WRITE = 0x44,
31 MISC_PARAM_READ = 0x45,
32 MISC_TABLE_WRITE = 0x46,
33 MISC_TABLE_READ = 0x47,
34 MISC_ENABLE = 0x48,
35 SPECIAL_PARAM_WRITE = 0x50,
36 SPECIAL_PARAM_READ = 0x51,
37 SPECIAL_TABLE_WRITE = 0x52,
38 SPECIAL_TABLE_READ = 0x53,
39 SPECIAL_ENABLE = 0x54,
40
41 TPU_TABLE_WRITE = 0x55,
42 TPU_TABLE_READ = 0x56,
43
44 TM_FFS = 0x70
45 };
46
47 #define TM3_MEMREAD_MAX 0x7C