srd: add TODO comment on the SIGROKDECODE_DIR env var's motivation
[libsigrokdecode/gsi.git] / decoders / mrf24j40 / lists.py
blobf5931c240cf614b518a64baf1bd7b3b2e1f80f8d
1 ##
2 ## This file is part of the libsigrokdecode project.
3 ##
4 ## Copyright (C) 2015 Karl Palsson <karlp@tweak.net.au>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
20 sregs = {
21 0: 'RXMCR',
22 1: 'PANIDL',
23 2: 'PANIDH',
24 3: 'SADRL',
25 4: 'SADRH',
26 5: 'EADR0',
27 6: 'EADR1',
28 7: 'EADR2',
29 8: 'EADR3',
30 9: 'EADR4',
31 0xa: 'EADR5',
32 0xb: 'EADR6',
33 0xc: 'EADR7',
34 0xd: 'RXFLUSH',
35 0xe: 'Reserved',
36 0xf: 'Reserved',
37 0x10: 'ORDER',
38 0x11: 'TXMCR',
39 0x12: 'ACKTMOUT',
40 0x13: 'ESLOTG1',
41 0x14: 'SYMTICKL',
42 0x15: 'SYMTICKH',
43 0x16: 'PACON0',
44 0x17: 'PACON1',
45 0x18: 'PACON2',
46 0x19: 'Reserved',
47 0x1a: 'TXBCON0',
48 0x1b: 'TXNCON',
49 0x1c: 'TXG1CON',
50 0x1d: 'TXG2CON',
51 0x1e: 'ESLOTG23',
52 0x1f: 'ESLOTG45',
53 0x20: 'ESLOTG67',
54 0x21: 'TXPEND',
55 0x22: 'WAKECON',
56 0x23: 'FRMOFFSET',
57 0x24: 'TXSTAT',
58 0x25: 'TXBCON1',
59 0x26: 'GATECLK',
60 0x27: 'TXTIME',
61 0x28: 'HSYMTIMRL',
62 0x29: 'HSYMTIMRH',
63 0x2a: 'SOFTRST',
64 0x2b: 'Reserved',
65 0x2c: 'SECCON0',
66 0x2d: 'SECCON1',
67 0x2e: 'TXSTBL',
68 0x2f: 'Reserved',
69 0x30: 'RXSR',
70 0x31: 'INTSTAT',
71 0x32: 'INTCON',
72 0x33: 'GPIO',
73 0x34: 'TRISGPIO',
74 0x35: 'SLPACK',
75 0x36: 'RFCTL',
76 0x37: 'SECCR2',
77 0x38: 'BBREG0',
78 0x39: 'BBREG1',
79 0x3a: 'BBREG2',
80 0x3b: 'BBREG3',
81 0x3c: 'BBREG4',
82 0x3d: 'Reserved',
83 0x3e: 'BBREG6',
84 0x3f: 'CCAEDTH',
87 lregs = {
88 0x200: 'RFCON0',
89 0x201: 'RFCON1',
90 0x202: 'RFCON2',
91 0x203: 'RFCON3',
92 0x204: 'Reserved',
93 0x205: 'RFCON5',
94 0x206: 'RFCON6',
95 0x207: 'RFCON7',
96 0x208: 'RFCON8',
97 0x209: 'SLPCAL0',
98 0x20A: 'SLPCAL1',
99 0x20B: 'SLPCAL2',
100 0x20C: 'Reserved',
101 0x20D: 'Reserved',
102 0x20E: 'Reserved',
103 0x20F: 'RFSTATE',
104 0x210: 'RSSI',
105 0x211: 'SLPCON0',
106 0x212: 'Reserved',
107 0x213: 'Reserved',
108 0x214: 'Reserved',
109 0x215: 'Reserved',
110 0x216: 'Reserved',
111 0x217: 'Reserved',
112 0x218: 'Reserved',
113 0x219: 'Reserved',
114 0x21A: 'Reserved',
115 0x21B: 'Reserved',
116 0x21C: 'Reserved',
117 0x21D: 'Reserved',
118 0x21E: 'Reserved',
119 0x21F: 'Reserved',
120 0x220: 'SLPCON1',
121 0x221: 'Reserved',
122 0x222: 'WAKETIMEL',
123 0x223: 'WAKETIMEH',
124 0x224: 'REMCNTL',
125 0x225: 'REMCNTH',
126 0x226: 'MAINCNT0',
127 0x227: 'MAINCNT1',
128 0x228: 'MAINCNT2',
129 0x229: 'MAINCNT3',
130 0x22A: 'Reserved',
131 0x22B: 'Reserved',
132 0x22C: 'Reserved',
133 0x22D: 'Reserved',
134 0x22E: 'Reserved',
135 0x22F: 'TESTMODE',
136 0x230: 'ASSOEADR0',
137 0x231: 'ASSOEADR1',
138 0x232: 'ASSOEADR2',
139 0x233: 'ASSOEADR3',
140 0x234: 'ASSOEADR4',
141 0x235: 'ASSOEADR5',
142 0x236: 'ASSOEADR6',
143 0x237: 'ASSOEADR7',
144 0x238: 'ASSOSADR0',
145 0x239: 'ASSOSADR1',
146 0x23A: 'Reserved',
147 0x23B: 'Reserved',
148 0x23C: 'Unimplemented',
149 0x23D: 'Unimplemented',
150 0x23E: 'Unimplemented',
151 0x23F: 'Unimplemented',
152 0x240: 'UPNONCE0',
153 0x241: 'UPNONCE1',
154 0x242: 'UPNONCE2',
155 0x243: 'UPNONCE3',
156 0x244: 'UPNONCE4',
157 0x245: 'UPNONCE5',
158 0x246: 'UPNONCE6',
159 0x247: 'UPNONCE7',
160 0x248: 'UPNONCE8',
161 0x249: 'UPNONCE9',
162 0x24A: 'UPNONCE10',
163 0x24B: 'UPNONCE11',
164 0x24C: 'UPNONCE12'