]> sigrok.org Git - libsigrokdecode.git/blob - decoders/mrf24j40/lists.py
e20b4b915a8ec6fec00d7a6564cf306ab93cea95
[libsigrokdecode.git] / decoders / mrf24j40 / lists.py
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.
10 ##
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.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 ##
20
21 sregs = {
22     0: 'RXMCR',
23     1: 'PANIDL',
24     2: 'PANIDH',
25     3: 'SADRL',
26     4: 'SADRH',
27     5: 'EADR0',
28     6: 'EADR1',
29     7: 'EADR2',
30     8: 'EADR3',
31     9: 'EADR4',
32     0xa: 'EADR5',
33     0xb: 'EADR6',
34     0xc: 'EADR7',
35     0xd: 'RXFLUSH',
36     0xe: 'Reserved',
37     0xf: 'Reserved',
38     0x10: 'ORDER',
39     0x11: 'TXMCR',
40     0x12: 'ACKTMOUT',
41     0x13: 'ESLOTG1',
42     0x14: 'SYMTICKL',
43     0x15: 'SYMTICKH',
44     0x16: 'PACON0',
45     0x17: 'PACON1',
46     0x18: 'PACON2',
47     0x19: 'Reserved',
48     0x1a: 'TXBCON0',
49     0x1b: 'TXNCON',
50     0x1c: 'TXG1CON',
51     0x1d: 'TXG2CON',
52     0x1e: 'ESLOTG23',
53     0x1f: 'ESLOTG45',
54     0x20: 'ESLOTG67',
55     0x21: 'TXPEND',
56     0x22: 'WAKECON',
57     0x23: 'FRMOFFSET',
58     0x24: 'TXSTAT',
59     0x25: 'TXBCON1',
60     0x26: 'GATECLK',
61     0x27: 'TXTIME',
62     0x28: 'HSYMTIMRL',
63     0x29: 'HSYMTIMRH',
64     0x2a: 'SOFTRST',
65     0x2b: 'Reserved',
66     0x2c: 'SECCON0',
67     0x2d: 'SECCON1',
68     0x2e: 'TXSTBL',
69     0x2f: 'Reserved',
70     0x30: 'RXSR',
71     0x31: 'INTSTAT',
72     0x32: 'INTCON',
73     0x33: 'GPIO',
74     0x34: 'TRISGPIO',
75     0x35: 'SLPACK',
76     0x36: 'RFCTL',
77     0x37: 'SECCR2',
78     0x38: 'BBREG0',
79     0x39: 'BBREG1',
80     0x3a: 'BBREG2',
81     0x3b: 'BBREG3',
82     0x3c: 'BBREG4',
83     0x3d: 'Reserved',
84     0x3e: 'BBREG6',
85     0x3f: 'CCAEDTH',
86 }
87
88 lregs = {
89     0x200: 'RFCON0',
90     0x201: 'RFCON1',
91     0x202: 'RFCON2',
92     0x203: 'RFCON3',
93     0x204: 'Reserved',
94     0x205: 'RFCON5',
95     0x206: 'RFCON6',
96     0x207: 'RFCON7',
97     0x208: 'RFCON8',
98     0x209: 'SLPCAL0',
99     0x20A: 'SLPCAL1',
100     0x20B: 'SLPCAL2',
101     0x20C: 'Reserved',
102     0x20D: 'Reserved',
103     0x20E: 'Reserved',
104     0x20F: 'RFSTATE',
105     0x210: 'RSSI',
106     0x211: 'SLPCON0',
107     0x212: 'Reserved',
108     0x213: 'Reserved',
109     0x214: 'Reserved',
110     0x215: 'Reserved',
111     0x216: 'Reserved',
112     0x217: 'Reserved',
113     0x218: 'Reserved',
114     0x219: 'Reserved',
115     0x21A: 'Reserved',
116     0x21B: 'Reserved',
117     0x21C: 'Reserved',
118     0x21D: 'Reserved',
119     0x21E: 'Reserved',
120     0x21F: 'Reserved',
121     0x220: 'SLPCON1',
122     0x221: 'Reserved',
123     0x222: 'WAKETIMEL',
124     0x223: 'WAKETIMEH',
125     0x224: 'REMCNTL',
126     0x225: 'REMCNTH',
127     0x226: 'MAINCNT0',
128     0x227: 'MAINCNT1',
129     0x228: 'MAINCNT2',
130     0x229: 'MAINCNT3',
131     0x22A: 'Reserved',
132     0x22B: 'Reserved',
133     0x22C: 'Reserved',
134     0x22D: 'Reserved',
135     0x22E: 'Reserved',
136     0x22F: 'TESTMODE',
137     0x230: 'ASSOEADR0',
138     0x231: 'ASSOEADR1',
139     0x232: 'ASSOEADR2',
140     0x233: 'ASSOEADR3',
141     0x234: 'ASSOEADR4',
142     0x235: 'ASSOEADR5',
143     0x236: 'ASSOEADR6',
144     0x237: 'ASSOEADR7',
145     0x238: 'ASSOSADR0',
146     0x239: 'ASSOSADR1',
147     0x23A: 'Reserved',
148     0x23B: 'Reserved',
149     0x23C: 'Unimplemented',
150     0x23D: 'Unimplemented',
151     0x23E: 'Unimplemented',
152     0x23F: 'Unimplemented',
153     0x240: 'UPNONCE0',
154     0x241: 'UPNONCE1',
155     0x242: 'UPNONCE2',
156     0x243: 'UPNONCE3',
157     0x244: 'UPNONCE4',
158     0x245: 'UPNONCE5',
159     0x246: 'UPNONCE6',
160     0x247: 'UPNONCE7',
161     0x248: 'UPNONCE8',
162     0x249: 'UPNONCE9',
163     0x24A: 'UPNONCE10',
164     0x24B: 'UPNONCE11',
165     0x24C: 'UPNONCE12'
166 }