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