EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ezradio_cmd.h
Go to the documentation of this file.
1 /***************************************************************************/
43 #ifndef EZRADIO_CMD_H
44 #define EZRADIO_CMD_H
45 
47 
48 /* This section contains command map declarations */
49 struct ezradio_reply_GENERIC_map {
50  uint8_t REPLY[16];
51 };
52 
53 struct ezradio_reply_PART_INFO_map {
54  uint8_t CHIPREV;
55  uint16_t PART;
56  uint8_t PBUILD;
57  uint16_t ID;
58  uint8_t CUSTOMER;
59  uint8_t ROMID;
60 };
61 
62 struct ezradio_reply_FUNC_INFO_map {
63  uint8_t REVEXT;
64  uint8_t REVBRANCH;
65  uint8_t REVINT;
66  uint8_t FUNC;
67 };
68 
69 struct ezradio_reply_GET_PROPERTY_map {
70  uint8_t DATA[16];
71 };
72 
73 struct ezradio_reply_GPIO_PIN_CFG_map {
74  uint8_t gpIO[4];
75  uint8_t NIRQ;
76  uint8_t SDO;
77  uint8_t GEN_CONFIG;
78 };
79 
80 struct ezradio_reply_FIFO_INFO_map {
81  uint8_t RX_FIFO_COUNT;
82  uint8_t TX_FIFO_SPACE;
83 };
84 
85 struct ezradio_reply_GET_INT_STATUS_map {
86  uint8_t INT_PEND;
87  uint8_t INT_STATUS;
88  uint8_t PH_PEND;
89  uint8_t PH_STATUS;
90  uint8_t MODEM_PEND;
91  uint8_t MODEM_STATUS;
92  uint8_t CHIP_PEND;
93  uint8_t CHIP_STATUS;
94 };
95 
96 struct ezradio_reply_REQUEST_DEVICE_STATE_map {
97  uint8_t CURR_STATE;
98  uint8_t CURRENT_CHANNEL;
99 };
100 
101 struct ezradio_reply_READ_CMD_BUFF_map {
102  uint8_t BYTE[16];
103 };
104 
105 struct ezradio_reply_FRR_A_READ_map {
106  uint8_t FRR_A_VALUE;
107  uint8_t FRR_B_VALUE;
108  uint8_t FRR_C_VALUE;
109  uint8_t FRR_D_VALUE;
110 };
111 
112 struct ezradio_reply_FRR_B_READ_map {
113  uint8_t FRR_B_VALUE;
114  uint8_t FRR_C_VALUE;
115  uint8_t FRR_D_VALUE;
116  uint8_t FRR_A_VALUE;
117 };
118 
119 struct ezradio_reply_FRR_C_READ_map {
120  uint8_t FRR_C_VALUE;
121  uint8_t FRR_D_VALUE;
122  uint8_t FRR_A_VALUE;
123  uint8_t FRR_B_VALUE;
124 };
125 
126 struct ezradio_reply_FRR_D_READ_map {
127  uint8_t FRR_D_VALUE;
128  uint8_t FRR_A_VALUE;
129  uint8_t FRR_B_VALUE;
130  uint8_t FRR_C_VALUE;
131 };
132 
133 struct ezradio_reply_PACKET_INFO_map {
134  uint16_t LENGTH;
135 };
136 
137 struct ezradio_reply_GET_MODEM_STATUS_map {
138  uint8_t MODEM_PEND;
139  uint8_t MODEM_STATUS;
140  uint8_t CURR_RSSI;
141  uint8_t LATCH_RSSI;
142  uint8_t ANT1_RSSI;
143  uint8_t ANT2_RSSI;
144  uint16_t AFC_FREQ_OFFSET;
145 };
146 
147 struct ezradio_reply_READ_RX_FIFO_map {
148  uint8_t DATA[2];
149 };
150 
151 struct ezradio_reply_GET_ADC_READING_map {
152  uint16_t GPIO_ADC;
153  uint16_t BATTERY_ADC;
154  uint16_t TEMP_ADC;
155 };
156 
157 struct ezradio_reply_GET_PH_STATUS_map {
158  uint8_t PH_PEND;
159  uint8_t PH_STATUS;
160 };
161 
162 struct ezradio_reply_GET_CHIP_STATUS_map {
163  uint8_t CHIP_PEND;
164  uint8_t CHIP_STATUS;
165  uint8_t CMD_ERR_STATUS;
166  uint8_t CMD_ERR_CMD_ID;
167 };
168 
169 struct ezradio_reply_EZCONFIG_CHECK_map {
170  uint8_t RESULT;
171 };
172 
173 
174 /* The union that stores the reply written back to the host registers */
175 typedef union ezradio_cmd_reply_union {
176  uint8_t RAW[16];
177  struct ezradio_reply_GENERIC_map GENERIC;
178  struct ezradio_reply_PART_INFO_map PART_INFO;
179  struct ezradio_reply_FUNC_INFO_map FUNC_INFO;
180  struct ezradio_reply_GET_PROPERTY_map GET_PROPERTY;
181  struct ezradio_reply_GPIO_PIN_CFG_map GPIO_PIN_CFG;
182  struct ezradio_reply_FIFO_INFO_map FIFO_INFO;
183  struct ezradio_reply_GET_INT_STATUS_map GET_INT_STATUS;
184  struct ezradio_reply_REQUEST_DEVICE_STATE_map REQUEST_DEVICE_STATE;
185  struct ezradio_reply_READ_CMD_BUFF_map READ_CMD_BUFF;
186  struct ezradio_reply_FRR_A_READ_map FRR_A_READ;
187  struct ezradio_reply_FRR_B_READ_map FRR_B_READ;
188  struct ezradio_reply_FRR_C_READ_map FRR_C_READ;
189  struct ezradio_reply_FRR_D_READ_map FRR_D_READ;
190  struct ezradio_reply_PACKET_INFO_map PACKET_INFO;
191  struct ezradio_reply_GET_MODEM_STATUS_map GET_MODEM_STATUS;
192  struct ezradio_reply_READ_RX_FIFO_map READ_RX_FIFO;
193  struct ezradio_reply_GET_ADC_READING_map GET_ADC_READING;
194  struct ezradio_reply_GET_PH_STATUS_map GET_PH_STATUS;
195  struct ezradio_reply_GET_CHIP_STATUS_map GET_CHIP_STATUS;
196  struct ezradio_reply_EZCONFIG_CHECK_map EZCONFIG_CHECK;
197 } ezradio_cmd_reply_t;
198 
199 /* boot commands */
200 
201 #define EZRADIO_CMD_ID_POWER_UP 0x02
202 /* POWER_UP ARGS */
203 #define EZRADIO_CMD_ARG_COUNT_POWER_UP 7
204  /* macros for entire ARG BOOT_OPTIONS access of type uint8_t */
205  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_TYPE uint8_t
206  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_SIZE 8
207  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_MASK 0xff
208  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_MSB 7
209  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_LSB 0
210  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_INDEX 1
211  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_value (((cmd.arg.POWER_UP.BOOT_OPTIONS)))
212  /* macros for field PATCH access */
213  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_TYPE enum
214  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_SIZE 1
215  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_MASK 0x80
216  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_BIT 0x80
217  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_MSB 7
218  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_LSB 7
219  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_INDEX 1
220  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_is_true (cmd.arg.POWER_UP.BOOT_OPTIONS & 0x80)
221  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_value (((cmd.arg.POWER_UP.BOOT_OPTIONS & 0x80)) >> 7)
222  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_ENUM_NO_PATCH 0
223  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_PATCH_ENUM_PATCH 1
224  /* macros for field FUNC access */
225  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_TYPE enum
226  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_SIZE 6
227  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_MASK 0x3f
228  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_MSB 5
229  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_LSB 0
230  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_INDEX 1
231  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_value (((cmd.arg.POWER_UP.BOOT_OPTIONS & 0x3f)))
232  #define EZRADIO_CMD_POWER_UP_ARG_BOOT_OPTIONS_FUNC_ENUM_PRO 1
233  /* macros for entire ARG XTAL_OPTIONS access of type uint8_t */
234  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TYPE uint8_t
235  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_SIZE 8
236  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_MASK 0xff
237  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_MSB 7
238  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_LSB 0
239  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_INDEX 2
240  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_value (((cmd.arg.POWER_UP.XTAL_OPTIONS)))
241  /* macros for field TCXO access */
242  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_TYPE enum
243  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_SIZE 1
244  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_MASK 0x1
245  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_BIT 0x1
246  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_MSB 0
247  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_LSB 0
248  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_INDEX 2
249  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_is_true (cmd.arg.POWER_UP.XTAL_OPTIONS & 0x1)
250  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_value (((cmd.arg.POWER_UP.XTAL_OPTIONS & 0x1)))
251  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_ENUM_XTAL 0
252  #define EZRADIO_CMD_POWER_UP_ARG_XTAL_OPTIONS_TCXO_ENUM_TCXO 1
253  /* macros for entire ARG XO_FREQ access of type uint32_t */
254  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_TYPE uint32_t
255  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_SIZE 32
256  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_MASK 0xffffffff
257  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_MSB 31
258  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_LSB 0
259  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_INDEX 3
260  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_value (((cmd.arg.POWER_UP.XO_FREQ)))
261  /* macros for field XO_FREQ access */
262  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_TYPE uint32_t
263  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_SIZE 32
264  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_MASK 0xffffffff
265  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_MSB 31
266  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_LSB 0
267  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_INDEX 3
268  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_MIN 0x17d7840
269  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_MAX 0x1e84800
270  #define EZRADIO_CMD_POWER_UP_ARG_XO_FREQ_XO_FREQ_value (((cmd.arg.POWER_UP.XO_FREQ & 0xffffffff)))
271 /* POWER_UP REPLY */
272 #define EZRADIO_CMD_REPLY_COUNT_POWER_UP 0
273 /* common commands */
274 
275 #define EZRADIO_CMD_ID_NOP 0x00
276 /* NOP ARGS */
277 #define EZRADIO_CMD_ARG_COUNT_NOP 1
278 /* NOP REPLY */
279 #define EZRADIO_CMD_REPLY_COUNT_NOP 0
280 #define EZRADIO_CMD_ID_PART_INFO 0x01
281 /* PART_INFO ARGS */
282 #define EZRADIO_CMD_ARG_COUNT_PART_INFO 1
283 /* PART_INFO REPLY */
284 #define EZRADIO_CMD_REPLY_COUNT_PART_INFO 8
285  /* macros for entire REPLY CHIPREV access of type uint8_t */
286  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_TYPE uint8_t
287  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_SIZE 8
288  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_MASK 0xff
289  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_MSB 7
290  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_LSB 0
291  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_INDEX 1
292  /* macros for field CHIPREV access */
293  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_TYPE uint8_t
294  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_SIZE 8
295  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_MASK 0xff
296  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_MSB 7
297  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_LSB 0
298  #define EZRADIO_CMD_PART_INFO_REP_CHIPREV_CHIPREV_INDEX 1
299  /* macros for entire REPLY PART access of type uint16_t */
300  #define EZRADIO_CMD_PART_INFO_REP_PART_TYPE uint16_t
301  #define EZRADIO_CMD_PART_INFO_REP_PART_SIZE 16
302  #define EZRADIO_CMD_PART_INFO_REP_PART_MASK 0xffff
303  #define EZRADIO_CMD_PART_INFO_REP_PART_MSB 15
304  #define EZRADIO_CMD_PART_INFO_REP_PART_LSB 0
305  #define EZRADIO_CMD_PART_INFO_REP_PART_INDEX 2
306  /* macros for field PART access */
307  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_TYPE uint16_t
308  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_SIZE 16
309  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_MASK 0xffff
310  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_MSB 15
311  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_LSB 0
312  #define EZRADIO_CMD_PART_INFO_REP_PART_PART_INDEX 2
313  /* macros for entire REPLY PBUILD access of type uint8_t */
314  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_TYPE uint8_t
315  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_SIZE 8
316  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_MASK 0xff
317  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_MSB 7
318  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_LSB 0
319  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_INDEX 4
320  /* macros for field PBUILD access */
321  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_TYPE uint8_t
322  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_SIZE 8
323  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_MASK 0xff
324  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_MSB 7
325  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_LSB 0
326  #define EZRADIO_CMD_PART_INFO_REP_PBUILD_PBUILD_INDEX 4
327  /* macros for entire REPLY ID access of type uint16_t */
328  #define EZRADIO_CMD_PART_INFO_REP_ID_TYPE uint16_t
329  #define EZRADIO_CMD_PART_INFO_REP_ID_SIZE 16
330  #define EZRADIO_CMD_PART_INFO_REP_ID_MASK 0xffff
331  #define EZRADIO_CMD_PART_INFO_REP_ID_MSB 15
332  #define EZRADIO_CMD_PART_INFO_REP_ID_LSB 0
333  #define EZRADIO_CMD_PART_INFO_REP_ID_INDEX 5
334  /* macros for field ID access */
335  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_TYPE uint16_t
336  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_SIZE 16
337  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_MASK 0xffff
338  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_MSB 15
339  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_LSB 0
340  #define EZRADIO_CMD_PART_INFO_REP_ID_ID_INDEX 5
341  /* macros for entire REPLY CUSTOMER access of type uint8_t */
342  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_TYPE uint8_t
343  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_SIZE 8
344  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_MASK 0xff
345  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_MSB 7
346  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_LSB 0
347  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_INDEX 7
348  /* macros for field CUSTOMER access */
349  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_TYPE uint8_t
350  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_SIZE 8
351  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_MASK 0xff
352  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_MSB 7
353  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_LSB 0
354  #define EZRADIO_CMD_PART_INFO_REP_CUSTOMER_CUSTOMER_INDEX 7
355  /* macros for entire REPLY ROMID access of type uint8_t */
356  #define EZRADIO_CMD_PART_INFO_REP_ROMID_TYPE uint8_t
357  #define EZRADIO_CMD_PART_INFO_REP_ROMID_SIZE 8
358  #define EZRADIO_CMD_PART_INFO_REP_ROMID_MASK 0xff
359  #define EZRADIO_CMD_PART_INFO_REP_ROMID_MSB 7
360  #define EZRADIO_CMD_PART_INFO_REP_ROMID_LSB 0
361  #define EZRADIO_CMD_PART_INFO_REP_ROMID_INDEX 8
362  /* macros for field ROMID access */
363  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_TYPE uint8_t
364  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_SIZE 8
365  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_MASK 0xff
366  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_MSB 7
367  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_LSB 0
368  #define EZRADIO_CMD_PART_INFO_REP_ROMID_ROMID_INDEX 8
369 #define EZRADIO_CMD_ID_FUNC_INFO 0x10
370 /* FUNC_INFO ARGS */
371 #define EZRADIO_CMD_ARG_COUNT_FUNC_INFO 1
372 /* FUNC_INFO REPLY */
373 #define EZRADIO_CMD_REPLY_COUNT_FUNC_INFO 6
374  /* macros for entire REPLY REVEXT access of type uint8_t */
375  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_TYPE uint8_t
376  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_SIZE 8
377  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_MASK 0xff
378  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_MSB 7
379  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_LSB 0
380  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_INDEX 1
381  /* macros for field REVEXT access */
382  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_TYPE uint8_t
383  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_SIZE 8
384  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_MASK 0xff
385  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_MSB 7
386  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_LSB 0
387  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_INDEX 1
388  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_MIN 0x0
389  #define EZRADIO_CMD_FUNC_INFO_REP_REVEXT_REVEXT_MAX 0xff
390  /* macros for entire REPLY REVBRANCH access of type uint8_t */
391  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_TYPE uint8_t
392  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_SIZE 8
393  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_MASK 0xff
394  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_MSB 7
395  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_LSB 0
396  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_INDEX 2
397  /* macros for field REVBRANCH access */
398  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_TYPE uint8_t
399  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_SIZE 8
400  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_MASK 0xff
401  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_MSB 7
402  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_LSB 0
403  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_INDEX 2
404  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_MIN 0x0
405  #define EZRADIO_CMD_FUNC_INFO_REP_REVBRANCH_REVBRANCH_MAX 0xff
406  /* macros for entire REPLY REVINT access of type uint8_t */
407  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_TYPE uint8_t
408  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_SIZE 8
409  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_MASK 0xff
410  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_MSB 7
411  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_LSB 0
412  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_INDEX 3
413  /* macros for field REVINT access */
414  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_TYPE uint8_t
415  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_SIZE 8
416  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_MASK 0xff
417  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_MSB 7
418  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_LSB 0
419  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_INDEX 3
420  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_MIN 0x0
421  #define EZRADIO_CMD_FUNC_INFO_REP_REVINT_REVINT_MAX 0xff
422  /* macros for entire REPLY FUNC access of type uint8_t */
423  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_TYPE uint8_t
424  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_SIZE 8
425  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_MASK 0xff
426  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_MSB 7
427  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_LSB 0
428  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_INDEX 6
429  /* macros for field FUNC access */
430  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_TYPE uint8_t
431  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_SIZE 8
432  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_MASK 0xff
433  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_MSB 7
434  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_LSB 0
435  #define EZRADIO_CMD_FUNC_INFO_REP_FUNC_FUNC_INDEX 6
436 #define EZRADIO_CMD_ID_SET_PROPERTY 0x11
437 /* SET_PROPERTY ARGS */
438 #define EZRADIO_CMD_ARG_COUNT_SET_PROPERTY 16
439  /* macros for entire ARG GROUP access of type uint8_t */
440  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_TYPE uint8_t
441  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_SIZE 8
442  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_MASK 0xff
443  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_MSB 7
444  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_LSB 0
445  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_INDEX 1
446  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_value (((cmd.arg.SET_PROPERTY.GROUP)))
447  /* macros for field GROUP access */
448  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_TYPE uint8_t
449  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_SIZE 8
450  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_MASK 0xff
451  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_MSB 7
452  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_LSB 0
453  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_INDEX 1
454  #define EZRADIO_CMD_SET_PROPERTY_ARG_GROUP_GROUP_value (((cmd.arg.SET_PROPERTY.GROUP & 0xff)))
455  /* macros for entire ARG NUM_PROPS access of type uint8_t */
456  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_TYPE uint8_t
457  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_SIZE 8
458  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_MASK 0xff
459  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_MSB 7
460  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_LSB 0
461  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_INDEX 2
462  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_value (((cmd.arg.SET_PROPERTY.NUM_PROPS)))
463  /* macros for field NUM_PROPS access */
464  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_TYPE uint8_t
465  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_SIZE 8
466  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MASK 0xff
467  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MSB 7
468  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_LSB 0
469  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_INDEX 2
470  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MIN 0x1
471  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MAX 0xc
472  #define EZRADIO_CMD_SET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_value (((cmd.arg.SET_PROPERTY.NUM_PROPS & 0xff)))
473  /* macros for entire ARG START_PROP access of type uint8_t */
474  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_TYPE uint8_t
475  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_SIZE 8
476  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_MASK 0xff
477  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_MSB 7
478  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_LSB 0
479  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_INDEX 3
480  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_value (((cmd.arg.SET_PROPERTY.START_PROP)))
481  /* macros for field START_PROP access */
482  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_TYPE uint8_t
483  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_SIZE 8
484  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_MASK 0xff
485  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_MSB 7
486  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_LSB 0
487  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_INDEX 3
488  #define EZRADIO_CMD_SET_PROPERTY_ARG_START_PROP_START_PROP_value (((cmd.arg.SET_PROPERTY.START_PROP & 0xff)))
489  /* macros for entire ARG DATA access of type uint8_t */
490  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_TYPE uint8_t
491  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_SIZE 8
492  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_MASK 0xff
493  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_MSB 7
494  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_LSB 0
495  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_INDEX 4
496  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_ARRAY_LEN 12
497  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_value(i) (((cmd.arg.SET_PROPERTY.DATA[(i)])))
498  /* macros for field DATA access */
499  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_TYPE uint8_t
500  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_SIZE 8
501  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_MASK 0xff
502  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_MSB 7
503  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_LSB 0
504  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_INDEX 4
505  #define EZRADIO_CMD_SET_PROPERTY_ARG_DATA_DATA_value(i) (((cmd.arg.SET_PROPERTY.DATA[(i)] & 0xff)))
506 /* SET_PROPERTY REPLY */
507 #define EZRADIO_CMD_REPLY_COUNT_SET_PROPERTY 0
508 #define EZRADIO_CMD_ID_GET_PROPERTY 0x12
509 /* GET_PROPERTY ARGS */
510 #define EZRADIO_CMD_ARG_COUNT_GET_PROPERTY 4
511  /* macros for entire ARG GROUP access of type uint8_t */
512  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_TYPE uint8_t
513  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_SIZE 8
514  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_MASK 0xff
515  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_MSB 7
516  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_LSB 0
517  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_INDEX 1
518  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_value (((cmd.arg.GET_PROPERTY.GROUP)))
519  /* macros for field GROUP access */
520  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_TYPE uint8_t
521  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_SIZE 8
522  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_MASK 0xff
523  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_MSB 7
524  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_LSB 0
525  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_INDEX 1
526  #define EZRADIO_CMD_GET_PROPERTY_ARG_GROUP_GROUP_value (((cmd.arg.GET_PROPERTY.GROUP & 0xff)))
527  /* macros for entire ARG NUM_PROPS access of type uint8_t */
528  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_TYPE uint8_t
529  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_SIZE 8
530  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_MASK 0xff
531  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_MSB 7
532  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_LSB 0
533  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_INDEX 2
534  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_value (((cmd.arg.GET_PROPERTY.NUM_PROPS)))
535  /* macros for field NUM_PROPS access */
536  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_TYPE uint8_t
537  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_SIZE 8
538  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MASK 0xff
539  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MSB 7
540  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_LSB 0
541  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_INDEX 2
542  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MIN 0x1
543  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_MAX 0x10
544  #define EZRADIO_CMD_GET_PROPERTY_ARG_NUM_PROPS_NUM_PROPS_value (((cmd.arg.GET_PROPERTY.NUM_PROPS & 0xff)))
545  /* macros for entire ARG START_PROP access of type uint8_t */
546  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_TYPE uint8_t
547  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_SIZE 8
548  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_MASK 0xff
549  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_MSB 7
550  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_LSB 0
551  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_INDEX 3
552  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_value (((cmd.arg.GET_PROPERTY.START_PROP)))
553  /* macros for field START_PROP access */
554  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_TYPE uint8_t
555  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_SIZE 8
556  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_MASK 0xff
557  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_MSB 7
558  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_LSB 0
559  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_INDEX 3
560  #define EZRADIO_CMD_GET_PROPERTY_ARG_START_PROP_START_PROP_value (((cmd.arg.GET_PROPERTY.START_PROP & 0xff)))
561 /* GET_PROPERTY REPLY */
562 #define EZRADIO_CMD_REPLY_COUNT_GET_PROPERTY 16
563  /* macros for entire REPLY DATA access of type uint8_t */
564  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_TYPE uint8_t
565  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_SIZE 8
566  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_MASK 0xff
567  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_MSB 7
568  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_LSB 0
569  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_INDEX 1
570  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_ARRAY_LEN 16
571  /* macros for field DATA access */
572  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_TYPE uint8_t
573  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_SIZE 8
574  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_MASK 0xff
575  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_MSB 7
576  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_LSB 0
577  #define EZRADIO_CMD_GET_PROPERTY_REP_DATA_DATA_INDEX 1
578 #define EZRADIO_CMD_ID_GPIO_PIN_CFG 0x13
579 /* GPIO_PIN_CFG ARGS */
580 #define EZRADIO_CMD_ARG_COUNT_GPIO_PIN_CFG 8
581  /* macros for entire ARG GPIO access of type uint8_t */
582  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_TYPE uint8_t
583  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_SIZE 8
584  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_MASK 0xff
585  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_MSB 7
586  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_LSB 0
587  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_INDEX 1
588  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_ARRAY_LEN 4
589  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_value(i) (((cmd.arg.GPIO_PIN_CFG.GPIO[(i)])))
590  /* macros for field PULL_CTL access */
591  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_TYPE enum
592  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_SIZE 1
593  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_MASK 0x40
594  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_BIT 0x40
595  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_MSB 6
596  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_LSB 6
597  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_INDEX 1
598  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_is_true(i) (cmd.arg.GPIO_PIN_CFG.GPIO[(i)] & 0x40)
599  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_value(i) (((cmd.arg.GPIO_PIN_CFG.GPIO[(i)] & 0x40)) >> 6)
600  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_ENUM_PULL_DIS 0
601  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_PULL_CTL_ENUM_PULL_EN 1
602  /* macros for field GPIO_MODE access */
603  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_TYPE enum
604  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_SIZE 6
605  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_MASK 0x3f
606  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_MSB 5
607  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_LSB 0
608  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_INDEX 1
609  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_value(i) (((cmd.arg.GPIO_PIN_CFG.GPIO[(i)] & 0x3f)))
610  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_DONOTHING 0
611  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TRISTATE 1
612  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_DRIVE0 2
613  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_DRIVE1 3
614  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_INPUT 4
615  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_32K_CLK 5
616  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_BOOT_CLK 6
617  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_DIV_CLK 7
618  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_CTS 8
619  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_INV_CTS 9
620  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_CMD_OVERLAP 10
621  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_SDO 11
622  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_POR 12
623  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_CAL_WUT 13
624  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_WUT 14
625  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_EN_PA 15
626  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TX_DATA_CLK 16
627  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_RX_DATA_CLK 17
628  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_EN_LNA 18
629  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TX_DATA 19
630  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_RX_DATA 20
631  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_RX_RAW_DATA 21
632  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_ANTENNA_1_SW 22
633  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_ANTENNA_2_SW 23
634  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_VALID_PREAMBLE 24
635  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_INVALID_PREAMBLE 25
636  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_SYNC_WORD_DETECT 26
637  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_CCA 27
638  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_IN_SLEEP 28
639  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TX_RX_DATA_CLK 31
640  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TX_STATE 32
641  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_RX_STATE 33
642  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_RX_FIFO_FULL 34
643  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_TX_FIFO_EMPTY 35
644  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_LOW_BATT 36
645  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_CCA_LATCH 37
646  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_HOPPED 38
647  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GPIO_GPIO_MODE_ENUM_HOP_TABLE_WRAP 39
648  /* macros for entire ARG NIRQ access of type uint8_t */
649  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_TYPE uint8_t
650  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_SIZE 8
651  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_MASK 0xff
652  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_MSB 7
653  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_LSB 0
654  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_INDEX 5
655  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_value (((cmd.arg.GPIO_PIN_CFG.NIRQ)))
656  /* macros for field PULL_CTL access */
657  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_TYPE enum
658  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_SIZE 1
659  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_MASK 0x40
660  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_BIT 0x40
661  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_MSB 6
662  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_LSB 6
663  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_INDEX 5
664  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_is_true (cmd.arg.GPIO_PIN_CFG.NIRQ & 0x40)
665  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_value (((cmd.arg.GPIO_PIN_CFG.NIRQ & 0x40)) >> 6)
666  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_ENUM_PULL_DIS 0
667  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_PULL_CTL_ENUM_PULL_EN 1
668  /* macros for field NIRQ_MODE access */
669  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_TYPE enum
670  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_SIZE 6
671  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_MASK 0x3f
672  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_MSB 5
673  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_LSB 0
674  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_INDEX 5
675  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_value (((cmd.arg.GPIO_PIN_CFG.NIRQ & 0x3f)))
676  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_DONOTHING 0
677  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_TRISTATE 1
678  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_DRIVE0 2
679  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_DRIVE1 3
680  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_INPUT 4
681  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_DIV_CLK 7
682  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_CTS 8
683  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_SDO 11
684  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_POR 12
685  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_EN_PA 15
686  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_TX_DATA_CLK 16
687  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_RX_DATA_CLK 17
688  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_EN_LNA 18
689  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_TX_DATA 19
690  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_RX_DATA 20
691  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_RX_RAW_DATA 21
692  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_ANTENNA_1_SW 22
693  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_ANTENNA_2_SW 23
694  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_VALID_PREAMBLE 24
695  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_INVALID_PREAMBLE 25
696  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_SYNC_WORD_DETECT 26
697  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_CCA 27
698  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_TX_RX_DATA_CLK 31
699  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_NIRQ_NIRQ_MODE_ENUM_NIRQ 39
700  /* macros for entire ARG SDO access of type uint8_t */
701  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_TYPE uint8_t
702  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SIZE 8
703  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_MASK 0xff
704  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_MSB 7
705  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_LSB 0
706  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_INDEX 6
707  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_value (((cmd.arg.GPIO_PIN_CFG.SDO)))
708  /* macros for field PULL_CTL access */
709  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_TYPE enum
710  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_SIZE 1
711  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_MASK 0x40
712  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_BIT 0x40
713  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_MSB 6
714  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_LSB 6
715  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_INDEX 6
716  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_is_true (cmd.arg.GPIO_PIN_CFG.SDO & 0x40)
717  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_value (((cmd.arg.GPIO_PIN_CFG.SDO & 0x40)) >> 6)
718  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_ENUM_PULL_DIS 0
719  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_PULL_CTL_ENUM_PULL_EN 1
720  /* macros for field SDO_MODE access */
721  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_TYPE enum
722  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_SIZE 6
723  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_MASK 0x3f
724  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_MSB 5
725  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_LSB 0
726  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_INDEX 6
727  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_value (((cmd.arg.GPIO_PIN_CFG.SDO & 0x3f)))
728  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_DONOTHING 0
729  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_TRISTATE 1
730  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_DRIVE0 2
731  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_DRIVE1 3
732  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_INPUT 4
733  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_32K_CLK 5
734  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_DIV_CLK 7
735  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_CTS 8
736  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_SDO 11
737  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_POR 12
738  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_WUT 14
739  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_EN_PA 15
740  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_TX_DATA_CLK 16
741  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_RX_DATA_CLK 17
742  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_EN_LNA 18
743  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_TX_DATA 19
744  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_RX_DATA 20
745  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_RX_RAW_DATA 21
746  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_ANTENNA_1_SW 22
747  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_ANTENNA_2_SW 23
748  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_VALID_PREAMBLE 24
749  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_INVALID_PREAMBLE 25
750  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_SYNC_WORD_DETECT 26
751  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_SDO_SDO_MODE_ENUM_CCA 27
752  /* macros for entire ARG GEN_CONFIG access of type uint8_t */
753  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_TYPE uint8_t
754  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_SIZE 8
755  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_MASK 0xff
756  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_MSB 7
757  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_LSB 0
758  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_INDEX 7
759  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_value (((cmd.arg.GPIO_PIN_CFG.GEN_CONFIG)))
760  /* macros for field DRV_STRENGTH access */
761  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_TYPE enum
762  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_SIZE 2
763  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_MASK 0x60
764  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_MSB 6
765  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_LSB 5
766  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_INDEX 7
767  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_value (((cmd.arg.GPIO_PIN_CFG.GEN_CONFIG & 0x60)) >> 5)
768  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_ENUM_HIGH 0
769  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_ENUM_MED_HIGH 1
770  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_ENUM_MED_LOW 2
771  #define EZRADIO_CMD_GPIO_PIN_CFG_ARG_GEN_CONFIG_DRV_STRENGTH_ENUM_LOW 3
772 /* GPIO_PIN_CFG REPLY */
773 #define EZRADIO_CMD_REPLY_COUNT_GPIO_PIN_CFG 7
774  /* macros for entire REPLY GPIO access of type uint8_t */
775  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_TYPE uint8_t
776  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_SIZE 8
777  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_MASK 0xff
778  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_MSB 7
779  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_LSB 0
780  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_INDEX 1
781  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_ARRAY_LEN 4
782  /* macros for field GPIO_STATE access */
783  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_TYPE enum
784  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_SIZE 1
785  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_MASK 0x80
786  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_BIT 0x80
787  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_MSB 7
788  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_LSB 7
789  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_INDEX 1
790  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_ENUM_INACTIVE 0
791  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_STATE_ENUM_ACTIVE 1
792  /* macros for field GPIO_MODE access */
793  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_TYPE enum
794  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_SIZE 6
795  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_MASK 0x3f
796  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_MSB 5
797  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_LSB 0
798  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_INDEX 1
799  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_DONOTHING 0
800  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TRISTATE 1
801  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_DRIVE0 2
802  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_DRIVE1 3
803  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_INPUT 4
804  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_32K_CLK 5
805  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_BOOT_CLK 6
806  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_DIV_CLK 7
807  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_CTS 8
808  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_INV_CTS 9
809  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_CMD_OVERLAP 10
810  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_SDO 11
811  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_POR 12
812  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_CAL_WUT 13
813  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_WUT 14
814  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_EN_PA 15
815  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TX_DATA_CLK 16
816  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_RX_DATA_CLK 17
817  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_EN_LNA 18
818  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TX_DATA 19
819  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_RX_DATA 20
820  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_RX_RAW_DATA 21
821  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_ANTENNA_1_SW 22
822  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_ANTENNA_2_SW 23
823  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_VALID_PREAMBLE 24
824  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_INVALID_PREAMBLE 25
825  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_SYNC_WORD_DETECT 26
826  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_CCA 27
827  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_IN_SLEEP 28
828  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TX_RX_DATA_CLK 31
829  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TX_STATE 32
830  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_RX_STATE 33
831  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_RX_FIFO_FULL 34
832  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_TX_FIFO_EMPTY 35
833  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_LOW_BATT 36
834  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_CCA_LATCH 37
835  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_HOPPED 38
836  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GPIO_GPIO_MODE_ENUM_HOP_TABLE_WRAP 39
837  /* macros for entire REPLY NIRQ access of type uint8_t */
838  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_TYPE uint8_t
839  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_SIZE 8
840  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_MASK 0xff
841  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_MSB 7
842  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_LSB 0
843  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_INDEX 5
844  /* macros for field NIRQ_STATE access */
845  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_TYPE enum
846  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_SIZE 1
847  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_MASK 0x80
848  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_BIT 0x80
849  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_MSB 7
850  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_LSB 7
851  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_INDEX 5
852  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_ENUM_INACTIVE 0
853  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_STATE_ENUM_ACTIVE 1
854  /* macros for field NIRQ_MODE access */
855  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_TYPE enum
856  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_SIZE 6
857  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_MASK 0x3f
858  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_MSB 5
859  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_LSB 0
860  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_INDEX 5
861  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_DONOTHING 0
862  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_TRISTATE 1
863  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_DRIVE0 2
864  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_DRIVE1 3
865  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_INPUT 4
866  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_DIV_CLK 7
867  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_CTS 8
868  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_SDO 11
869  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_POR 12
870  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_EN_PA 15
871  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_TX_DATA_CLK 16
872  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_RX_DATA_CLK 17
873  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_EN_LNA 18
874  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_TX_DATA 19
875  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_RX_DATA 20
876  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_RX_RAW_DATA 21
877  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_ANTENNA_1_SW 22
878  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_ANTENNA_2_SW 23
879  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_VALID_PREAMBLE 24
880  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_INVALID_PREAMBLE 25
881  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_SYNC_WORD_DETECT 26
882  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_CCA 27
883  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_TX_RX_DATA_CLK 31
884  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_NIRQ_NIRQ_MODE_ENUM_NIRQ 39
885  /* macros for entire REPLY SDO access of type uint8_t */
886  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_TYPE uint8_t
887  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SIZE 8
888  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_MASK 0xff
889  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_MSB 7
890  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_LSB 0
891  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_INDEX 6
892  /* macros for field SDO_STATE access */
893  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_TYPE enum
894  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_SIZE 1
895  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_MASK 0x80
896  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_BIT 0x80
897  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_MSB 7
898  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_LSB 7
899  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_INDEX 6
900  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_ENUM_INACTIVE 0
901  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_STATE_ENUM_ACTIVE 1
902  /* macros for field SDO_MODE access */
903  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_TYPE enum
904  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_SIZE 6
905  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_MASK 0x3f
906  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_MSB 5
907  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_LSB 0
908  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_INDEX 6
909  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_DONOTHING 0
910  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_TRISTATE 1
911  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_DRIVE0 2
912  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_DRIVE1 3
913  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_INPUT 4
914  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_32K_CLK 5
915  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_DIV_CLK 7
916  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_CTS 8
917  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_SDO 11
918  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_POR 12
919  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_WUT 14
920  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_EN_PA 15
921  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_TX_DATA_CLK 16
922  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_RX_DATA_CLK 17
923  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_EN_LNA 18
924  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_TX_DATA 19
925  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_RX_DATA 20
926  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_RX_RAW_DATA 21
927  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_ANTENNA_1_SW 22
928  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_ANTENNA_2_SW 23
929  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_VALID_PREAMBLE 24
930  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_INVALID_PREAMBLE 25
931  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_SYNC_WORD_DETECT 26
932  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_SDO_SDO_MODE_ENUM_CCA 27
933  /* macros for entire REPLY GEN_CONFIG access of type uint8_t */
934  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_TYPE uint8_t
935  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_SIZE 8
936  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_MASK 0xff
937  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_MSB 7
938  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_LSB 0
939  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_INDEX 7
940  /* macros for field DRV_STRENGTH access */
941  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_TYPE enum
942  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_SIZE 2
943  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_MASK 0x60
944  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_MSB 6
945  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_LSB 5
946  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_INDEX 7
947  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_ENUM_HIGH 0
948  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_ENUM_MED_HIGH 1
949  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_ENUM_MED_LOW 2
950  #define EZRADIO_CMD_GPIO_PIN_CFG_REP_GEN_CONFIG_DRV_STRENGTH_ENUM_LOW 3
951 #define EZRADIO_CMD_ID_FIFO_INFO 0x15
952 /* FIFO_INFO ARGS */
953 #define EZRADIO_CMD_ARG_COUNT_FIFO_INFO 2
954  /* macros for entire ARG FIFO access of type uint8_t */
955  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TYPE uint8_t
956  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_SIZE 8
957  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_MASK 0xff
958  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_MSB 7
959  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_LSB 0
960  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_INDEX 1
961  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_value (((cmd.arg.FIFO_INFO.FIFO)))
962  /* macros for field RX access */
963  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_TYPE enum
964  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_SIZE 1
965  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_MASK 0x2
966  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_BIT 0x2
967  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_MSB 1
968  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_LSB 1
969  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_INDEX 1
970  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_is_true (cmd.arg.FIFO_INFO.FIFO & 0x2)
971  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_value (((cmd.arg.FIFO_INFO.FIFO & 0x2)) >> 1)
972  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_ENUM_FALSE 0
973  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_RX_ENUM_TRUE 1
974  /* macros for field TX access */
975  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_TYPE enum
976  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_SIZE 1
977  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_MASK 0x1
978  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_BIT 0x1
979  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_MSB 0
980  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_LSB 0
981  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_INDEX 1
982  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_is_true (cmd.arg.FIFO_INFO.FIFO & 0x1)
983  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_value (((cmd.arg.FIFO_INFO.FIFO & 0x1)))
984  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_ENUM_FALSE 0
985  #define EZRADIO_CMD_FIFO_INFO_ARG_FIFO_TX_ENUM_TRUE 1
986 /* FIFO_INFO REPLY */
987 #define EZRADIO_CMD_REPLY_COUNT_FIFO_INFO 2
988  /* macros for entire REPLY RX_FIFO_COUNT access of type uint8_t */
989  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_TYPE uint8_t
990  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_SIZE 8
991  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_MASK 0xff
992  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_MSB 7
993  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_LSB 0
994  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_INDEX 1
995  /* macros for field RX_FIFO_COUNT access */
996  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_TYPE uint8_t
997  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_SIZE 8
998  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_MASK 0xff
999  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_MSB 7
1000  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_LSB 0
1001  #define EZRADIO_CMD_FIFO_INFO_REP_RX_FIFO_COUNT_RX_FIFO_COUNT_INDEX 1
1002  /* macros for entire REPLY TX_FIFO_SPACE access of type uint8_t */
1003  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TYPE uint8_t
1004  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_SIZE 8
1005  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_MASK 0xff
1006  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_MSB 7
1007  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_LSB 0
1008  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_INDEX 2
1009  /* macros for field TX_FIFO_SPACE access */
1010  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_TYPE uint8_t
1011  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_SIZE 8
1012  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_MASK 0xff
1013  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_MSB 7
1014  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_LSB 0
1015  #define EZRADIO_CMD_FIFO_INFO_REP_TX_FIFO_SPACE_TX_FIFO_SPACE_INDEX 2
1016 #define EZRADIO_CMD_ID_GET_INT_STATUS 0x20
1017 /* GET_INT_STATUS ARGS */
1018 #define EZRADIO_CMD_ARG_COUNT_GET_INT_STATUS 4
1019  /* macros for entire ARG PH_CLR_PEND access of type uint8_t */
1020  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TYPE uint8_t
1021  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_SIZE 8
1022  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_MASK 0xff
1023  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_MSB 7
1024  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_LSB 0
1025  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_INDEX 1
1026  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND)))
1027  /* macros for field FILTER_MATCH_PEND_CLR access */
1028  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_TYPE bool
1029  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_SIZE 1
1030  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_MASK 0x80
1031  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_BIT 0x80
1032  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_MSB 7
1033  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_LSB 7
1034  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_INDEX 1
1035  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x80)
1036  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x80)) >> 7)
1037  /* macros for field FILTER_MISS_PEND_CLR access */
1038  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_TYPE bool
1039  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_SIZE 1
1040  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_MASK 0x40
1041  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_BIT 0x40
1042  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_MSB 6
1043  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_LSB 6
1044  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_INDEX 1
1045  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x40)
1046  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x40)) >> 6)
1047  /* macros for field PACKET_SENT_PEND_CLR access */
1048  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_TYPE bool
1049  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_SIZE 1
1050  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_MASK 0x20
1051  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_BIT 0x20
1052  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_MSB 5
1053  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_LSB 5
1054  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_INDEX 1
1055  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x20)
1056  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x20)) >> 5)
1057  /* macros for field PACKET_RX_PEND_CLR access */
1058  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_TYPE bool
1059  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_SIZE 1
1060  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_MASK 0x10
1061  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_BIT 0x10
1062  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_MSB 4
1063  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_LSB 4
1064  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_INDEX 1
1065  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x10)
1066  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x10)) >> 4)
1067  /* macros for field CRC_ERROR_PEND_CLR access */
1068  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_TYPE bool
1069  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_SIZE 1
1070  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_MASK 0x8
1071  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_BIT 0x8
1072  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_MSB 3
1073  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_LSB 3
1074  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_INDEX 1
1075  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x8)
1076  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x8)) >> 3)
1077  /* macros for field ALT_CRC_ERROR_PEND_CLR access */
1078  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_TYPE bool
1079  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_SIZE 1
1080  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_MASK 0x4
1081  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_BIT 0x4
1082  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_MSB 2
1083  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_LSB 2
1084  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_INDEX 1
1085  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x4)
1086  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x4)) >> 2)
1087  /* macros for field TX_FIFO_ALMOST_EMPTY_PEND_CLR access */
1088  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_TYPE bool
1089  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_SIZE 1
1090  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_MASK 0x2
1091  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_BIT 0x2
1092  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_MSB 1
1093  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_LSB 1
1094  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_INDEX 1
1095  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x2)
1096  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x2)) >> 1)
1097  /* macros for field RX_FIFO_ALMOST_FULL_PEND_CLR access */
1098  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_TYPE bool
1099  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_SIZE 1
1100  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_MASK 0x1
1101  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_BIT 0x1
1102  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_MSB 0
1103  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_LSB 0
1104  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_INDEX 1
1105  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x1)
1106  #define EZRADIO_CMD_GET_INT_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.PH_CLR_PEND & 0x1)))
1107  /* macros for entire ARG MODEM_CLR_PEND access of type uint8_t */
1108  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_TYPE uint8_t
1109  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SIZE 8
1110  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_MASK 0xff
1111  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_MSB 7
1112  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_LSB 0
1113  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INDEX 2
1114  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND)))
1115  /* macros for field RSSI_LATCH_PEND_CLR access */
1116  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_TYPE bool
1117  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_SIZE 1
1118  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_MASK 0x80
1119  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_BIT 0x80
1120  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_MSB 7
1121  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_LSB 7
1122  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_INDEX 2
1123  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x80)
1124  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x80)) >> 7)
1125  /* macros for field POSTAMBLE_DETECT_PEND_CLR access */
1126  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_TYPE bool
1127  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_SIZE 1
1128  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_MASK 0x40
1129  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_BIT 0x40
1130  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_MSB 6
1131  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_LSB 6
1132  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_INDEX 2
1133  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x40)
1134  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x40)) >> 6)
1135  /* macros for field INVALID_SYNC_PEND_CLR access */
1136  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_TYPE bool
1137  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_SIZE 1
1138  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_MASK 0x20
1139  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_BIT 0x20
1140  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_MSB 5
1141  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_LSB 5
1142  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_INDEX 2
1143  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x20)
1144  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x20)) >> 5)
1145  /* macros for field RSSI_JUMP_PEND_CLR access */
1146  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_TYPE bool
1147  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_SIZE 1
1148  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_MASK 0x10
1149  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_BIT 0x10
1150  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_MSB 4
1151  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_LSB 4
1152  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_INDEX 2
1153  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x10)
1154  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x10)) >> 4)
1155  /* macros for field RSSI_PEND_CLR access */
1156  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_TYPE bool
1157  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_SIZE 1
1158  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_MASK 0x8
1159  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_BIT 0x8
1160  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_MSB 3
1161  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_LSB 3
1162  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_INDEX 2
1163  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x8)
1164  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x8)) >> 3)
1165  /* macros for field INVALID_PREAMBLE_PEND_CLR access */
1166  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_TYPE bool
1167  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_SIZE 1
1168  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_MASK 0x4
1169  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_BIT 0x4
1170  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_MSB 2
1171  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_LSB 2
1172  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_INDEX 2
1173  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x4)
1174  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x4)) >> 2)
1175  /* macros for field PREAMBLE_DETECT_PEND_CLR access */
1176  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_TYPE bool
1177  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_SIZE 1
1178  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_MASK 0x2
1179  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_BIT 0x2
1180  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_MSB 1
1181  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_LSB 1
1182  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_INDEX 2
1183  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x2)
1184  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x2)) >> 1)
1185  /* macros for field SYNC_DETECT_PEND_CLR access */
1186  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_TYPE bool
1187  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_SIZE 1
1188  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_MASK 0x1
1189  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_BIT 0x1
1190  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_MSB 0
1191  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_LSB 0
1192  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_INDEX 2
1193  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x1)
1194  #define EZRADIO_CMD_GET_INT_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.MODEM_CLR_PEND & 0x1)))
1195  /* macros for entire ARG CHIP_CLR_PEND access of type uint8_t */
1196  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_TYPE uint8_t
1197  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_SIZE 8
1198  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_MASK 0xff
1199  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_MSB 7
1200  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LSB 0
1201  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_INDEX 3
1202  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND)))
1203  /* macros for field CAL_PEND_CLR access */
1204  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_TYPE bool
1205  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_SIZE 1
1206  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_MASK 0x40
1207  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_BIT 0x40
1208  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_MSB 6
1209  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_LSB 6
1210  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_INDEX 3
1211  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x40)
1212  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x40)) >> 6)
1213  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR access */
1214  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_TYPE bool
1215  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_SIZE 1
1216  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_MASK 0x20
1217  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_BIT 0x20
1218  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_MSB 5
1219  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_LSB 5
1220  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_INDEX 3
1221  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x20)
1222  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x20)) >> 5)
1223  /* macros for field STATE_CHANGE_PEND_CLR access */
1224  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_TYPE bool
1225  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_SIZE 1
1226  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_MASK 0x10
1227  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_BIT 0x10
1228  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_MSB 4
1229  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_LSB 4
1230  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_INDEX 3
1231  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x10)
1232  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x10)) >> 4)
1233  /* macros for field CMD_ERROR_PEND_CLR access */
1234  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_TYPE bool
1235  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_SIZE 1
1236  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_MASK 0x8
1237  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_BIT 0x8
1238  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_MSB 3
1239  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_LSB 3
1240  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_INDEX 3
1241  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x8)
1242  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x8)) >> 3)
1243  /* macros for field CHIP_READY_PEND_CLR access */
1244  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_TYPE bool
1245  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_SIZE 1
1246  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_MASK 0x4
1247  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_BIT 0x4
1248  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_MSB 2
1249  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_LSB 2
1250  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_INDEX 3
1251  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x4)
1252  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x4)) >> 2)
1253  /* macros for field LOW_BATT_PEND_CLR access */
1254  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_TYPE bool
1255  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_SIZE 1
1256  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_MASK 0x2
1257  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_BIT 0x2
1258  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_MSB 1
1259  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_LSB 1
1260  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_INDEX 3
1261  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x2)
1262  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x2)) >> 1)
1263  /* macros for field WUT_PEND_CLR access */
1264  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_TYPE bool
1265  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_SIZE 1
1266  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_MASK 0x1
1267  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_BIT 0x1
1268  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_MSB 0
1269  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_LSB 0
1270  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_INDEX 3
1271  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_is_true (cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x1)
1272  #define EZRADIO_CMD_GET_INT_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_value (((cmd.arg.GET_INT_STATUS.CHIP_CLR_PEND & 0x1)))
1273 /* GET_INT_STATUS REPLY */
1274 #define EZRADIO_CMD_REPLY_COUNT_GET_INT_STATUS 8
1275  /* macros for entire REPLY INT_PEND access of type uint8_t */
1276  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_TYPE uint8_t
1277  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_SIZE 8
1278  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MASK 0xff
1279  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MSB 7
1280  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_LSB 0
1281  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_INDEX 1
1282  /* macros for field CHIP_INT_PEND access */
1283  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_TYPE bool
1284  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_SIZE 1
1285  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_MASK 0x4
1286  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_BIT 0x4
1287  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_MSB 2
1288  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_LSB 2
1289  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_CHIP_INT_PEND_INDEX 1
1290  /* macros for field MODEM_INT_PEND access */
1291  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_TYPE bool
1292  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_SIZE 1
1293  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_MASK 0x2
1294  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_BIT 0x2
1295  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_MSB 1
1296  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_LSB 1
1297  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_MODEM_INT_PEND_INDEX 1
1298  /* macros for field PH_INT_PEND access */
1299  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_TYPE bool
1300  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_SIZE 1
1301  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_MASK 0x1
1302  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_BIT 0x1
1303  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_MSB 0
1304  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_LSB 0
1305  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_PEND_PH_INT_PEND_INDEX 1
1306  /* macros for entire REPLY INT_STATUS access of type uint8_t */
1307  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_TYPE uint8_t
1308  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_SIZE 8
1309  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MASK 0xff
1310  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MSB 7
1311  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_LSB 0
1312  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_INDEX 2
1313  /* macros for field CHIP_INT_STATUS access */
1314  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_TYPE bool
1315  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_SIZE 1
1316  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_MASK 0x4
1317  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_BIT 0x4
1318  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_MSB 2
1319  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_LSB 2
1320  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_CHIP_INT_STATUS_INDEX 2
1321  /* macros for field MODEM_INT_STATUS access */
1322  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_TYPE bool
1323  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_SIZE 1
1324  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_MASK 0x2
1325  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_BIT 0x2
1326  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_MSB 1
1327  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_LSB 1
1328  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_MODEM_INT_STATUS_INDEX 2
1329  /* macros for field PH_INT_STATUS access */
1330  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_TYPE bool
1331  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_SIZE 1
1332  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_MASK 0x1
1333  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_BIT 0x1
1334  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_MSB 0
1335  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_LSB 0
1336  #define EZRADIO_CMD_GET_INT_STATUS_REP_INT_STATUS_PH_INT_STATUS_INDEX 2
1337  /* macros for entire REPLY PH_PEND access of type uint8_t */
1338  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TYPE uint8_t
1339  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_SIZE 8
1340  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_MASK 0xff
1341  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_MSB 7
1342  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_LSB 0
1343  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_INDEX 3
1344  /* macros for field FILTER_MATCH_PEND access */
1345  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_TYPE bool
1346  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_SIZE 1
1347  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_MASK 0x80
1348  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_BIT 0x80
1349  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_MSB 7
1350  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_LSB 7
1351  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_INDEX 3
1352  /* macros for field FILTER_MISS_PEND access */
1353  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_TYPE bool
1354  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_SIZE 1
1355  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_MASK 0x40
1356  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_BIT 0x40
1357  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_MSB 6
1358  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_LSB 6
1359  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_FILTER_MISS_PEND_INDEX 3
1360  /* macros for field PACKET_SENT_PEND access */
1361  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_TYPE bool
1362  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_SIZE 1
1363  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_MASK 0x20
1364  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_BIT 0x20
1365  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_MSB 5
1366  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_LSB 5
1367  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_SENT_PEND_INDEX 3
1368  /* macros for field PACKET_RX_PEND access */
1369  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_TYPE bool
1370  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_SIZE 1
1371  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_MASK 0x10
1372  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_BIT 0x10
1373  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_MSB 4
1374  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_LSB 4
1375  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_INDEX 3
1376  /* macros for field CRC_ERROR_PEND access */
1377  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_TYPE bool
1378  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_SIZE 1
1379  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_MASK 0x8
1380  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_BIT 0x8
1381  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_MSB 3
1382  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_LSB 3
1383  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_CRC_ERROR_PEND_INDEX 3
1384  /* macros for field ALT_CRC_ERROR_PEND access */
1385  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_TYPE bool
1386  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_SIZE 1
1387  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_MASK 0x4
1388  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_BIT 0x4
1389  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_MSB 2
1390  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_LSB 2
1391  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_INDEX 3
1392  /* macros for field TX_FIFO_ALMOST_EMPTY_PEND access */
1393  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_TYPE bool
1394  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_SIZE 1
1395  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_MASK 0x2
1396  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_BIT 0x2
1397  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_MSB 1
1398  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_LSB 1
1399  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_INDEX 3
1400  /* macros for field RX_FIFO_ALMOST_FULL_PEND access */
1401  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_TYPE bool
1402  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_SIZE 1
1403  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_MASK 0x1
1404  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_BIT 0x1
1405  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_MSB 0
1406  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_LSB 0
1407  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_INDEX 3
1408  /* macros for entire REPLY PH_STATUS access of type uint8_t */
1409  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TYPE uint8_t
1410  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_SIZE 8
1411  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_MASK 0xff
1412  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_MSB 7
1413  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_LSB 0
1414  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_INDEX 4
1415  /* macros for field FILTER_MATCH access */
1416  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_TYPE bool
1417  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_SIZE 1
1418  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_MASK 0x80
1419  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_BIT 0x80
1420  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_MSB 7
1421  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_LSB 7
1422  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MATCH_INDEX 4
1423  /* macros for field FILTER_MISS access */
1424  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_TYPE bool
1425  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_SIZE 1
1426  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_MASK 0x40
1427  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_BIT 0x40
1428  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_MSB 6
1429  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_LSB 6
1430  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_FILTER_MISS_INDEX 4
1431  /* macros for field PACKET_SENT access */
1432  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_TYPE bool
1433  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_SIZE 1
1434  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_MASK 0x20
1435  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_BIT 0x20
1436  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_MSB 5
1437  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_LSB 5
1438  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_SENT_INDEX 4
1439  /* macros for field PACKET_RX access */
1440  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_TYPE bool
1441  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_SIZE 1
1442  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_MASK 0x10
1443  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_BIT 0x10
1444  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_MSB 4
1445  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_LSB 4
1446  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_PACKET_RX_INDEX 4
1447  /* macros for field CRC_ERROR access */
1448  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_TYPE bool
1449  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_SIZE 1
1450  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_MASK 0x8
1451  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_BIT 0x8
1452  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_MSB 3
1453  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_LSB 3
1454  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_CRC_ERROR_INDEX 4
1455  /* macros for field ALT_CRC_ERROR access */
1456  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_TYPE bool
1457  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_SIZE 1
1458  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_MASK 0x4
1459  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_BIT 0x4
1460  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_MSB 2
1461  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_LSB 2
1462  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_INDEX 4
1463  /* macros for field TX_FIFO_ALMOST_EMPTY access */
1464  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_TYPE bool
1465  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_SIZE 1
1466  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_MASK 0x2
1467  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_BIT 0x2
1468  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_MSB 1
1469  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_LSB 1
1470  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_INDEX 4
1471  /* macros for field RX_FIFO_ALMOST_FULL access */
1472  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_TYPE bool
1473  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_SIZE 1
1474  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_MASK 0x1
1475  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_BIT 0x1
1476  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_MSB 0
1477  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_LSB 0
1478  #define EZRADIO_CMD_GET_INT_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_INDEX 4
1479  /* macros for entire REPLY MODEM_PEND access of type uint8_t */
1480  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_TYPE uint8_t
1481  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SIZE 8
1482  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_MASK 0xff
1483  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_MSB 7
1484  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_LSB 0
1485  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INDEX 5
1486  /* macros for field RSSI_LATCH_PEND access */
1487  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_TYPE bool
1488  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_SIZE 1
1489  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_MASK 0x80
1490  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_BIT 0x80
1491  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_MSB 7
1492  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_LSB 7
1493  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_INDEX 5
1494  /* macros for field POSTAMBLE_DETECT_PEND access */
1495  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_TYPE bool
1496  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_SIZE 1
1497  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_MASK 0x40
1498  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_BIT 0x40
1499  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_MSB 6
1500  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_LSB 6
1501  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_INDEX 5
1502  /* macros for field INVALID_SYNC_PEND access */
1503  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_TYPE bool
1504  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_SIZE 1
1505  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_MASK 0x20
1506  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_BIT 0x20
1507  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_MSB 5
1508  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_LSB 5
1509  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_INDEX 5
1510  /* macros for field RSSI_JUMP_PEND access */
1511  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_TYPE bool
1512  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_SIZE 1
1513  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_MASK 0x10
1514  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_BIT 0x10
1515  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_MSB 4
1516  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_LSB 4
1517  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_INDEX 5
1518  /* macros for field RSSI_PEND access */
1519  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_TYPE bool
1520  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_SIZE 1
1521  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_MASK 0x8
1522  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_BIT 0x8
1523  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_MSB 3
1524  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_LSB 3
1525  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_RSSI_PEND_INDEX 5
1526  /* macros for field INVALID_PREAMBLE_PEND access */
1527  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_TYPE bool
1528  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_SIZE 1
1529  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_MASK 0x4
1530  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_BIT 0x4
1531  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_MSB 2
1532  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_LSB 2
1533  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_INDEX 5
1534  /* macros for field PREAMBLE_DETECT_PEND access */
1535  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_TYPE bool
1536  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_SIZE 1
1537  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_MASK 0x2
1538  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_BIT 0x2
1539  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_MSB 1
1540  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_LSB 1
1541  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_INDEX 5
1542  /* macros for field SYNC_DETECT_PEND access */
1543  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_TYPE bool
1544  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_SIZE 1
1545  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_MASK 0x1
1546  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_BIT 0x1
1547  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_MSB 0
1548  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_LSB 0
1549  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_INDEX 5
1550  /* macros for entire REPLY MODEM_STATUS access of type uint8_t */
1551  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_TYPE uint8_t
1552  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SIZE 8
1553  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_MASK 0xff
1554  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_MSB 7
1555  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_LSB 0
1556  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INDEX 6
1557  /* macros for field RSSI_LATCH access */
1558  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_TYPE bool
1559  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_SIZE 1
1560  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_MASK 0x80
1561  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_BIT 0x80
1562  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_MSB 7
1563  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_LSB 7
1564  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LATCH_INDEX 6
1565  /* macros for field POSTAMBLE_DETECT access */
1566  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_TYPE bool
1567  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_SIZE 1
1568  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_MASK 0x40
1569  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_BIT 0x40
1570  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_MSB 6
1571  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_LSB 6
1572  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_INDEX 6
1573  /* macros for field INVALID_SYNC access */
1574  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_TYPE bool
1575  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_SIZE 1
1576  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_MASK 0x20
1577  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_BIT 0x20
1578  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_MSB 5
1579  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_LSB 5
1580  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_SYNC_INDEX 6
1581  /* macros for field RSSI_JUMP access */
1582  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_TYPE bool
1583  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_SIZE 1
1584  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_MASK 0x10
1585  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_BIT 0x10
1586  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_MSB 4
1587  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_LSB 4
1588  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_JUMP_INDEX 6
1589  /* macros for field RSSI access */
1590  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_TYPE bool
1591  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_SIZE 1
1592  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_MASK 0x8
1593  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_BIT 0x8
1594  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_MSB 3
1595  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_LSB 3
1596  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_RSSI_INDEX 6
1597  /* macros for field INVALID_PREAMBLE access */
1598  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_TYPE bool
1599  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_SIZE 1
1600  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_MASK 0x4
1601  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_BIT 0x4
1602  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_MSB 2
1603  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_LSB 2
1604  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_INDEX 6
1605  /* macros for field PREAMBLE_DETECT access */
1606  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_TYPE bool
1607  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_SIZE 1
1608  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_MASK 0x2
1609  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_BIT 0x2
1610  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_MSB 1
1611  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_LSB 1
1612  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_INDEX 6
1613  /* macros for field SYNC_DETECT access */
1614  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_TYPE bool
1615  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_SIZE 1
1616  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_MASK 0x1
1617  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_BIT 0x1
1618  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_MSB 0
1619  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_LSB 0
1620  #define EZRADIO_CMD_GET_INT_STATUS_REP_MODEM_STATUS_SYNC_DETECT_INDEX 6
1621  /* macros for entire REPLY CHIP_PEND access of type uint8_t */
1622  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_TYPE uint8_t
1623  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_SIZE 8
1624  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_MASK 0xff
1625  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_MSB 7
1626  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LSB 0
1627  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_INDEX 7
1628  /* macros for field CAL_PEND access */
1629  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_TYPE bool
1630  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_SIZE 1
1631  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_MASK 0x40
1632  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_BIT 0x40
1633  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_MSB 6
1634  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_LSB 6
1635  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CAL_PEND_INDEX 7
1636  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND access */
1637  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_TYPE bool
1638  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_SIZE 1
1639  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_MASK 0x20
1640  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_BIT 0x20
1641  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_MSB 5
1642  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_LSB 5
1643  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_INDEX 7
1644  /* macros for field STATE_CHANGE_PEND access */
1645  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_TYPE bool
1646  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_SIZE 1
1647  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_MASK 0x10
1648  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_BIT 0x10
1649  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_MSB 4
1650  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_LSB 4
1651  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_INDEX 7
1652  /* macros for field CMD_ERROR_PEND access */
1653  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_TYPE bool
1654  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_SIZE 1
1655  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_MASK 0x8
1656  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_BIT 0x8
1657  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_MSB 3
1658  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_LSB 3
1659  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_INDEX 7
1660  /* macros for field CHIP_READY_PEND access */
1661  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_TYPE bool
1662  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_SIZE 1
1663  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_MASK 0x4
1664  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_BIT 0x4
1665  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_MSB 2
1666  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_LSB 2
1667  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_INDEX 7
1668  /* macros for field LOW_BATT_PEND access */
1669  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_TYPE bool
1670  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_SIZE 1
1671  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_MASK 0x2
1672  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_BIT 0x2
1673  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_MSB 1
1674  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_LSB 1
1675  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_INDEX 7
1676  /* macros for field WUT_PEND access */
1677  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_TYPE bool
1678  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_SIZE 1
1679  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_MASK 0x1
1680  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_BIT 0x1
1681  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_MSB 0
1682  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_LSB 0
1683  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_PEND_WUT_PEND_INDEX 7
1684  /* macros for entire REPLY CHIP_STATUS access of type uint8_t */
1685  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_TYPE uint8_t
1686  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_SIZE 8
1687  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_MASK 0xff
1688  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_MSB 7
1689  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LSB 0
1690  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_INDEX 8
1691  /* macros for field CAL access */
1692  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_TYPE bool
1693  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_SIZE 1
1694  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_MASK 0x40
1695  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_BIT 0x40
1696  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_MSB 6
1697  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_LSB 6
1698  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CAL_INDEX 8
1699  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR access */
1700  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_TYPE bool
1701  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_SIZE 1
1702  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_MASK 0x20
1703  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_BIT 0x20
1704  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_MSB 5
1705  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_LSB 5
1706  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_INDEX 8
1707  /* macros for field STATE_CHANGE access */
1708  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_TYPE bool
1709  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_SIZE 1
1710  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_MASK 0x10
1711  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_BIT 0x10
1712  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_MSB 4
1713  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_LSB 4
1714  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_STATE_CHANGE_INDEX 8
1715  /* macros for field CMD_ERROR access */
1716  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_TYPE bool
1717  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_SIZE 1
1718  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_MASK 0x8
1719  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_BIT 0x8
1720  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_MSB 3
1721  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_LSB 3
1722  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CMD_ERROR_INDEX 8
1723  /* macros for field CHIP_READY access */
1724  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_TYPE bool
1725  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_SIZE 1
1726  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_MASK 0x4
1727  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_BIT 0x4
1728  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_MSB 2
1729  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_LSB 2
1730  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_CHIP_READY_INDEX 8
1731  /* macros for field LOW_BATT access */
1732  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_TYPE bool
1733  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_SIZE 1
1734  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_MASK 0x2
1735  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_BIT 0x2
1736  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_MSB 1
1737  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_LSB 1
1738  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_LOW_BATT_INDEX 8
1739  /* macros for field WUT access */
1740  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_TYPE bool
1741  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_SIZE 1
1742  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_MASK 0x1
1743  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_BIT 0x1
1744  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_MSB 0
1745  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_LSB 0
1746  #define EZRADIO_CMD_GET_INT_STATUS_REP_CHIP_STATUS_WUT_INDEX 8
1747 #define EZRADIO_CMD_ID_REQUEST_DEVICE_STATE 0x33
1748 /* REQUEST_DEVICE_STATE ARGS */
1749 #define EZRADIO_CMD_ARG_COUNT_REQUEST_DEVICE_STATE 1
1750 /* REQUEST_DEVICE_STATE REPLY */
1751 #define EZRADIO_CMD_REPLY_COUNT_REQUEST_DEVICE_STATE 2
1752  /* macros for entire REPLY CURR_STATE access of type uint8_t */
1753  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_TYPE uint8_t
1754  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_SIZE 8
1755  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MASK 0xff
1756  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MSB 7
1757  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_LSB 0
1758  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_INDEX 1
1759  /* macros for field MAIN_STATE access */
1760  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_TYPE enum
1761  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_SIZE 4
1762  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_MASK 0xf
1763  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_MSB 3
1764  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_LSB 0
1765  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_INDEX 1
1766  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_SLEEP 1
1767  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_SPI_ACTIVE 2
1768  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_READY 3
1769  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_READY2 4
1770  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_TX_TUNE 5
1771  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_RX_TUNE 6
1772  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_TX 7
1773  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURR_STATE_MAIN_STATE_ENUM_RX 8
1774  /* macros for entire REPLY CURRENT_CHANNEL access of type uint8_t */
1775  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_TYPE uint8_t
1776  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_SIZE 8
1777  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_MASK 0xff
1778  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_MSB 7
1779  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_LSB 0
1780  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_INDEX 2
1781  /* macros for field CURRENT_CHANNEL access */
1782  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_TYPE uint8_t
1783  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_SIZE 8
1784  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_MASK 0xff
1785  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_MSB 7
1786  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_LSB 0
1787  #define EZRADIO_CMD_REQUEST_DEVICE_STATE_REP_CURRENT_CHANNEL_CURRENT_CHANNEL_INDEX 2
1788 #define EZRADIO_CMD_ID_CHANGE_STATE 0x34
1789 /* CHANGE_STATE ARGS */
1790 #define EZRADIO_CMD_ARG_COUNT_CHANGE_STATE 2
1791  /* macros for entire ARG NEXT_STATE1 access of type uint8_t */
1792  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_TYPE uint8_t
1793  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_SIZE 8
1794  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_MASK 0xff
1795  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_MSB 7
1796  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_LSB 0
1797  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_INDEX 1
1798  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_value (((cmd.arg.CHANGE_STATE.NEXT_STATE1)))
1799  /* macros for field NEW_STATE access */
1800  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_TYPE enum
1801  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_SIZE 4
1802  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_MASK 0xf
1803  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_MSB 3
1804  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_LSB 0
1805  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_INDEX 1
1806  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_value (((cmd.arg.CHANGE_STATE.NEXT_STATE1 & 0xf)))
1807  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_NOCHANGE 0
1808  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_SLEEP 1
1809  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_SPI_ACTIVE 2
1810  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_READY 3
1811  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_TX_TUNE 5
1812  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_RX_TUNE 6
1813  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_TX 7
1814  #define EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_RX 8
1815 /* CHANGE_STATE REPLY */
1816 #define EZRADIO_CMD_REPLY_COUNT_CHANGE_STATE 0
1817 #define EZRADIO_CMD_ID_READ_CMD_BUFF 0x44
1818 /* READ_CMD_BUFF ARGS */
1819 #define EZRADIO_CMD_ARG_COUNT_READ_CMD_BUFF 1
1820 /* READ_CMD_BUFF REPLY */
1821 #define EZRADIO_CMD_REPLY_COUNT_READ_CMD_BUFF 16
1822  /* macros for entire REPLY BYTE access of type uint8_t */
1823  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_TYPE uint8_t
1824  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_SIZE 8
1825  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_MASK 0xff
1826  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_MSB 7
1827  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_LSB 0
1828  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_INDEX 1
1829  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_ARRAY_LEN 16
1830  /* macros for field CMD_BUFF access */
1831  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_TYPE uint8_t
1832  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_SIZE 8
1833  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_MASK 0xff
1834  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_MSB 7
1835  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_LSB 0
1836  #define EZRADIO_CMD_READ_CMD_BUFF_REP_BYTE_CMD_BUFF_INDEX 1
1837 #define EZRADIO_CMD_ID_FRR_A_READ 0x50
1838 /* FRR_A_READ ARGS */
1839 #define EZRADIO_CMD_ARG_COUNT_FRR_A_READ 1
1840 /* FRR_A_READ REPLY */
1841 #define EZRADIO_CMD_REPLY_COUNT_FRR_A_READ 4
1842  /* macros for entire REPLY FRR_A_VALUE access of type uint8_t */
1843  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_TYPE uint8_t
1844  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_SIZE 8
1845  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_MASK 0xff
1846  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_MSB 7
1847  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_LSB 0
1848  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_INDEX 0
1849  /* macros for field FRR_A_VALUE access */
1850  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_TYPE uint8_t
1851  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_SIZE 8
1852  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MASK 0xff
1853  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MSB 7
1854  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_LSB 0
1855  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_A_VALUE_FRR_A_VALUE_INDEX 0
1856  /* macros for entire REPLY FRR_B_VALUE access of type uint8_t */
1857  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_TYPE uint8_t
1858  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_SIZE 8
1859  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_MASK 0xff
1860  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_MSB 7
1861  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_LSB 0
1862  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_INDEX 1
1863  /* macros for field FRR_B_VALUE access */
1864  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_TYPE uint8_t
1865  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_SIZE 8
1866  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MASK 0xff
1867  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MSB 7
1868  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_LSB 0
1869  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_B_VALUE_FRR_B_VALUE_INDEX 1
1870  /* macros for entire REPLY FRR_C_VALUE access of type uint8_t */
1871  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_TYPE uint8_t
1872  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_SIZE 8
1873  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_MASK 0xff
1874  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_MSB 7
1875  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_LSB 0
1876  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_INDEX 2
1877  /* macros for field FRR_C_VALUE access */
1878  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_TYPE uint8_t
1879  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_SIZE 8
1880  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MASK 0xff
1881  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MSB 7
1882  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_LSB 0
1883  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_C_VALUE_FRR_C_VALUE_INDEX 2
1884  /* macros for entire REPLY FRR_D_VALUE access of type uint8_t */
1885  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_TYPE uint8_t
1886  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_SIZE 8
1887  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_MASK 0xff
1888  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_MSB 7
1889  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_LSB 0
1890  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_INDEX 3
1891  /* macros for field FRR_D_VALUE access */
1892  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_TYPE uint8_t
1893  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_SIZE 8
1894  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MASK 0xff
1895  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MSB 7
1896  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_LSB 0
1897  #define EZRADIO_CMD_FRR_A_READ_REP_FRR_D_VALUE_FRR_D_VALUE_INDEX 3
1898 #define EZRADIO_CMD_ID_FRR_B_READ 0x51
1899 /* FRR_B_READ ARGS */
1900 #define EZRADIO_CMD_ARG_COUNT_FRR_B_READ 1
1901 /* FRR_B_READ REPLY */
1902 #define EZRADIO_CMD_REPLY_COUNT_FRR_B_READ 4
1903  /* macros for entire REPLY FRR_B_VALUE access of type uint8_t */
1904  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_TYPE uint8_t
1905  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_SIZE 8
1906  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_MASK 0xff
1907  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_MSB 7
1908  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_LSB 0
1909  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_INDEX 0
1910  /* macros for field FRR_B_VALUE access */
1911  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_TYPE uint8_t
1912  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_SIZE 8
1913  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MASK 0xff
1914  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MSB 7
1915  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_LSB 0
1916  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_B_VALUE_FRR_B_VALUE_INDEX 0
1917  /* macros for entire REPLY FRR_C_VALUE access of type uint8_t */
1918  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_TYPE uint8_t
1919  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_SIZE 8
1920  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_MASK 0xff
1921  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_MSB 7
1922  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_LSB 0
1923  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_INDEX 1
1924  /* macros for field FRR_C_VALUE access */
1925  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_TYPE uint8_t
1926  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_SIZE 8
1927  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MASK 0xff
1928  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MSB 7
1929  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_LSB 0
1930  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_C_VALUE_FRR_C_VALUE_INDEX 1
1931  /* macros for entire REPLY FRR_D_VALUE access of type uint8_t */
1932  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_TYPE uint8_t
1933  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_SIZE 8
1934  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_MASK 0xff
1935  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_MSB 7
1936  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_LSB 0
1937  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_INDEX 2
1938  /* macros for field FRR_D_VALUE access */
1939  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_TYPE uint8_t
1940  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_SIZE 8
1941  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MASK 0xff
1942  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MSB 7
1943  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_LSB 0
1944  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_D_VALUE_FRR_D_VALUE_INDEX 2
1945  /* macros for entire REPLY FRR_A_VALUE access of type uint8_t */
1946  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_TYPE uint8_t
1947  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_SIZE 8
1948  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_MASK 0xff
1949  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_MSB 7
1950  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_LSB 0
1951  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_INDEX 3
1952  /* macros for field FRR_A_VALUE access */
1953  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_TYPE uint8_t
1954  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_SIZE 8
1955  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MASK 0xff
1956  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MSB 7
1957  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_LSB 0
1958  #define EZRADIO_CMD_FRR_B_READ_REP_FRR_A_VALUE_FRR_A_VALUE_INDEX 3
1959 #define EZRADIO_CMD_ID_FRR_C_READ 0x53
1960 /* FRR_C_READ ARGS */
1961 #define EZRADIO_CMD_ARG_COUNT_FRR_C_READ 1
1962 /* FRR_C_READ REPLY */
1963 #define EZRADIO_CMD_REPLY_COUNT_FRR_C_READ 4
1964  /* macros for entire REPLY FRR_C_VALUE access of type uint8_t */
1965  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_TYPE uint8_t
1966  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_SIZE 8
1967  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_MASK 0xff
1968  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_MSB 7
1969  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_LSB 0
1970  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_INDEX 0
1971  /* macros for field FRR_C_VALUE access */
1972  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_TYPE uint8_t
1973  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_SIZE 8
1974  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MASK 0xff
1975  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MSB 7
1976  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_LSB 0
1977  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_C_VALUE_FRR_C_VALUE_INDEX 0
1978  /* macros for entire REPLY FRR_D_VALUE access of type uint8_t */
1979  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_TYPE uint8_t
1980  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_SIZE 8
1981  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_MASK 0xff
1982  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_MSB 7
1983  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_LSB 0
1984  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_INDEX 1
1985  /* macros for field FRR_D_VALUE access */
1986  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_TYPE uint8_t
1987  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_SIZE 8
1988  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MASK 0xff
1989  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MSB 7
1990  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_LSB 0
1991  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_D_VALUE_FRR_D_VALUE_INDEX 1
1992  /* macros for entire REPLY FRR_A_VALUE access of type uint8_t */
1993  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_TYPE uint8_t
1994  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_SIZE 8
1995  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_MASK 0xff
1996  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_MSB 7
1997  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_LSB 0
1998  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_INDEX 2
1999  /* macros for field FRR_A_VALUE access */
2000  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_TYPE uint8_t
2001  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_SIZE 8
2002  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MASK 0xff
2003  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MSB 7
2004  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_LSB 0
2005  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_A_VALUE_FRR_A_VALUE_INDEX 2
2006  /* macros for entire REPLY FRR_B_VALUE access of type uint8_t */
2007  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_TYPE uint8_t
2008  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_SIZE 8
2009  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_MASK 0xff
2010  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_MSB 7
2011  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_LSB 0
2012  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_INDEX 3
2013  /* macros for field FRR_B_VALUE access */
2014  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_TYPE uint8_t
2015  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_SIZE 8
2016  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MASK 0xff
2017  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MSB 7
2018  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_LSB 0
2019  #define EZRADIO_CMD_FRR_C_READ_REP_FRR_B_VALUE_FRR_B_VALUE_INDEX 3
2020 #define EZRADIO_CMD_ID_FRR_D_READ 0x57
2021 /* FRR_D_READ ARGS */
2022 #define EZRADIO_CMD_ARG_COUNT_FRR_D_READ 1
2023 /* FRR_D_READ REPLY */
2024 #define EZRADIO_CMD_REPLY_COUNT_FRR_D_READ 4
2025  /* macros for entire REPLY FRR_D_VALUE access of type uint8_t */
2026  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_TYPE uint8_t
2027  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_SIZE 8
2028  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_MASK 0xff
2029  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_MSB 7
2030  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_LSB 0
2031  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_INDEX 0
2032  /* macros for field FRR_D_VALUE access */
2033  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_TYPE uint8_t
2034  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_SIZE 8
2035  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MASK 0xff
2036  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_MSB 7
2037  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_LSB 0
2038  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_D_VALUE_FRR_D_VALUE_INDEX 0
2039  /* macros for entire REPLY FRR_A_VALUE access of type uint8_t */
2040  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_TYPE uint8_t
2041  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_SIZE 8
2042  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_MASK 0xff
2043  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_MSB 7
2044  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_LSB 0
2045  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_INDEX 1
2046  /* macros for field FRR_A_VALUE access */
2047  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_TYPE uint8_t
2048  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_SIZE 8
2049  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MASK 0xff
2050  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_MSB 7
2051  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_LSB 0
2052  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_A_VALUE_FRR_A_VALUE_INDEX 1
2053  /* macros for entire REPLY FRR_B_VALUE access of type uint8_t */
2054  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_TYPE uint8_t
2055  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_SIZE 8
2056  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_MASK 0xff
2057  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_MSB 7
2058  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_LSB 0
2059  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_INDEX 2
2060  /* macros for field FRR_B_VALUE access */
2061  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_TYPE uint8_t
2062  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_SIZE 8
2063  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MASK 0xff
2064  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_MSB 7
2065  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_LSB 0
2066  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_B_VALUE_FRR_B_VALUE_INDEX 2
2067  /* macros for entire REPLY FRR_C_VALUE access of type uint8_t */
2068  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_TYPE uint8_t
2069  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_SIZE 8
2070  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_MASK 0xff
2071  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_MSB 7
2072  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_LSB 0
2073  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_INDEX 3
2074  /* macros for field FRR_C_VALUE access */
2075  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_TYPE uint8_t
2076  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_SIZE 8
2077  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MASK 0xff
2078  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_MSB 7
2079  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_LSB 0
2080  #define EZRADIO_CMD_FRR_D_READ_REP_FRR_C_VALUE_FRR_C_VALUE_INDEX 3
2081 /* ir_cal commands */
2082 
2083 #define EZRADIO_CMD_ID_START_TX 0x31
2084 /* START_TX ARGS */
2085 #define EZRADIO_CMD_ARG_COUNT_START_TX 7
2086  /* macros for entire ARG CHANNEL access of type uint8_t */
2087  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_TYPE uint8_t
2088  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_SIZE 8
2089  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_MASK 0xff
2090  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_MSB 7
2091  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_LSB 0
2092  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_INDEX 1
2093  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_value (((cmd.arg.START_TX.CHANNEL)))
2094  /* macros for field CHANNEL access */
2095  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_TYPE uint8_t
2096  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_SIZE 8
2097  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_MASK 0xff
2098  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_MSB 7
2099  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_LSB 0
2100  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_INDEX 1
2101  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_MIN 0x0
2102  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_MAX 0xff
2103  #define EZRADIO_CMD_START_TX_ARG_CHANNEL_CHANNEL_value (((cmd.arg.START_TX.CHANNEL & 0xff)))
2104  /* macros for entire ARG CONDITION access of type uint8_t */
2105  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TYPE uint8_t
2106  #define EZRADIO_CMD_START_TX_ARG_CONDITION_SIZE 8
2107  #define EZRADIO_CMD_START_TX_ARG_CONDITION_MASK 0xff
2108  #define EZRADIO_CMD_START_TX_ARG_CONDITION_MSB 7
2109  #define EZRADIO_CMD_START_TX_ARG_CONDITION_LSB 0
2110  #define EZRADIO_CMD_START_TX_ARG_CONDITION_INDEX 2
2111  #define EZRADIO_CMD_START_TX_ARG_CONDITION_value (((cmd.arg.START_TX.CONDITION)))
2112  /* macros for field TXCOMPLETE_STATE access */
2113  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_TYPE enum
2114  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_SIZE 4
2115  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_MASK 0xf0
2116  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_MSB 7
2117  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_LSB 4
2118  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_INDEX 2
2119  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_value (((cmd.arg.START_TX.CONDITION & 0xf0)) >> 4)
2120  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_NOCHANGE 0
2121  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_SLEEP 1
2122  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_SPI_ACTIVE 2
2123  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_READY 3
2124  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_READY2 4
2125  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_TX_TUNE 5
2126  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_RX_TUNE 6
2127  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_RESERVED 7
2128  #define EZRADIO_CMD_START_TX_ARG_CONDITION_TXCOMPLETE_STATE_ENUM_RX 8
2129  /* macros for field UPDATE access */
2130  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_TYPE enum
2131  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_SIZE 1
2132  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_MASK 0x8
2133  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_BIT 0x8
2134  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_MSB 3
2135  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_LSB 3
2136  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_INDEX 2
2137  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_is_true (cmd.arg.START_TX.CONDITION & 0x8)
2138  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_value (((cmd.arg.START_TX.CONDITION & 0x8)) >> 3)
2139  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_ENUM_UPDATE 1
2140  #define EZRADIO_CMD_START_TX_ARG_CONDITION_UPDATE_ENUM_USE 0
2141  /* macros for field RETRANSMIT access */
2142  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_TYPE enum
2143  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_SIZE 1
2144  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_MASK 0x4
2145  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_BIT 0x4
2146  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_MSB 2
2147  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_LSB 2
2148  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_INDEX 2
2149  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_is_true (cmd.arg.START_TX.CONDITION & 0x4)
2150  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_value (((cmd.arg.START_TX.CONDITION & 0x4)) >> 2)
2151  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_ENUM_ENUM_0 0
2152  #define EZRADIO_CMD_START_TX_ARG_CONDITION_RETRANSMIT_ENUM_ENUM_1 1
2153  /* macros for field START access */
2154  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_TYPE enum
2155  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_SIZE 2
2156  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_MASK 0x3
2157  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_MSB 1
2158  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_LSB 0
2159  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_INDEX 2
2160  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_value (((cmd.arg.START_TX.CONDITION & 0x3)))
2161  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_ENUM_IMMEDIATE 0
2162  #define EZRADIO_CMD_START_TX_ARG_CONDITION_START_ENUM_WUT 1
2163  /* macros for entire ARG TX_LEN access of type uint16_t */
2164  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TYPE uint16_t
2165  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_SIZE 16
2166  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_MASK 0xffff
2167  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_MSB 15
2168  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_LSB 0
2169  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_INDEX 3
2170  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_value (((cmd.arg.START_TX.TX_LEN)))
2171  /* macros for field TX_LEN access */
2172  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_TYPE uint16_t
2173  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_SIZE 13
2174  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_MASK 0x1fff
2175  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_MSB 12
2176  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_LSB 0
2177  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_INDEX 3
2178  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_MIN 0x0
2179  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_MAX 0x1fff
2180  #define EZRADIO_CMD_START_TX_ARG_TX_LEN_TX_LEN_value (((cmd.arg.START_TX.TX_LEN & 0x1fff)))
2181  /* macros for entire ARG TX_DELAY access of type uint8_t */
2182  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TYPE uint8_t
2183  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_SIZE 8
2184  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_MASK 0xff
2185  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_MSB 7
2186  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_LSB 0
2187  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_INDEX 5
2188  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_value (((cmd.arg.START_TX.TX_DELAY)))
2189  /* macros for field TX_DELAY access */
2190  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_TYPE uint8_t
2191  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_SIZE 8
2192  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_MASK 0xff
2193  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_MSB 7
2194  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_LSB 0
2195  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_INDEX 5
2196  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_MIN 0x0
2197  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_MAX 0x80
2198  #define EZRADIO_CMD_START_TX_ARG_TX_DELAY_TX_DELAY_value (((cmd.arg.START_TX.TX_DELAY & 0xff)))
2199  /* macros for entire ARG NUM_REPEAT access of type uint8_t */
2200  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_TYPE uint8_t
2201  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_SIZE 8
2202  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_MASK 0xff
2203  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_MSB 7
2204  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_LSB 0
2205  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_INDEX 6
2206  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_value (((cmd.arg.START_TX.NUM_REPEAT)))
2207  /* macros for field NUM_REPEAT access */
2208  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_TYPE uint8_t
2209  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_SIZE 8
2210  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_MASK 0xff
2211  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_MSB 7
2212  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_LSB 0
2213  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_INDEX 6
2214  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_MIN 0x0
2215  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_MAX 0xff
2216  #define EZRADIO_CMD_START_TX_ARG_NUM_REPEAT_NUM_REPEAT_value (((cmd.arg.START_TX.NUM_REPEAT & 0xff)))
2217 /* START_TX REPLY */
2218 #define EZRADIO_CMD_REPLY_COUNT_START_TX 0
2219 #define EZRADIO_CMD_ID_WRITE_TX_FIFO 0x66
2220 /* WRITE_TX_FIFO ARGS */
2221 #define EZRADIO_CMD_ARG_COUNT_WRITE_TX_FIFO 3
2222  /* macros for entire ARG DATA access of type uint8_t */
2223  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_TYPE uint8_t
2224  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_SIZE 8
2225  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_MASK 0xff
2226  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_MSB 7
2227  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_LSB 0
2228  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_INDEX 1
2229  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_ARRAY_LEN 2
2230  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_value(i) (((cmd.arg.WRITE_TX_FIFO.DATA[(i)])))
2231  /* macros for field DATA access */
2232  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_TYPE uint8_t
2233  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_SIZE 8
2234  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_MASK 0xff
2235  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_MSB 7
2236  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_LSB 0
2237  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_INDEX 1
2238  #define EZRADIO_CMD_WRITE_TX_FIFO_ARG_DATA_DATA_value(i) (((cmd.arg.WRITE_TX_FIFO.DATA[(i)] & 0xff)))
2239 /* rx commands */
2240 
2241 #define EZRADIO_CMD_ID_PACKET_INFO 0x16
2242 /* PACKET_INFO ARGS */
2243 #define EZRADIO_CMD_ARG_COUNT_PACKET_INFO 6
2244  /* macros for entire ARG FIELD_NUMBER access of type uint8_t */
2245  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_TYPE uint8_t
2246  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_SIZE 8
2247  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_MASK 0xff
2248  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_MSB 7
2249  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_LSB 0
2250  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_INDEX 1
2251  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_value (((cmd.arg.PACKET_INFO.FIELD_NUMBER)))
2252  /* macros for field FIELD_NUM access */
2253  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_TYPE enum
2254  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_SIZE 5
2255  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_MASK 0x1f
2256  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_MSB 4
2257  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_LSB 0
2258  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_INDEX 1
2259  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_value (((cmd.arg.PACKET_INFO.FIELD_NUMBER & 0x1f)))
2260  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_0 0
2261  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_1 1
2262  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_2 2
2263  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_3 4
2264  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_4 8
2265  #define EZRADIO_CMD_PACKET_INFO_ARG_FIELD_NUMBER_FIELD_NUM_ENUM_ENUM_5 16
2266  /* macros for entire ARG LEN access of type uint16_t */
2267  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_TYPE uint16_t
2268  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_SIZE 16
2269  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_MASK 0xffff
2270  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_MSB 15
2271  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LSB 0
2272  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_INDEX 2
2273  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_value (((cmd.arg.PACKET_INFO.LEN)))
2274  /* macros for field LEN access */
2275  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_TYPE uint16_t
2276  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_SIZE 16
2277  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_MASK 0xffff
2278  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_MSB 15
2279  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_LSB 0
2280  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_INDEX 2
2281  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_MIN 0x1
2282  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_MAX 0x1fff
2283  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_LEN_value (((cmd.arg.PACKET_INFO.LEN & 0xffff)))
2284  /* macros for entire ARG LEN_DIFF access of type S16 */
2285  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_TYPE S16
2286  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_SIZE 16
2287  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_MASK 0xffff
2288  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_MSB 15
2289  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LSB 0
2290  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_INDEX 4
2291  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_value (((cmd.arg.PACKET_INFO.LEN_DIFF)))
2292  /* macros for field LEN_DIFF access */
2293  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_TYPE S16
2294  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_SIZE 16
2295  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_MASK 0xffff
2296  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_MSB 15
2297  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_LSB 0
2298  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_INDEX 4
2299  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_MIN -0x8000
2300  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_MAX 0x7fff
2301  #define EZRADIO_CMD_PACKET_INFO_ARG_LEN_DIFF_LEN_DIFF_value (((cmd.arg.PACKET_INFO.LEN_DIFF & 0xffff)))
2302 /* PACKET_INFO REPLY */
2303 #define EZRADIO_CMD_REPLY_COUNT_PACKET_INFO 2
2304  /* macros for entire REPLY LENGTH access of type uint16_t */
2305  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_TYPE uint16_t
2306  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_SIZE 16
2307  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_MASK 0xffff
2308  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_MSB 15
2309  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LSB 0
2310  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_INDEX 1
2311  /* macros for field LENGTH access */
2312  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_TYPE uint16_t
2313  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_SIZE 16
2314  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_MASK 0xffff
2315  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_MSB 15
2316  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_LSB 0
2317  #define EZRADIO_CMD_PACKET_INFO_REP_LENGTH_LENGTH_INDEX 1
2318 #define EZRADIO_CMD_ID_GET_MODEM_STATUS 0x22
2319 /* GET_MODEM_STATUS ARGS */
2320 #define EZRADIO_CMD_ARG_COUNT_GET_MODEM_STATUS 2
2321  /* macros for entire ARG MODEM_CLR_PEND access of type uint8_t */
2322  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_TYPE uint8_t
2323  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SIZE 8
2324  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_MASK 0xff
2325  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_MSB 7
2326  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_LSB 0
2327  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INDEX 1
2328  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND)))
2329  /* macros for field RSSI_LATCH_PEND_CLR access */
2330  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_TYPE bool
2331  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_SIZE 1
2332  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_MASK 0x80
2333  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_BIT 0x80
2334  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_MSB 7
2335  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_LSB 7
2336  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_INDEX 1
2337  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x80)
2338  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_LATCH_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x80)) >> 7)
2339  /* macros for field POSTAMBLE_DETECT_PEND_CLR access */
2340  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_TYPE bool
2341  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_SIZE 1
2342  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_MASK 0x40
2343  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_BIT 0x40
2344  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_MSB 6
2345  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_LSB 6
2346  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_INDEX 1
2347  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x40)
2348  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_POSTAMBLE_DETECT_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x40)) >> 6)
2349  /* macros for field INVALID_SYNC_PEND_CLR access */
2350  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_TYPE bool
2351  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_SIZE 1
2352  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_MASK 0x20
2353  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_BIT 0x20
2354  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_MSB 5
2355  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_LSB 5
2356  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_INDEX 1
2357  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x20)
2358  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_SYNC_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x20)) >> 5)
2359  /* macros for field RSSI_JUMP_PEND_CLR access */
2360  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_TYPE bool
2361  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_SIZE 1
2362  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_MASK 0x10
2363  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_BIT 0x10
2364  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_MSB 4
2365  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_LSB 4
2366  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_INDEX 1
2367  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x10)
2368  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_JUMP_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x10)) >> 4)
2369  /* macros for field RSSI_PEND_CLR access */
2370  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_TYPE bool
2371  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_SIZE 1
2372  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_MASK 0x8
2373  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_BIT 0x8
2374  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_MSB 3
2375  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_LSB 3
2376  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_INDEX 1
2377  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x8)
2378  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_RSSI_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x8)) >> 3)
2379  /* macros for field INVALID_PREAMBLE_PEND_CLR access */
2380  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_TYPE bool
2381  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_SIZE 1
2382  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_MASK 0x4
2383  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_BIT 0x4
2384  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_MSB 2
2385  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_LSB 2
2386  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_INDEX 1
2387  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x4)
2388  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_INVALID_PREAMBLE_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x4)) >> 2)
2389  /* macros for field PREAMBLE_DETECT_PEND_CLR access */
2390  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_TYPE bool
2391  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_SIZE 1
2392  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_MASK 0x2
2393  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_BIT 0x2
2394  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_MSB 1
2395  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_LSB 1
2396  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_INDEX 1
2397  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x2)
2398  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_PREAMBLE_DETECT_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x2)) >> 1)
2399  /* macros for field SYNC_DETECT_PEND_CLR access */
2400  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_TYPE bool
2401  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_SIZE 1
2402  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_MASK 0x1
2403  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_BIT 0x1
2404  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_MSB 0
2405  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_LSB 0
2406  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_INDEX 1
2407  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_is_true (cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x1)
2408  #define EZRADIO_CMD_GET_MODEM_STATUS_ARG_MODEM_CLR_PEND_SYNC_DETECT_PEND_CLR_value (((cmd.arg.GET_MODEM_STATUS.MODEM_CLR_PEND & 0x1)))
2409 /* GET_MODEM_STATUS REPLY */
2410 #define EZRADIO_CMD_REPLY_COUNT_GET_MODEM_STATUS 8
2411  /* macros for entire REPLY MODEM_PEND access of type uint8_t */
2412  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_TYPE uint8_t
2413  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SIZE 8
2414  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_MASK 0xff
2415  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_MSB 7
2416  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_LSB 0
2417  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INDEX 1
2418  /* macros for field RSSI_LATCH_PEND access */
2419  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_TYPE bool
2420  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_SIZE 1
2421  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_MASK 0x80
2422  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_BIT 0x80
2423  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_MSB 7
2424  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_LSB 7
2425  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_LATCH_PEND_INDEX 1
2426  /* macros for field POSTAMBLE_DETECT_PEND access */
2427  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_TYPE bool
2428  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_SIZE 1
2429  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_MASK 0x40
2430  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_BIT 0x40
2431  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_MSB 6
2432  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_LSB 6
2433  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_POSTAMBLE_DETECT_PEND_INDEX 1
2434  /* macros for field INVALID_SYNC_PEND access */
2435  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_TYPE bool
2436  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_SIZE 1
2437  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_MASK 0x20
2438  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_BIT 0x20
2439  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_MSB 5
2440  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_LSB 5
2441  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_SYNC_PEND_INDEX 1
2442  /* macros for field RSSI_JUMP_PEND access */
2443  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_TYPE bool
2444  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_SIZE 1
2445  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_MASK 0x10
2446  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_BIT 0x10
2447  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_MSB 4
2448  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_LSB 4
2449  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_JUMP_PEND_INDEX 1
2450  /* macros for field RSSI_PEND access */
2451  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_TYPE bool
2452  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_SIZE 1
2453  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_MASK 0x8
2454  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_BIT 0x8
2455  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_MSB 3
2456  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_LSB 3
2457  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_RSSI_PEND_INDEX 1
2458  /* macros for field INVALID_PREAMBLE_PEND access */
2459  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_TYPE bool
2460  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_SIZE 1
2461  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_MASK 0x4
2462  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_BIT 0x4
2463  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_MSB 2
2464  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_LSB 2
2465  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_INVALID_PREAMBLE_PEND_INDEX 1
2466  /* macros for field PREAMBLE_DETECT_PEND access */
2467  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_TYPE bool
2468  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_SIZE 1
2469  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_MASK 0x2
2470  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_BIT 0x2
2471  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_MSB 1
2472  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_LSB 1
2473  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_PREAMBLE_DETECT_PEND_INDEX 1
2474  /* macros for field SYNC_DETECT_PEND access */
2475  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_TYPE bool
2476  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_SIZE 1
2477  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_MASK 0x1
2478  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_BIT 0x1
2479  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_MSB 0
2480  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_LSB 0
2481  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_PEND_SYNC_DETECT_PEND_INDEX 1
2482  /* macros for entire REPLY MODEM_STATUS access of type uint8_t */
2483  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_TYPE uint8_t
2484  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SIZE 8
2485  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_MASK 0xff
2486  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_MSB 7
2487  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_LSB 0
2488  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INDEX 2
2489  /* macros for field RSSI_LATCH access */
2490  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_TYPE bool
2491  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_SIZE 1
2492  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_MASK 0x80
2493  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_BIT 0x80
2494  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_MSB 7
2495  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_LSB 7
2496  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LATCH_INDEX 2
2497  /* macros for field POSTAMBLE_DETECT access */
2498  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_TYPE bool
2499  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_SIZE 1
2500  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_MASK 0x40
2501  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_BIT 0x40
2502  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_MSB 6
2503  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_LSB 6
2504  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_POSTAMBLE_DETECT_INDEX 2
2505  /* macros for field INVALID_SYNC access */
2506  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_TYPE bool
2507  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_SIZE 1
2508  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_MASK 0x20
2509  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_BIT 0x20
2510  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_MSB 5
2511  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_LSB 5
2512  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_SYNC_INDEX 2
2513  /* macros for field RSSI_JUMP access */
2514  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_TYPE bool
2515  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_SIZE 1
2516  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_MASK 0x10
2517  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_BIT 0x10
2518  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_MSB 4
2519  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_LSB 4
2520  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_JUMP_INDEX 2
2521  /* macros for field RSSI access */
2522  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_TYPE bool
2523  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_SIZE 1
2524  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_MASK 0x8
2525  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_BIT 0x8
2526  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_MSB 3
2527  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_LSB 3
2528  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_RSSI_INDEX 2
2529  /* macros for field INVALID_PREAMBLE access */
2530  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_TYPE bool
2531  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_SIZE 1
2532  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_MASK 0x4
2533  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_BIT 0x4
2534  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_MSB 2
2535  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_LSB 2
2536  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_INVALID_PREAMBLE_INDEX 2
2537  /* macros for field PREAMBLE_DETECT access */
2538  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_TYPE bool
2539  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_SIZE 1
2540  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_MASK 0x2
2541  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_BIT 0x2
2542  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_MSB 1
2543  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_LSB 1
2544  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_PREAMBLE_DETECT_INDEX 2
2545  /* macros for field SYNC_DETECT access */
2546  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_TYPE bool
2547  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_SIZE 1
2548  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_MASK 0x1
2549  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_BIT 0x1
2550  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_MSB 0
2551  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_LSB 0
2552  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_MODEM_STATUS_SYNC_DETECT_INDEX 2
2553  /* macros for entire REPLY CURR_RSSI access of type uint8_t */
2554  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_TYPE uint8_t
2555  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_SIZE 8
2556  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_MASK 0xff
2557  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_MSB 7
2558  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_LSB 0
2559  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_INDEX 3
2560  /* macros for field CURR_RSSI access */
2561  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_TYPE uint8_t
2562  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_SIZE 8
2563  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_MASK 0xff
2564  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_MSB 7
2565  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_LSB 0
2566  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_CURR_RSSI_CURR_RSSI_INDEX 3
2567  /* macros for entire REPLY LATCH_RSSI access of type uint8_t */
2568  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_TYPE uint8_t
2569  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_SIZE 8
2570  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_MASK 0xff
2571  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_MSB 7
2572  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LSB 0
2573  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_INDEX 4
2574  /* macros for field LATCH_RSSI access */
2575  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_TYPE uint8_t
2576  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_SIZE 8
2577  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_MASK 0xff
2578  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_MSB 7
2579  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_LSB 0
2580  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_LATCH_RSSI_LATCH_RSSI_INDEX 4
2581  /* macros for entire REPLY ANT1_RSSI access of type uint8_t */
2582  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_TYPE uint8_t
2583  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_SIZE 8
2584  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_MASK 0xff
2585  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_MSB 7
2586  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_LSB 0
2587  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_INDEX 5
2588  /* macros for field ANT1_RSSI access */
2589  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_TYPE uint8_t
2590  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_SIZE 8
2591  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_MASK 0xff
2592  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_MSB 7
2593  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_LSB 0
2594  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT1_RSSI_ANT1_RSSI_INDEX 5
2595  /* macros for entire REPLY ANT2_RSSI access of type uint8_t */
2596  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_TYPE uint8_t
2597  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_SIZE 8
2598  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_MASK 0xff
2599  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_MSB 7
2600  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_LSB 0
2601  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_INDEX 6
2602  /* macros for field ANT2_RSSI access */
2603  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_TYPE uint8_t
2604  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_SIZE 8
2605  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_MASK 0xff
2606  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_MSB 7
2607  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_LSB 0
2608  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_ANT2_RSSI_ANT2_RSSI_INDEX 6
2609  /* macros for entire REPLY AFC_FREQ_OFFSET access of type uint16_t */
2610  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_TYPE uint16_t
2611  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_SIZE 16
2612  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_MASK 0xffff
2613  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_MSB 15
2614  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_LSB 0
2615  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_INDEX 7
2616  /* macros for field AFC_FREQ_OFFSET access */
2617  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_TYPE uint16_t
2618  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_SIZE 16
2619  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_MASK 0xffff
2620  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_MSB 15
2621  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_LSB 0
2622  #define EZRADIO_CMD_GET_MODEM_STATUS_REP_AFC_FREQ_OFFSET_AFC_FREQ_OFFSET_INDEX 7
2623 #define EZRADIO_CMD_ID_START_RX 0x32
2624 /* START_RX ARGS */
2625 #define EZRADIO_CMD_ARG_COUNT_START_RX 8
2626  /* macros for entire ARG CHANNEL access of type uint8_t */
2627  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_TYPE uint8_t
2628  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_SIZE 8
2629  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_MASK 0xff
2630  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_MSB 7
2631  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_LSB 0
2632  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_INDEX 1
2633  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_value (((cmd.arg.START_RX.CHANNEL)))
2634  /* macros for field CHANNEL access */
2635  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_TYPE uint8_t
2636  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_SIZE 8
2637  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_MASK 0xff
2638  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_MSB 7
2639  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_LSB 0
2640  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_INDEX 1
2641  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_MIN 0x0
2642  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_MAX 0xff
2643  #define EZRADIO_CMD_START_RX_ARG_CHANNEL_CHANNEL_value (((cmd.arg.START_RX.CHANNEL & 0xff)))
2644  /* macros for entire ARG CONDITION access of type uint8_t */
2645  #define EZRADIO_CMD_START_RX_ARG_CONDITION_TYPE uint8_t
2646  #define EZRADIO_CMD_START_RX_ARG_CONDITION_SIZE 8
2647  #define EZRADIO_CMD_START_RX_ARG_CONDITION_MASK 0xff
2648  #define EZRADIO_CMD_START_RX_ARG_CONDITION_MSB 7
2649  #define EZRADIO_CMD_START_RX_ARG_CONDITION_LSB 0
2650  #define EZRADIO_CMD_START_RX_ARG_CONDITION_INDEX 2
2651  #define EZRADIO_CMD_START_RX_ARG_CONDITION_value (((cmd.arg.START_RX.CONDITION)))
2652  /* macros for field UPDATE access */
2653  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_TYPE enum
2654  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_SIZE 1
2655  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_MASK 0x8
2656  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_BIT 0x8
2657  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_MSB 3
2658  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_LSB 3
2659  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_INDEX 2
2660  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_is_true (cmd.arg.START_RX.CONDITION & 0x8)
2661  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_value (((cmd.arg.START_RX.CONDITION & 0x8)) >> 3)
2662  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_ENUM_UPDATE 1
2663  #define EZRADIO_CMD_START_RX_ARG_CONDITION_UPDATE_ENUM_USE 0
2664  /* macros for field START access */
2665  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_TYPE enum
2666  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_SIZE 2
2667  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_MASK 0x3
2668  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_MSB 1
2669  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_LSB 0
2670  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_INDEX 2
2671  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_value (((cmd.arg.START_RX.CONDITION & 0x3)))
2672  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_ENUM_IMMEDIATE 0
2673  #define EZRADIO_CMD_START_RX_ARG_CONDITION_START_ENUM_WUT 1
2674  /* macros for entire ARG RX_LEN access of type uint16_t */
2675  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_TYPE uint16_t
2676  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_SIZE 16
2677  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_MASK 0xffff
2678  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_MSB 15
2679  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_LSB 0
2680  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_INDEX 3
2681  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_value (((cmd.arg.START_RX.RX_LEN)))
2682  /* macros for field RX_LEN access */
2683  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_TYPE uint16_t
2684  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_SIZE 13
2685  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_MASK 0x1fff
2686  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_MSB 12
2687  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_LSB 0
2688  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_INDEX 3
2689  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_MIN 0x0
2690  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_MAX 0x1fff
2691  #define EZRADIO_CMD_START_RX_ARG_RX_LEN_RX_LEN_value (((cmd.arg.START_RX.RX_LEN & 0x1fff)))
2692  /* macros for entire ARG NEXT_STATE1 access of type uint8_t */
2693  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_TYPE uint8_t
2694  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_SIZE 8
2695  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_MASK 0xff
2696  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_MSB 7
2697  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_LSB 0
2698  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_INDEX 5
2699  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_value (((cmd.arg.START_RX.NEXT_STATE1)))
2700  /* macros for field RXTIMEOUT_STATE access */
2701  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_TYPE enum
2702  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_SIZE 4
2703  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_MASK 0xf
2704  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_MSB 3
2705  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_LSB 0
2706  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_INDEX 5
2707  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_value (((cmd.arg.START_RX.NEXT_STATE1 & 0xf)))
2708  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_NOCHANGE 0
2709  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_SLEEP 1
2710  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_SPI_ACTIVE 2
2711  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_READY 3
2712  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_READY2 4
2713  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_TX_TUNE 5
2714  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_RX_TUNE 6
2715  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_TX 7
2716  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_RX 8
2717  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_RX_IDLE 9
2718  /* macros for entire ARG NEXT_STATE2 access of type uint8_t */
2719  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_TYPE uint8_t
2720  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_SIZE 8
2721  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_MASK 0xff
2722  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_MSB 7
2723  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_LSB 0
2724  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_INDEX 6
2725  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_value (((cmd.arg.START_RX.NEXT_STATE2)))
2726  /* macros for field RXVALID_STATE access */
2727  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_TYPE enum
2728  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_SIZE 4
2729  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_MASK 0xf
2730  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_MSB 3
2731  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_LSB 0
2732  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_INDEX 6
2733  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_value (((cmd.arg.START_RX.NEXT_STATE2 & 0xf)))
2734  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_REMAIN 0
2735  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_SLEEP 1
2736  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_SPI_ACTIVE 2
2737  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_READY 3
2738  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_READY2 4
2739  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_TX_TUNE 5
2740  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_RX_TUNE 6
2741  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_TX 7
2742  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_RX 8
2743  /* macros for entire ARG NEXT_STATE3 access of type uint8_t */
2744  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_TYPE uint8_t
2745  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_SIZE 8
2746  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_MASK 0xff
2747  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_MSB 7
2748  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_LSB 0
2749  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_INDEX 7
2750  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_value (((cmd.arg.START_RX.NEXT_STATE3)))
2751  /* macros for field RXINVALID_STATE access */
2752  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_TYPE enum
2753  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_SIZE 4
2754  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_MASK 0xf
2755  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_MSB 3
2756  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_LSB 0
2757  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_INDEX 7
2758  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_value (((cmd.arg.START_RX.NEXT_STATE3 & 0xf)))
2759  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_REMAIN 0
2760  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_SLEEP 1
2761  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_SPI_ACTIVE 2
2762  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_READY 3
2763  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_READY2 4
2764  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_TX_TUNE 5
2765  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_RX_TUNE 6
2766  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_TX 7
2767  #define EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_RX 8
2768 /* START_RX REPLY */
2769 #define EZRADIO_CMD_REPLY_COUNT_START_RX 0
2770 #define EZRADIO_CMD_ID_READ_RX_FIFO 0x77
2771 /* READ_RX_FIFO ARGS */
2772 #define EZRADIO_CMD_ARG_COUNT_READ_RX_FIFO 1
2773 /* READ_RX_FIFO REPLY */
2774 #define EZRADIO_CMD_REPLY_COUNT_READ_RX_FIFO 2
2775  /* macros for entire REPLY DATA access of type uint8_t */
2776  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_TYPE uint8_t
2777  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_SIZE 8
2778  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_MASK 0xff
2779  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_MSB 7
2780  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_LSB 0
2781  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_INDEX 0
2782  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_ARRAY_LEN 2
2783  /* macros for field DATA access */
2784  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_TYPE uint8_t
2785  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_SIZE 8
2786  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_MASK 0xff
2787  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_MSB 7
2788  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_LSB 0
2789  #define EZRADIO_CMD_READ_RX_FIFO_REP_DATA_DATA_INDEX 0
2790 /* advanced commands */
2791 
2792 #define EZRADIO_CMD_ID_GET_ADC_READING 0x14
2793 /* GET_ADC_READING ARGS */
2794 #define EZRADIO_CMD_ARG_COUNT_GET_ADC_READING 3
2795  /* macros for entire ARG ADC_EN access of type uint8_t */
2796  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TYPE uint8_t
2797  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_SIZE 8
2798  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_MASK 0xff
2799  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_MSB 7
2800  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_LSB 0
2801  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_INDEX 1
2802  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_value (((cmd.arg.GET_ADC_READING.ADC_EN)))
2803  /* macros for field TEMPERATURE_EN access */
2804  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_TYPE enum
2805  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_SIZE 1
2806  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_MASK 0x10
2807  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_BIT 0x10
2808  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_MSB 4
2809  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_LSB 4
2810  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_INDEX 1
2811  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_is_true (cmd.arg.GET_ADC_READING.ADC_EN & 0x10)
2812  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_value (((cmd.arg.GET_ADC_READING.ADC_EN & 0x10)) >> 4)
2813  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_ENUM_ENUM_0 0
2814  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_TEMPERATURE_EN_ENUM_ENUM_1 1
2815  /* macros for field BATTERY_VOLTAGE_EN access */
2816  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_TYPE enum
2817  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_SIZE 1
2818  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_MASK 0x8
2819  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_BIT 0x8
2820  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_MSB 3
2821  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_LSB 3
2822  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_INDEX 1
2823  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_is_true (cmd.arg.GET_ADC_READING.ADC_EN & 0x8)
2824  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_value (((cmd.arg.GET_ADC_READING.ADC_EN & 0x8)) >> 3)
2825  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_ENUM_ENUM_0 0
2826  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_BATTERY_VOLTAGE_EN_ENUM_ENUM_1 1
2827  /* macros for field ADC_GPIO_EN access */
2828  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_TYPE enum
2829  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_SIZE 1
2830  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_MASK 0x4
2831  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_BIT 0x4
2832  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_MSB 2
2833  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_LSB 2
2834  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_INDEX 1
2835  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_is_true (cmd.arg.GET_ADC_READING.ADC_EN & 0x4)
2836  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_value (((cmd.arg.GET_ADC_READING.ADC_EN & 0x4)) >> 2)
2837  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_ENUM_ENUM_0 0
2838  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_EN_ENUM_ENUM_1 1
2839  /* macros for field ADC_GPIO_PIN access */
2840  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_TYPE enum
2841  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_SIZE 2
2842  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_MASK 0x3
2843  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_MSB 1
2844  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_LSB 0
2845  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_INDEX 1
2846  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_value (((cmd.arg.GET_ADC_READING.ADC_EN & 0x3)))
2847  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_ENUM_ENUM_0 0
2848  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_ENUM_ENUM_1 1
2849  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_ENUM_ENUM_2 2
2850  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_EN_ADC_GPIO_PIN_ENUM_ENUM_3 3
2851  /* macros for entire ARG ADC_CFG access of type uint8_t */
2852  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_TYPE uint8_t
2853  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_SIZE 8
2854  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_MASK 0xff
2855  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_MSB 7
2856  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_LSB 0
2857  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_INDEX 2
2858  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_value (((cmd.arg.GET_ADC_READING.ADC_CFG)))
2859  /* macros for field UDTIME access */
2860  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_TYPE uint8_t
2861  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_SIZE 4
2862  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_MASK 0xf0
2863  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_MSB 7
2864  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_LSB 4
2865  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_INDEX 2
2866  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_UDTIME_value (((cmd.arg.GET_ADC_READING.ADC_CFG & 0xf0)) >> 4)
2867  /* macros for field GPIO_ATT access */
2868  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_TYPE enum
2869  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_SIZE 4
2870  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_MASK 0xf
2871  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_MSB 3
2872  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_LSB 0
2873  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_INDEX 2
2874  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_value (((cmd.arg.GET_ADC_READING.ADC_CFG & 0xf)))
2875  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_ENUM_0P8 0
2876  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_ENUM_1P6 4
2877  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_ENUM_3P2 5
2878  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_ENUM_2P4 8
2879  #define EZRADIO_CMD_GET_ADC_READING_ARG_ADC_CFG_GPIO_ATT_ENUM_3P6 9
2880 /* GET_ADC_READING REPLY */
2881 #define EZRADIO_CMD_REPLY_COUNT_GET_ADC_READING 4
2882  /* macros for entire REPLY GPIO_ADC access of type uint16_t */
2883  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_TYPE uint16_t
2884  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_SIZE 16
2885  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_MASK 0xffff
2886  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_MSB 15
2887  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_LSB 0
2888  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_INDEX 1
2889  /* macros for field GPIO_ADC access */
2890  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_TYPE uint16_t
2891  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_SIZE 11
2892  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_MASK 0x7ff
2893  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_MSB 10
2894  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_LSB 0
2895  #define EZRADIO_CMD_GET_ADC_READING_REP_GPIO_ADC_GPIO_ADC_INDEX 1
2896  /* macros for entire REPLY BATTERY_ADC access of type uint16_t */
2897  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_TYPE uint16_t
2898  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_SIZE 16
2899  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_MASK 0xffff
2900  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_MSB 15
2901  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_LSB 0
2902  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_INDEX 3
2903  /* macros for field BATTERY_ADC access */
2904  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_TYPE uint16_t
2905  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_SIZE 11
2906  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_MASK 0x7ff
2907  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_MSB 10
2908  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_LSB 0
2909  #define EZRADIO_CMD_GET_ADC_READING_REP_BATTERY_ADC_BATTERY_ADC_INDEX 3
2910 #define EZRADIO_CMD_ID_GET_PH_STATUS 0x21
2911 /* GET_PH_STATUS ARGS */
2912 #define EZRADIO_CMD_ARG_COUNT_GET_PH_STATUS 2
2913  /* macros for entire ARG PH_CLR_PEND access of type uint8_t */
2914  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TYPE uint8_t
2915  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_SIZE 8
2916  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_MASK 0xff
2917  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_MSB 7
2918  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_LSB 0
2919  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_INDEX 1
2920  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND)))
2921  /* macros for field FILTER_MATCH_PEND_CLR access */
2922  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_TYPE bool
2923  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_SIZE 1
2924  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_MASK 0x80
2925  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_BIT 0x80
2926  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_MSB 7
2927  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_LSB 7
2928  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_INDEX 1
2929  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x80)
2930  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MATCH_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x80)) >> 7)
2931  /* macros for field FILTER_MISS_PEND_CLR access */
2932  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_TYPE bool
2933  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_SIZE 1
2934  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_MASK 0x40
2935  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_BIT 0x40
2936  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_MSB 6
2937  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_LSB 6
2938  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_INDEX 1
2939  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x40)
2940  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_FILTER_MISS_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x40)) >> 6)
2941  /* macros for field PACKET_SENT_PEND_CLR access */
2942  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_TYPE bool
2943  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_SIZE 1
2944  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_MASK 0x20
2945  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_BIT 0x20
2946  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_MSB 5
2947  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_LSB 5
2948  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_INDEX 1
2949  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x20)
2950  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_SENT_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x20)) >> 5)
2951  /* macros for field PACKET_RX_PEND_CLR access */
2952  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_TYPE bool
2953  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_SIZE 1
2954  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_MASK 0x10
2955  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_BIT 0x10
2956  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_MSB 4
2957  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_LSB 4
2958  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_INDEX 1
2959  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x10)
2960  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_PACKET_RX_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x10)) >> 4)
2961  /* macros for field CRC_ERROR_PEND_CLR access */
2962  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_TYPE bool
2963  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_SIZE 1
2964  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_MASK 0x8
2965  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_BIT 0x8
2966  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_MSB 3
2967  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_LSB 3
2968  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_INDEX 1
2969  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x8)
2970  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_CRC_ERROR_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x8)) >> 3)
2971  /* macros for field ALT_CRC_ERROR_PEND_CLR access */
2972  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_TYPE bool
2973  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_SIZE 1
2974  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_MASK 0x4
2975  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_BIT 0x4
2976  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_MSB 2
2977  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_LSB 2
2978  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_INDEX 1
2979  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x4)
2980  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_ALT_CRC_ERROR_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x4)) >> 2)
2981  /* macros for field TX_FIFO_ALMOST_EMPTY_PEND_CLR access */
2982  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_TYPE bool
2983  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_SIZE 1
2984  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_MASK 0x2
2985  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_BIT 0x2
2986  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_MSB 1
2987  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_LSB 1
2988  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_INDEX 1
2989  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x2)
2990  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_TX_FIFO_ALMOST_EMPTY_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x2)) >> 1)
2991  /* macros for field RX_FIFO_ALMOST_FULL_PEND_CLR access */
2992  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_TYPE bool
2993  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_SIZE 1
2994  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_MASK 0x1
2995  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_BIT 0x1
2996  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_MSB 0
2997  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_LSB 0
2998  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_INDEX 1
2999  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_is_true (cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x1)
3000  #define EZRADIO_CMD_GET_PH_STATUS_ARG_PH_CLR_PEND_RX_FIFO_ALMOST_FULL_PEND_CLR_value (((cmd.arg.GET_PH_STATUS.PH_CLR_PEND & 0x1)))
3001 /* GET_PH_STATUS REPLY */
3002 #define EZRADIO_CMD_REPLY_COUNT_GET_PH_STATUS 2
3003  /* macros for entire REPLY PH_PEND access of type uint8_t */
3004  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TYPE uint8_t
3005  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_SIZE 8
3006  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_MASK 0xff
3007  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_MSB 7
3008  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_LSB 0
3009  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_INDEX 1
3010  /* macros for field FILTER_MATCH_PEND access */
3011  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_TYPE bool
3012  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_SIZE 1
3013  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_MASK 0x80
3014  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_BIT 0x80
3015  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_MSB 7
3016  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_LSB 7
3017  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MATCH_PEND_INDEX 1
3018  /* macros for field FILTER_MISS_PEND access */
3019  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_TYPE bool
3020  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_SIZE 1
3021  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_MASK 0x40
3022  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_BIT 0x40
3023  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_MSB 6
3024  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_LSB 6
3025  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_FILTER_MISS_PEND_INDEX 1
3026  /* macros for field PACKET_SENT_PEND access */
3027  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_TYPE bool
3028  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_SIZE 1
3029  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_MASK 0x20
3030  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_BIT 0x20
3031  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_MSB 5
3032  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_LSB 5
3033  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_SENT_PEND_INDEX 1
3034  /* macros for field PACKET_RX_PEND access */
3035  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_TYPE bool
3036  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_SIZE 1
3037  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_MASK 0x10
3038  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_BIT 0x10
3039  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_MSB 4
3040  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_LSB 4
3041  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_PACKET_RX_PEND_INDEX 1
3042  /* macros for field CRC_ERROR_PEND access */
3043  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_TYPE bool
3044  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_SIZE 1
3045  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_MASK 0x8
3046  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_BIT 0x8
3047  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_MSB 3
3048  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_LSB 3
3049  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_CRC_ERROR_PEND_INDEX 1
3050  /* macros for field ALT_CRC_ERROR_PEND access */
3051  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_TYPE bool
3052  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_SIZE 1
3053  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_MASK 0x4
3054  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_BIT 0x4
3055  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_MSB 2
3056  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_LSB 2
3057  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_ALT_CRC_ERROR_PEND_INDEX 1
3058  /* macros for field TX_FIFO_ALMOST_EMPTY_PEND access */
3059  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_TYPE bool
3060  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_SIZE 1
3061  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_MASK 0x2
3062  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_BIT 0x2
3063  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_MSB 1
3064  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_LSB 1
3065  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_TX_FIFO_ALMOST_EMPTY_PEND_INDEX 1
3066  /* macros for field RX_FIFO_ALMOST_FULL_PEND access */
3067  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_TYPE bool
3068  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_SIZE 1
3069  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_MASK 0x1
3070  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_BIT 0x1
3071  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_MSB 0
3072  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_LSB 0
3073  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_PEND_RX_FIFO_ALMOST_FULL_PEND_INDEX 1
3074  /* macros for entire REPLY PH_STATUS access of type uint8_t */
3075  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TYPE uint8_t
3076  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_SIZE 8
3077  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_MASK 0xff
3078  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_MSB 7
3079  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_LSB 0
3080  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_INDEX 2
3081  /* macros for field FILTER_MATCH access */
3082  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_TYPE bool
3083  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_SIZE 1
3084  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_MASK 0x80
3085  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_BIT 0x80
3086  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_MSB 7
3087  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_LSB 7
3088  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MATCH_INDEX 2
3089  /* macros for field FILTER_MISS access */
3090  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_TYPE bool
3091  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_SIZE 1
3092  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_MASK 0x40
3093  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_BIT 0x40
3094  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_MSB 6
3095  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_LSB 6
3096  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_FILTER_MISS_INDEX 2
3097  /* macros for field PACKET_SENT access */
3098  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_TYPE bool
3099  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_SIZE 1
3100  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_MASK 0x20
3101  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_BIT 0x20
3102  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_MSB 5
3103  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_LSB 5
3104  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_SENT_INDEX 2
3105  /* macros for field PACKET_RX access */
3106  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_TYPE bool
3107  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_SIZE 1
3108  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_MASK 0x10
3109  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_BIT 0x10
3110  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_MSB 4
3111  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_LSB 4
3112  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_PACKET_RX_INDEX 2
3113  /* macros for field CRC_ERROR access */
3114  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_TYPE bool
3115  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_SIZE 1
3116  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_MASK 0x8
3117  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_BIT 0x8
3118  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_MSB 3
3119  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_LSB 3
3120  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_CRC_ERROR_INDEX 2
3121  /* macros for field ALT_CRC_ERROR access */
3122  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_TYPE bool
3123  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_SIZE 1
3124  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_MASK 0x4
3125  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_BIT 0x4
3126  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_MSB 2
3127  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_LSB 2
3128  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_ALT_CRC_ERROR_INDEX 2
3129  /* macros for field TX_FIFO_ALMOST_EMPTY access */
3130  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_TYPE bool
3131  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_SIZE 1
3132  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_MASK 0x2
3133  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_BIT 0x2
3134  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_MSB 1
3135  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_LSB 1
3136  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_TX_FIFO_ALMOST_EMPTY_INDEX 2
3137  /* macros for field RX_FIFO_ALMOST_FULL access */
3138  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_TYPE bool
3139  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_SIZE 1
3140  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_MASK 0x1
3141  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_BIT 0x1
3142  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_MSB 0
3143  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_LSB 0
3144  #define EZRADIO_CMD_GET_PH_STATUS_REP_PH_STATUS_RX_FIFO_ALMOST_FULL_INDEX 2
3145 #define EZRADIO_CMD_ID_GET_CHIP_STATUS 0x23
3146 /* GET_CHIP_STATUS ARGS */
3147 #define EZRADIO_CMD_ARG_COUNT_GET_CHIP_STATUS 2
3148  /* macros for entire ARG CHIP_CLR_PEND access of type uint8_t */
3149  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_TYPE uint8_t
3150  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_SIZE 8
3151  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_MASK 0xff
3152  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_MSB 7
3153  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LSB 0
3154  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_INDEX 1
3155  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND)))
3156  /* macros for field CAL_PEND_CLR access */
3157  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_TYPE bool
3158  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_SIZE 1
3159  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_MASK 0x40
3160  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_BIT 0x40
3161  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_MSB 6
3162  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_LSB 6
3163  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_INDEX 1
3164  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x40)
3165  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CAL_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x40)) >> 6)
3166  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR access */
3167  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_TYPE bool
3168  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_SIZE 1
3169  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_MASK 0x20
3170  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_BIT 0x20
3171  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_MSB 5
3172  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_LSB 5
3173  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_INDEX 1
3174  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x20)
3175  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x20)) >> 5)
3176  /* macros for field STATE_CHANGE_PEND_CLR access */
3177  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_TYPE bool
3178  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_SIZE 1
3179  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_MASK 0x10
3180  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_BIT 0x10
3181  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_MSB 4
3182  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_LSB 4
3183  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_INDEX 1
3184  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x10)
3185  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_STATE_CHANGE_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x10)) >> 4)
3186  /* macros for field CMD_ERROR_PEND_CLR access */
3187  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_TYPE bool
3188  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_SIZE 1
3189  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_MASK 0x8
3190  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_BIT 0x8
3191  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_MSB 3
3192  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_LSB 3
3193  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_INDEX 1
3194  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x8)
3195  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CMD_ERROR_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x8)) >> 3)
3196  /* macros for field CHIP_READY_PEND_CLR access */
3197  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_TYPE bool
3198  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_SIZE 1
3199  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_MASK 0x4
3200  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_BIT 0x4
3201  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_MSB 2
3202  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_LSB 2
3203  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_INDEX 1
3204  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x4)
3205  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_CHIP_READY_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x4)) >> 2)
3206  /* macros for field LOW_BATT_PEND_CLR access */
3207  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_TYPE bool
3208  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_SIZE 1
3209  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_MASK 0x2
3210  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_BIT 0x2
3211  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_MSB 1
3212  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_LSB 1
3213  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_INDEX 1
3214  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x2)
3215  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_LOW_BATT_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x2)) >> 1)
3216  /* macros for field WUT_PEND_CLR access */
3217  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_TYPE bool
3218  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_SIZE 1
3219  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_MASK 0x1
3220  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_BIT 0x1
3221  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_MSB 0
3222  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_LSB 0
3223  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_INDEX 1
3224  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_is_true (cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x1)
3225  #define EZRADIO_CMD_GET_CHIP_STATUS_ARG_CHIP_CLR_PEND_WUT_PEND_CLR_value (((cmd.arg.GET_CHIP_STATUS.CHIP_CLR_PEND & 0x1)))
3226 /* GET_CHIP_STATUS REPLY */
3227 #define EZRADIO_CMD_REPLY_COUNT_GET_CHIP_STATUS 4
3228  /* macros for entire REPLY CHIP_PEND access of type uint8_t */
3229  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_TYPE uint8_t
3230  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_SIZE 8
3231  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_MASK 0xff
3232  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_MSB 7
3233  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LSB 0
3234  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_INDEX 1
3235  /* macros for field CAL_PEND access */
3236  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_TYPE bool
3237  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_SIZE 1
3238  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_MASK 0x40
3239  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_BIT 0x40
3240  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_MSB 6
3241  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_LSB 6
3242  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CAL_PEND_INDEX 1
3243  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND access */
3244  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_TYPE bool
3245  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_SIZE 1
3246  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_MASK 0x20
3247  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_BIT 0x20
3248  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_MSB 5
3249  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_LSB 5
3250  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_FIFO_UNDERFLOW_OVERFLOW_ERROR_PEND_INDEX 1
3251  /* macros for field STATE_CHANGE_PEND access */
3252  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_TYPE bool
3253  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_SIZE 1
3254  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_MASK 0x10
3255  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_BIT 0x10
3256  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_MSB 4
3257  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_LSB 4
3258  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_STATE_CHANGE_PEND_INDEX 1
3259  /* macros for field CMD_ERROR_PEND access */
3260  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_TYPE bool
3261  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_SIZE 1
3262  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_MASK 0x8
3263  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_BIT 0x8
3264  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_MSB 3
3265  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_LSB 3
3266  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CMD_ERROR_PEND_INDEX 1
3267  /* macros for field CHIP_READY_PEND access */
3268  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_TYPE bool
3269  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_SIZE 1
3270  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_MASK 0x4
3271  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_BIT 0x4
3272  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_MSB 2
3273  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_LSB 2
3274  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_CHIP_READY_PEND_INDEX 1
3275  /* macros for field LOW_BATT_PEND access */
3276  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_TYPE bool
3277  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_SIZE 1
3278  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_MASK 0x2
3279  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_BIT 0x2
3280  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_MSB 1
3281  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_LSB 1
3282  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_LOW_BATT_PEND_INDEX 1
3283  /* macros for field WUT_PEND access */
3284  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_TYPE bool
3285  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_SIZE 1
3286  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_MASK 0x1
3287  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_BIT 0x1
3288  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_MSB 0
3289  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_LSB 0
3290  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_PEND_WUT_PEND_INDEX 1
3291  /* macros for entire REPLY CHIP_STATUS access of type uint8_t */
3292  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_TYPE uint8_t
3293  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_SIZE 8
3294  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_MASK 0xff
3295  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_MSB 7
3296  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LSB 0
3297  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_INDEX 2
3298  /* macros for field CAL access */
3299  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_TYPE bool
3300  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_SIZE 1
3301  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_MASK 0x40
3302  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_BIT 0x40
3303  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_MSB 6
3304  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_LSB 6
3305  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CAL_INDEX 2
3306  /* macros for field FIFO_UNDERFLOW_OVERFLOW_ERROR access */
3307  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_TYPE bool
3308  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_SIZE 1
3309  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_MASK 0x20
3310  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_BIT 0x20
3311  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_MSB 5
3312  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_LSB 5
3313  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_FIFO_UNDERFLOW_OVERFLOW_ERROR_INDEX 2
3314  /* macros for field STATE_CHANGE access */
3315  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_TYPE bool
3316  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_SIZE 1
3317  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_MASK 0x10
3318  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_BIT 0x10
3319  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_MSB 4
3320  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_LSB 4
3321  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_STATE_CHANGE_INDEX 2
3322  /* macros for field CMD_ERROR access */
3323  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_TYPE bool
3324  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_SIZE 1
3325  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_MASK 0x8
3326  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_BIT 0x8
3327  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_MSB 3
3328  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_LSB 3
3329  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CMD_ERROR_INDEX 2
3330  /* macros for field CHIP_READY access */
3331  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_TYPE bool
3332  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_SIZE 1
3333  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_MASK 0x4
3334  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_BIT 0x4
3335  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_MSB 2
3336  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_LSB 2
3337  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_CHIP_READY_INDEX 2
3338  /* macros for field LOW_BATT access */
3339  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_TYPE bool
3340  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_SIZE 1
3341  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_MASK 0x2
3342  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_BIT 0x2
3343  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_MSB 1
3344  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_LSB 1
3345  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_LOW_BATT_INDEX 2
3346  /* macros for field WUT access */
3347  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_TYPE bool
3348  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_SIZE 1
3349  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_MASK 0x1
3350  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_BIT 0x1
3351  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_MSB 0
3352  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_LSB 0
3353  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CHIP_STATUS_WUT_INDEX 2
3354  /* macros for entire REPLY CMD_ERR_STATUS access of type uint8_t */
3355  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_TYPE uint8_t
3356  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_SIZE 8
3357  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_MASK 0xff
3358  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_MSB 7
3359  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_LSB 0
3360  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_INDEX 3
3361  /* macros for field CMD_ERR_STATUS access */
3362  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_TYPE enum
3363  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_SIZE 8
3364  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_MASK 0xff
3365  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_MSB 7
3366  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_LSB 0
3367  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_INDEX 3
3368  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_NONE 0
3369  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_BAD_COMMAND 16
3370  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_BAD_ARG 17
3371  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_COMMAND_BUSY 18
3372  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_INVALID_STATE 19
3373  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_BAD_BOOTMODE 49
3374  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_STATUS_CMD_ERR_STATUS_ENUM_CMD_ERROR_BAD_PROPERTY 64
3375  /* macros for entire REPLY CMD_ERR_CMD_ID access of type uint8_t */
3376  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_TYPE uint8_t
3377  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_SIZE 8
3378  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_MASK 0xff
3379  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_MSB 7
3380  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_LSB 0
3381  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_INDEX 4
3382  /* macros for field CMD_ERR_CMD_ID access */
3383  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_TYPE enum
3384  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_SIZE 8
3385  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_MASK 0xff
3386  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_MSB 7
3387  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_LSB 0
3388  #define EZRADIO_CMD_GET_CHIP_STATUS_REP_CMD_ERR_CMD_ID_CMD_ERR_CMD_ID_INDEX 4
3389 
3390 #define EZRADIO_CMD_ID_EZCONFIG_CHECK 0x19
3391 /* EZCONFIG_CHECK ARGS */
3392 #define EZRADIO_CMD_ARG_COUNT_EZCONFIG_CHECK 2
3393 /* EZCONFIG_CHECK REPLY */
3394 #define EZRADIO_CMD_REPLY_COUNT_EZCONFIG_CHECK 1
3395  /* macros for entire EZCONFIG_CHECK access of type uint8_t */
3396  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_TYPE uint16_t
3397  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_SIZE 16
3398  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_MASK 0xffff
3399  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_MSB 15
3400  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_LSB 0
3401  #define EZRADIO_CMD_EZCONFIG_CHECK_ARG_CHECKSUM_INDEX 1
3402  /* macros for entire REPLY CMD_ERR_STATUS access of type uint8_t */
3403  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_TYPE uint8_t
3404  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_SIZE 8
3405  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_MASK 0xff
3406  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_MSB 7
3407  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_LSB 0
3408  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_INDEX 3
3409  /* macros for field CMD_ERR_STATUS access */
3410  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_TYPE enum
3411  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_SIZE 8
3412  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_MASK 0xff
3413  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_MSB 7
3414  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_LSB 0
3415  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_INDEX 3
3416  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_ENUM_VALID 0
3417  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_ENUM_BAD_CHECKSUM 1
3418  #define EZRADIO_CMD_EZCONFIG_CHECK_REP_RESULT_RESULT_ENUM_INVALID_STATE 2
3419 
3420 #define EZRADIO_CMD_ID_EZCONFIG_ARRAY_WRITE 0x66
3421 /* ZCONFIG_ARRAY_WRITE ARGS */
3422 #define EZRADIO_CMD_ARG_COUNT_EZCONFIG_ARRAY_WRITE 3
3423  /* macros for entire ARG DATA access of type uint8_t */
3424  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_TYPE uint8_t
3425  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_SIZE 8
3426  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_MASK 0xff
3427  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_MSB 7
3428  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_LSB 0
3429  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_INDEX 1
3430  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_ARRAY_LEN 2
3431  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_value(i) (((cmd.arg.WRITE_TX_FIFO.DATA[(i)])))
3432  /* macros for field DATA access */
3433  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_TYPE uint8_t
3434  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_SIZE 8
3435  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_MASK 0xff
3436  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_MSB 7
3437  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_LSB 0
3438  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_INDEX 1
3439  #define EZRADIO_CMD_EZCONFIG_ARRAY_WRITE_ARG_DATA_DATA_value(i) (((cmd.arg.WRITE_TX_FIFO.DATA[(i)] & 0xff)))
3440 
3442 
3443 #endif /* _EZRADIO_CMD_H_ */