EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ezradio_prop.h
Go to the documentation of this file.
1 /***************************************************************************/
44 #ifndef EZRADIO_PROP_H
45 #define EZRADIO_PROP_H
46 
48 
49 // Property group ID defines.
50 #define EZRADIO_PROP_GRP_ID_INT_CTL 1
51 #define EZRADIO_PROP_GRP_ID_FRR_CTL 2
52 #define EZRADIO_PROP_GRP_ID_SYNC 17
53 #define EZRADIO_PROP_GRP_ID_PA 34
54 #define EZRADIO_PROP_GRP_ID_EZCONFIG 36
55 #define EZRADIO_PROP_GRP_ID_FREQ_CONTROL 64
56 
57 // Property group length defines.
58 #define EZRADIO_PROP_GRP_LEN_INT_CTL 4
59 #define EZRADIO_PROP_GRP_LEN_FRR_CTL 4
60 #define EZRADIO_PROP_GRP_LEN_SYNC 5
61 #define EZRADIO_PROP_GRP_LEN_PA 1
62 #define EZRADIO_PROP_GRP_LEN_EZCONFIG 2
63 #define EZRADIO_PROP_GRP_LEN_FREQ_CONTROL 6
64 
65 // Property index within a group defines.
66 #define EZRADIO_PROP_GRP_INDEX_INT_CTL_ENABLE 0
67 #define EZRADIO_PROP_GRP_INDEX_INT_CTL_PH_ENABLE 1
68 #define EZRADIO_PROP_GRP_INDEX_INT_CTL_MODEM_ENABLE 2
69 #define EZRADIO_PROP_GRP_INDEX_INT_CTL_CHIP_ENABLE 3
70 #define EZRADIO_PROP_GRP_INDEX_FRR_CTL_A_MODE 0
71 #define EZRADIO_PROP_GRP_INDEX_FRR_CTL_B_MODE 1
72 #define EZRADIO_PROP_GRP_INDEX_FRR_CTL_C_MODE 2
73 #define EZRADIO_PROP_GRP_INDEX_FRR_CTL_D_MODE 3
74 #define EZRADIO_PROP_GRP_INDEX_SYNC_CONFIG 0
75 #define EZRADIO_PROP_GRP_INDEX_SYNC_BITS 1
76 #define EZRADIO_PROP_GRP_INDEX_PA_PWR_LVL 1
77 #define EZRADIO_PROP_GRP_INDEX_EZCONFIG_MODULATION 0
78 #define EZRADIO_PROP_GRP_INDEX_EZCONFIG_XO_TUNE 3
79 #define EZRADIO_PROP_GRP_INDEX_FREQ_CONTROL_INTE 0
80 #define EZRADIO_PROP_GRP_INDEX_FREQ_CONTROL_FRAC 1
81 #define EZRADIO_PROP_GRP_INDEX_FREQ_CONTROL_CHANNEL_STEP_SIZE 4
82 
83 // Defines for fields within the properties.
84 #define EZRADIO_PROP_INT_CTL_ENABLE_DEFAULT 0x4
85 
86 #define EZRADIO_PROP_INT_CTL_ENABLE_MASK 0xff
87 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_SIZE 1
88 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_LSB 2
89 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_MSB 2
90 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_MASK 0x4
91 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_BIT 0x4
92 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_TRUE_BIT 0x4
93 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_FALSE_BIT 0x00
94 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_ENUM_DISABLED 0
95 #define EZRADIO_PROP_INT_CTL_ENABLE_CHIP_INT_STATUS_EN_ENUM_ENABLED 1
96 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_SIZE 1
97 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_LSB 1
98 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_MSB 1
99 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_MASK 0x2
100 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_BIT 0x2
101 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_TRUE_BIT 0x2
102 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_FALSE_BIT 0x00
103 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_ENUM_DISABLED 0
104 #define EZRADIO_PROP_INT_CTL_ENABLE_MODEM_INT_STATUS_EN_ENUM_ENABLED 1
105 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_SIZE 1
106 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_LSB 0
107 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_MSB 0
108 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_MASK 0x1
109 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_BIT 0x1
110 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_TRUE_BIT 0x1
111 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_FALSE_BIT 0x00
112 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_ENUM_DISABLED 0
113 #define EZRADIO_PROP_INT_CTL_ENABLE_PH_INT_STATUS_EN_ENUM_ENABLED 1
114 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_DEFAULT 0x0
115 
116 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_MASK 0xff
117 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_SIZE 1
118 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_LSB 7
119 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_MSB 7
120 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_MASK 0x80
121 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_BIT 0x80
122 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_TRUE_BIT 0x80
123 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MATCH_EN_FALSE_BIT 0x00
124 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_SIZE 1
125 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_LSB 6
126 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_MSB 6
127 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_MASK 0x40
128 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_BIT 0x40
129 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_TRUE_BIT 0x40
130 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_FILTER_MISS_EN_FALSE_BIT 0x00
131 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_SIZE 1
132 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_LSB 5
133 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_MSB 5
134 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_MASK 0x20
135 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_BIT 0x20
136 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_TRUE_BIT 0x20
137 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_SENT_EN_FALSE_BIT 0x00
138 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_SIZE 1
139 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_LSB 4
140 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_MSB 4
141 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_MASK 0x10
142 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_BIT 0x10
143 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_TRUE_BIT 0x10
144 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_PACKET_RX_EN_FALSE_BIT 0x00
145 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_SIZE 1
146 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_LSB 3
147 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_MSB 3
148 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_MASK 0x8
149 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_BIT 0x8
150 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_TRUE_BIT 0x8
151 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_CRC_ERROR_EN_FALSE_BIT 0x00
152 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_SIZE 1
153 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_LSB 2
154 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_MSB 2
155 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_MASK 0x4
156 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_BIT 0x4
157 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_TRUE_BIT 0x4
158 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_ALT_CRC_ERROR_EN_FALSE_BIT 0x00
159 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_SIZE 1
160 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_LSB 1
161 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_MSB 1
162 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_MASK 0x2
163 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_BIT 0x2
164 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_TRUE_BIT 0x2
165 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_TX_FIFO_ALMOST_EMPTY_EN_FALSE_BIT 0x00
166 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_SIZE 1
167 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_LSB 0
168 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_MSB 0
169 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_MASK 0x1
170 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_BIT 0x1
171 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_TRUE_BIT 0x1
172 #define EZRADIO_PROP_INT_CTL_PH_ENABLE_RX_FIFO_ALMOST_FULL_EN_FALSE_BIT 0x00
173 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_DEFAULT 0x0
174 
175 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_MASK 0xff
176 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_SIZE 1
177 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_LSB 7
178 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_MSB 7
179 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_MASK 0x80
180 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_BIT 0x80
181 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_TRUE_BIT 0x80
182 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_LATCH_EN_FALSE_BIT 0x00
183 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_SIZE 1
184 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_LSB 6
185 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_MSB 6
186 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_MASK 0x40
187 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_BIT 0x40
188 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_TRUE_BIT 0x40
189 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_POSTAMBLE_DETECT_EN_FALSE_BIT 0x00
190 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_SIZE 1
191 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_LSB 5
192 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_MSB 5
193 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_MASK 0x20
194 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_BIT 0x20
195 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_TRUE_BIT 0x20
196 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_SYNC_EN_FALSE_BIT 0x00
197 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_SIZE 1
198 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_LSB 4
199 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_MSB 4
200 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_MASK 0x10
201 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_BIT 0x10
202 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_TRUE_BIT 0x10
203 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_JUMP_EN_FALSE_BIT 0x00
204 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_SIZE 1
205 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_LSB 3
206 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_MSB 3
207 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_MASK 0x8
208 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_BIT 0x8
209 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_TRUE_BIT 0x8
210 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_RSSI_EN_FALSE_BIT 0x00
211 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_SIZE 1
212 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_LSB 2
213 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_MSB 2
214 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_MASK 0x4
215 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_BIT 0x4
216 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_TRUE_BIT 0x4
217 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_INVALID_PREAMBLE_EN_FALSE_BIT 0x00
218 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_SIZE 1
219 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_LSB 1
220 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_MSB 1
221 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_MASK 0x2
222 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_BIT 0x2
223 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_TRUE_BIT 0x2
224 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_PREAMBLE_DETECT_EN_FALSE_BIT 0x00
225 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_SIZE 1
226 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_LSB 0
227 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_MSB 0
228 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_MASK 0x1
229 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_BIT 0x1
230 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_TRUE_BIT 0x1
231 #define EZRADIO_PROP_INT_CTL_MODEM_ENABLE_SYNC_DETECT_EN_FALSE_BIT 0x00
232 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_DEFAULT 0x4
233 
234 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_MASK 0xff
235 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_SIZE 1
236 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_LSB 6
237 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_MSB 6
238 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_MASK 0x40
239 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_BIT 0x40
240 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_TRUE_BIT 0x40
241 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CAL_EN_FALSE_BIT 0x00
242 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_SIZE 1
243 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_LSB 5
244 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_MSB 5
245 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_MASK 0x20
246 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_BIT 0x20
247 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_TRUE_BIT 0x20
248 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_FIFO_UNDERFLOW_OVERFLOW_ERROR_EN_FALSE_BIT 0x00
249 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_SIZE 1
250 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_LSB 4
251 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_MSB 4
252 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_MASK 0x10
253 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_BIT 0x10
254 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_TRUE_BIT 0x10
255 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_STATE_CHANGE_EN_FALSE_BIT 0x00
256 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_SIZE 1
257 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_LSB 3
258 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_MSB 3
259 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_MASK 0x8
260 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_BIT 0x8
261 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_TRUE_BIT 0x8
262 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CMD_ERROR_EN_FALSE_BIT 0x00
263 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_SIZE 1
264 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_LSB 2
265 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_MSB 2
266 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_MASK 0x4
267 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_BIT 0x4
268 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_TRUE_BIT 0x4
269 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_CHIP_READY_EN_FALSE_BIT 0x00
270 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_SIZE 1
271 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_LSB 1
272 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_MSB 1
273 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_MASK 0x2
274 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_BIT 0x2
275 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_TRUE_BIT 0x2
276 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_LOW_BATT_EN_FALSE_BIT 0x00
277 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_SIZE 1
278 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_LSB 0
279 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_MSB 0
280 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_MASK 0x1
281 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_BIT 0x1
282 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_TRUE_BIT 0x1
283 #define EZRADIO_PROP_INT_CTL_CHIP_ENABLE_WUT_EN_FALSE_BIT 0x00
284 #define EZRADIO_PROP_FRR_CTL_A_MODE_DEFAULT 0x1
285 
286 #define EZRADIO_PROP_FRR_CTL_A_MODE_MASK 0xff
287 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_SIZE 8
288 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_LSB 0
289 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_MSB 7
290 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_MIN 0
291 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_MAX 0
292 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_MASK 0xff
293 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_DISABLED 0
294 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_STATUS 1
295 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_PEND 2
296 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_PH_STATUS 3
297 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_PH_PEND 4
298 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_MODEM_STATUS 5
299 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_MODEM_PEND 6
300 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_CHIP_STATUS 7
301 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_INT_CHIP_PEND 8
302 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_CURRENT_STATE 9
303 #define EZRADIO_PROP_FRR_CTL_A_MODE_FRR_A_MODE_ENUM_LATCHED_RSSI 10
304 #define EZRADIO_PROP_FRR_CTL_B_MODE_DEFAULT 0x2
305 
306 #define EZRADIO_PROP_FRR_CTL_B_MODE_MASK 0xff
307 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_SIZE 8
308 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_LSB 0
309 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_MSB 7
310 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_MIN 0
311 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_MAX 0
312 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_MASK 0xff
313 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_DISABLED 0
314 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_STATUS 1
315 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_PEND 2
316 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_PH_STATUS 3
317 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_PH_PEND 4
318 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_MODEM_STATUS 5
319 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_MODEM_PEND 6
320 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_CHIP_STATUS 7
321 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_INT_CHIP_PEND 8
322 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_CURRENT_STATE 9
323 #define EZRADIO_PROP_FRR_CTL_B_MODE_FRR_B_MODE_ENUM_LATCHED_RSSI 10
324 #define EZRADIO_PROP_FRR_CTL_C_MODE_DEFAULT 0x9
325 
326 #define EZRADIO_PROP_FRR_CTL_C_MODE_MASK 0xff
327 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_SIZE 8
328 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_LSB 0
329 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_MSB 7
330 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_MIN 0
331 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_MAX 0
332 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_MASK 0xff
333 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_DISABLED 0
334 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_STATUS 1
335 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_PEND 2
336 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_PH_STATUS 3
337 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_PH_PEND 4
338 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_MODEM_STATUS 5
339 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_MODEM_PEND 6
340 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_CHIP_STATUS 7
341 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_INT_CHIP_PEND 8
342 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_CURRENT_STATE 9
343 #define EZRADIO_PROP_FRR_CTL_C_MODE_FRR_C_MODE_ENUM_LATCHED_RSSI 10
344 #define EZRADIO_PROP_FRR_CTL_D_MODE_DEFAULT 0x0
345 
346 #define EZRADIO_PROP_FRR_CTL_D_MODE_MASK 0xff
347 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_SIZE 8
348 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_LSB 0
349 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_MSB 7
350 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_MIN 0
351 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_MAX 0
352 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_MASK 0xff
353 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_DISABLED 0
354 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_STATUS 1
355 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_PEND 2
356 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_PH_STATUS 3
357 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_PH_PEND 4
358 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_MODEM_STATUS 5
359 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_MODEM_PEND 6
360 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_CHIP_STATUS 7
361 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_INT_CHIP_PEND 8
362 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_CURRENT_STATE 9
363 #define EZRADIO_PROP_FRR_CTL_D_MODE_FRR_D_MODE_ENUM_LATCHED_RSSI 10
364 
365 #define EZRADIO_PROP_SYNC_CONFIG_DEFAULT 0x1
366 
367 #define EZRADIO_PROP_SYNC_CONFIG_MASK 0xff
368 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_SIZE 1
369 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_LSB 7
370 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_MSB 7
371 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_MASK 0x80
372 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_BIT 0x80
373 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_TRUE_BIT 0x80
374 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_FALSE_BIT 0x00
375 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_ENUM_SYNC_XMIT 0
376 #define EZRADIO_PROP_SYNC_CONFIG_SKIP_TX_ENUM_NO_SYNC_XMIT 1
377 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_SIZE 3
378 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_LSB 4
379 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_MSB 6
380 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_MIN 0
381 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_MAX 7
382 #define EZRADIO_PROP_SYNC_CONFIG_RX_ERRORS_MASK 0x70
383 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_SIZE 1
384 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_LSB 3
385 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_MSB 3
386 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_MASK 0x8
387 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_BIT 0x8
388 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_TRUE_BIT 0x8
389 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_FALSE_BIT 0x00
390 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_ENUM_ENUM_0 0
391 #define EZRADIO_PROP_SYNC_CONFIG_4FSK_ENUM_ENUM_1 1
392 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_SIZE 1
393 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_LSB 2
394 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_MSB 2
395 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_MASK 0x4
396 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_BIT 0x4
397 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_TRUE_BIT 0x4
398 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_FALSE_BIT 0x00
399 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_ENUM_DISABLED 0
400 #define EZRADIO_PROP_SYNC_CONFIG_MANCH_ENUM_ENABLED 1
401 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_SIZE 2
402 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_LSB 0
403 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_MSB 1
404 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_MIN 0
405 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_MAX 0
406 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_MASK 0x3
407 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_ENUM_LEN_1_BYTES 0
408 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_ENUM_LEN_2_BYTES 1
409 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_ENUM_LEN_3_BYTES 2
410 #define EZRADIO_PROP_SYNC_CONFIG_LENGTH_ENUM_LEN_4_BYTES 3
411 #define EZRADIO_PROP_SYNC_BITS_DEFAULT ([ 0x2d, 0xd4, 0x2d, 0xd4 ])
412 
413 #define EZRADIO_PROP_SYNC_BITS_BITS_SIZE 32
414 #define EZRADIO_PROP_SYNC_BITS_BITS_MSB 31
415 #define EZRADIO_PROP_SYNC_BITS_BITS_LSB 0
416 #define EZRADIO_PROP_SYNC_BITS_BITS_MIN 0
417 #define EZRADIO_PROP_SYNC_BITS_BITS_MAX 4294967295
418 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_INDEX 1
419 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_MASK 0xff
420 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_DEFAULT 0x2d
421 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_SIZE 8
422 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_LSB 0
423 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_MSB 7
424 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_MIN 0
425 #define EZRADIO_PROP_SYNC_BITS_BITS_31_24_MAX 255
426 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_INDEX 2
427 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_MASK 0xff
428 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_DEFAULT 0xd4
429 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_SIZE 8
430 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_LSB 0
431 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_MSB 7
432 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_MIN 0
433 #define EZRADIO_PROP_SYNC_BITS_BITS_23_16_MAX 255
434 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_INDEX 3
435 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_MASK 0xff
436 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_DEFAULT 0x2d
437 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_SIZE 8
438 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_LSB 0
439 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_MSB 7
440 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_MIN 0
441 #define EZRADIO_PROP_SYNC_BITS_BITS_15_8_MAX 255
442 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_INDEX 4
443 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_MASK 0xff
444 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_DEFAULT 0xd4
445 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_SIZE 8
446 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_LSB 0
447 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_MSB 7
448 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_MIN 0
449 #define EZRADIO_PROP_SYNC_BITS_BITS_7_0_MAX 255
450 
451 #define EZRADIO_PROP_PA_PWR_LVL_DEFAULT 0x7f
452 
453 #define EZRADIO_PROP_PA_PWR_LVL_MASK 0xff
454 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_SIZE 7
455 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_LSB 0
456 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_MSB 6
457 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_MIN 0
458 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_MAX 127
459 #define EZRADIO_PROP_PA_PWR_LVL_DDAC_MASK 0x7f
460 
461 #define EZRADIO_PROP_EZCONFIG_MODULATION_DEFAULT 0x2
462 #define EZRADIO_PROP_EZCONFIG_MODULATION_MASK 0xff
463 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_SIZE 1
464 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_LSB 7
465 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_MSB 7
466 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_MASK 0x80
467 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_BIT 0x80
468 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_TRUE_BIT 0x80
469 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_FALSE_BIT 0x00
470 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_ENUM_SYNC 0
471 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_TYPE_ENUM_ASYNC 1
472 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_SIZE 2
473 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_LSB 5
474 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_MSB 6
475 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_MIN 0
476 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_MAX 0
477 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_MASK 0x60
478 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_ENUM_GPIO0 0
479 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_ENUM_GPIO1 1
480 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_ENUM_GPIO2 2
481 #define EZRADIO_PROP_EZCONFIG_MODULATION_TX_DIRECT_MODE_GPIO_ENUM_GPIO3 3
482 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_SIZE 2
483 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_LSB 3
484 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_MSB 4
485 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_MIN 0
486 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_MAX 0
487 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_MASK 0x18
488 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_ENUM_PACKET 0
489 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_ENUM_DIRECT 1
490 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_SOURCE_ENUM_PSEUDO 2
491 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_SIZE 2
492 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_LSB 0
493 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_MSB 1
494 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_MIN 0
495 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_MAX 0
496 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_MASK 0x3
497 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_ENUM_CW 0
498 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_ENUM_OOK 1
499 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_ENUM_2FSK 2
500 #define EZRADIO_PROP_EZCONFIG_MODULATION_MOD_TYPE_ENUM_2GFSK 3
501 
502 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_DEFAULT 0x40
503 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_MASK 0xff
504 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_SIZE 7
505 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_LSB 0
506 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_MSB 6
507 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_MIN 0
508 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_MAX 0
509 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_MASK 0x7f
510 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_ENUM_FASTEST_FREQUENCY 0
511 #define EZRADIO_PROP_EZCONFIG_XO_TUNE_TUNE_VALUE_ENUM_SLOWEST_FREQUENCY 127
512 
513 #define EZRADIO_PROP_FREQ_CONTROL_INTE_DEFAULT 0x3c
514 
515 #define EZRADIO_PROP_FREQ_CONTROL_INTE_MASK 0xff
516 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_SIZE 7
517 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_LSB 0
518 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_MSB 6
519 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_MIN 0
520 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_MAX 127
521 #define EZRADIO_PROP_FREQ_CONTROL_INTE_INTE_MASK 0x7f
522 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_DEFAULT ([ 0x8, 0x0, 0x0 ])
523 
524 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_SIZE 20
525 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_MSB 19
526 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_LSB 0
527 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_MIN 0
528 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_MAX 1048575
529 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_INDEX 1
530 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_MASK 0xf
531 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_DEFAULT 0x8
532 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_SIZE 4
533 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_LSB 0
534 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_MSB 3
535 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_MIN 0
536 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_19_16_MAX 15
537 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_INDEX 2
538 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_MASK 0xff
539 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_DEFAULT 0x0
540 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_SIZE 8
541 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_LSB 0
542 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_MSB 7
543 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_MIN 0
544 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_15_8_MAX 255
545 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_INDEX 3
546 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_MASK 0xff
547 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_DEFAULT 0x0
548 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_SIZE 8
549 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_LSB 0
550 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_MSB 7
551 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_MIN 0
552 #define EZRADIO_PROP_FREQ_CONTROL_FRAC_FRAC_7_0_MAX 255
553 
554 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_DEFAULT ([ 0x0, 0x0 ])
555 
556 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_SIZE 16
557 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_MSB 15
558 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_LSB 0
559 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_MIN 0
560 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_MAX 65535
561 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_INDEX 4
562 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_MASK 0xff
563 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_DEFAULT 0x0
564 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_SIZE 8
565 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_LSB 0
566 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_MSB 7
567 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_MIN 0
568 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_15_8_MAX 255
569 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_INDEX 5
570 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_MASK 0xff
571 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_DEFAULT 0x0
572 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_SIZE 8
573 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_LSB 0
574 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_MSB 7
575 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_MIN 0
576 #define EZRADIO_PROP_FREQ_CONTROL_CHANNEL_STEP_SIZE_CHANNEL_STEP_SIZE_7_0_MAX 255
577 
579 
580 #endif /* _EZRADIO_PROP_H_ */