CC35xxDriverLibrary
hw_coex.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: hw_coex.h
3 *
4 * Description: Defines and prototypes for the COEX peripheral.
5 *
6 * Copyright (c) 2023, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
17 * and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 * be used to endorse or promote products derived from this software without
21 * specific prior written permission.
22 *
23  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 #ifndef __HW_COEX_H__
37 #define __HW_COEX_H__
38 /*-------------------------------------------------------------------------------
39 
40 This section defines the register offsets of the COEX component
41 
42 --------------------------------------------------------------------------------- */
43 
44 //General COEX Configurations
45 #define COEX_O_GENCFG 0x00000000U
46 
47 //Wifi Configuration
48 #define COEX_O_WIFICFG 0x00000004U
49 
50 //BLE Configuration
51 #define COEX_O_BLECFG 0x00000008U
52 
53 //SOC Configuration
54 #define COEX_O_EXTSOCCFG 0x0000000CU
55 
56 //BLE High Priority Rx
57 #define COEX_O_BLEHIPRIRX 0x00000010U
58 
59 //BLE Low Priority Rx
60 #define COEX_O_BLELOPRIRX 0x00000014U
61 
62 //BLE High Priority Tx
63 #define COEX_O_BLEHIPRITX 0x00000018U
64 
65 //BLE Low Priority Tx
66 #define COEX_O_BLELOPRITX 0x0000001CU
67 
68 //SOC High Priority
69 #define COEX_O_SOCHIPRI 0x00000020U
70 
71 //SOC Low Priority
72 #define COEX_O_SOCLOPRI 0x00000024U
73 
74 //Tie Breaker
75 #define COEX_O_TIEBREAKER 0x00000028U
76 
77 //WIFI MIN GRANT TIME:
78 #define COEX_O_WIFIMINGT 0x0000002CU
79 
80 //BLE MIN GRANT TIME:
81 #define COEX_O_BLEMINGT 0x00000030U
82 
83 //SOC MIN GRANT TIME:
84 #define COEX_O_SOCMINGT 0x00000034U
85 
86 //SW Grant Override
87 #define COEX_O_SWGRNTOVR 0x00000038U
88 
89 //BLE Max Grant Time
90 #define COEX_O_BLEMAXGT 0x0000003CU
91 
92 //SOC Max Grant Time
93 #define COEX_O_SOCMAXGT 0x00000040U
94 
95 //BLE T2 Time
96 #define COEX_O_BLET2TIME 0x00000044U
97 
98 //SOC T2 Time
99 #define COEX_O_SOCT2TIME 0x00000048U
100 
101 //WIFI to BLE Grant Delay
102 #define COEX_O_W2BDLY 0x0000004CU
103 
104 //WIFI to SOC Grant Delay
105 #define COEX_O_W2SDLY 0x00000050U
106 
107 //BLE to SOC Grant Delay
108 #define COEX_O_B2SDLY 0x00000054U
109 
110 //BLE to WIFI Grant Delay
111 #define COEX_O_B2WDLY 0x00000058U
112 
113 //SOC to WIFI Grant Delay
114 #define COEX_O_S2WDLY 0x0000005CU
115 
116 //SOC to BLE Grant Delay
117 #define COEX_O_S2BDLY 0x00000060U
118 
119 //Debug Report Register
120 #define COEX_O_DBGREP 0x00000064U
121 
122 //WIFI Request and Grant Log Register
123 #define COEX_O_WIFILOG 0x00000068U
124 
125 //BLE Request and Grant Log Register
126 #define COEX_O_BLELOG 0x0000006CU
127 
128 //SOC Request and Grant Log Register
129 #define COEX_O_SOCLOG 0x00000070U
130 
131 //WIFI Priority Reject Log Register
132 #define COEX_O_WIFIPRIREJ 0x00000078U
133 
134 //SOC Priority Reject Log Register
135 #define COEX_O_SOCPRIREJ 0x0000007CU
136 
137 //BLE Priority Reject Log Register
138 #define COEX_O_BLEPRIREJ 0x00000080U
139 
140 //Timestamp Register
141 #define COEX_O_TIMESTAMP 0x00000084U
142 
143 //WIFI Grant During Dual Antenna Log Register
144 #define COEX_O_WIFIANTLOG 0x00000088U
145 
146 //IRQ Event Masking
147 #define COEX_O_IRQEVTMSK 0x0000008CU
148 
149 //Antenna Control Configuration 1
150 #define COEX_O_ANTCTLCFG1 0x000000C0U
151 
152 //Antenna Control Configuration 2
153 #define COEX_O_ANTCTLCFG2 0x000000C4U
154 
155 //Antenna Control Status
156 #define COEX_O_ANTCTLSTA 0x000000C8U
157 
158 
159 
160 /*-----------------------------------REGISTER------------------------------------
161  Register name: GENCFG
162  Offset name: COEX_O_GENCFG
163  Relative address: 0x0
164  Description: General COEX Configurations.
165 
166  This register is a static configuration.
167  Default Value: 0x00000002
168 
169  Field: EN
170  From..to bits: 0...0
171  DefaultValue: 0x0
172  Access type: read-write
173  Description: This bit configuration is available to enable or disable COEX. Enable --> 1; Disable --> 0.
174 
175 */
176 #define COEX_GENCFG_EN 0x00000001U
177 #define COEX_GENCFG_EN_M 0x00000001U
178 #define COEX_GENCFG_EN_S 0U
179 /*
180 
181  Field: DEFGRNTDIS
182  From..to bits: 1...2
183  DefaultValue: 0x1
184  Access type: read-write
185  Description: def grant when coex disabled:
186  This bit configuration is available to select the entity which has the grant when COEX is disabled. 00 --> Wifi; 01 --> BLE, 10 --> SOC, 11 --> invalid configuration.
187 
188 */
189 #define COEX_GENCFG_DEFGRNTDIS_W 2U
190 #define COEX_GENCFG_DEFGRNTDIS_M 0x00000006U
191 #define COEX_GENCFG_DEFGRNTDIS_S 1U
192 /*
193 
194  Field: DEFGRTNREQ
195  From..to bits: 3...4
196  DefaultValue: 0x0
197  Access type: read-write
198  Description: def grant when no req:
199  This bit configuration is available to select the entity which has the grant when there is no request from any entity.00 --> Wifi; 01 --> BLE, 10 --> SOC, 11 --> Wifi.
200 
201 */
202 #define COEX_GENCFG_DEFGRTNREQ_W 2U
203 #define COEX_GENCFG_DEFGRTNREQ_M 0x00000018U
204 #define COEX_GENCFG_DEFGRTNREQ_S 3U
205 /*
206 
207  Field: DEBREPEN
208  From..to bits: 5...5
209  DefaultValue: 0x0
210  Access type: read-write
211  Description: debug reporting enable:
212  This bit configuration is available to enable or disable the debug reporting.0 --> No IRQ is generated; 1 --> Debug Mode enable. IRQ is generated whenever there is change in grant state.
213 
214 */
215 #define COEX_GENCFG_DEBREPEN 0x00000020U
216 #define COEX_GENCFG_DEBREPEN_M 0x00000020U
217 #define COEX_GENCFG_DEBREPEN_S 5U
218 /*
219 
220  Field: FREQ40N80
221  From..to bits: 6...6
222  DefaultValue: 0x0
223  Access type: read-write
224  Description: This bit configuration is available to select the freq. at which COEX is operating. 1 --> 80 MHz; 0 --> 40 MHz.
225 
226 */
227 #define COEX_GENCFG_FREQ40N80 0x00000040U
228 #define COEX_GENCFG_FREQ40N80_M 0x00000040U
229 #define COEX_GENCFG_FREQ40N80_S 6U
230 
231 
232 /*-----------------------------------REGISTER------------------------------------
233  Register name: WIFICFG
234  Offset name: COEX_O_WIFICFG
235  Relative address: 0x4
236  Description: Wifi Configuration.
237 
238  This register is available is to program Wifi related general configuration. This register is static configuration.
239  Default Value: 0x00000001
240 
241  Field: WIFIEN
242  From..to bits: 0...0
243  DefaultValue: 0x1
244  Access type: read-write
245  Description: This bit configuration is available to indicate if Wifi is enabled in the design or not. 0 --> Wifi disabled; 1 --> Wifi enabled..
246 
247 */
248 #define COEX_WIFICFG_WIFIEN 0x00000001U
249 #define COEX_WIFICFG_WIFIEN_M 0x00000001U
250 #define COEX_WIFICFG_WIFIEN_S 0U
251 /*
252 
253  Field: WIFIGRTPOL
254  From..to bits: 1...1
255  DefaultValue: 0x0
256  Access type: read-write
257  Description: This bit configuration is available to select Wifi Grant Polarity. 1 --> Default Polarity/Active Low; 0 --> Reverse Polarity/Active High.
258 
259 */
260 #define COEX_WIFICFG_WIFIGRTPOL 0x00000002U
261 #define COEX_WIFICFG_WIFIGRTPOL_M 0x00000002U
262 #define COEX_WIFICFG_WIFIGRTPOL_S 1U
263 /*
264 
265  Field: ALTBNDBYP
266  From..to bits: 2...2
267  DefaultValue: 0x0
268  Access type: read-write
269  Description: wifi alt band input bypass:
270  This bit configuration is available to bypass Wifi alt band input. 1 --> Bypass wifi alt band input; 0 --> Do not bypass wifi alt band input.
271 
272 */
273 #define COEX_WIFICFG_ALTBNDBYP 0x00000004U
274 #define COEX_WIFICFG_ALTBNDBYP_M 0x00000004U
275 #define COEX_WIFICFG_ALTBNDBYP_S 2U
276 /*
277 
278  Field: RXBYP
279  From..to bits: 3...3
280  DefaultValue: 0x0
281  Access type: read-write
282  Description: wifi rx only input bypass:
283  This bit configuration is available to bypass Wifi RX only input. 1 --> Bypass wifi rx only input; 0 --> Do not bypass wifi rx only input.
284 
285 */
286 #define COEX_WIFICFG_RXBYP 0x00000008U
287 #define COEX_WIFICFG_RXBYP_M 0x00000008U
288 #define COEX_WIFICFG_RXBYP_S 3U
289 /*
290 
291  Field: ALTBNDBYPV
292  From..to bits: 4...4
293  DefaultValue: 0x0
294  Access type: read-write
295  Description: wifi alt band input bypass val:
296  This bit configuration is available to configure Wifi_alt_band value.
297 
298 */
299 #define COEX_WIFICFG_ALTBNDBYPV 0x00000010U
300 #define COEX_WIFICFG_ALTBNDBYPV_M 0x00000010U
301 #define COEX_WIFICFG_ALTBNDBYPV_S 4U
302 /*
303 
304  Field: RXBYPV
305  From..to bits: 5...5
306  DefaultValue: 0x0
307  Access type: read-write
308  Description: wifi rx only input bypass val:
309  This bit configuration is available to bypass Wifi_RX_only value.
310 
311 */
312 #define COEX_WIFICFG_RXBYPV 0x00000020U
313 #define COEX_WIFICFG_RXBYPV_M 0x00000020U
314 #define COEX_WIFICFG_RXBYPV_S 5U
315 
316 
317 /*-----------------------------------REGISTER------------------------------------
318  Register name: BLECFG
319  Offset name: COEX_O_BLECFG
320  Relative address: 0x8
321  Description: BLE Configuration.
322 
323  This register is available is to program BLE related general configuration. This register is static configuration.
324  Default Value: 0x00000001
325 
326  Field: BLEEN
327  From..to bits: 0...0
328  DefaultValue: 0x1
329  Access type: read-write
330  Description: This bit configuration is available to indicate if BLE is enabled in the design or not. 0 --> BLE disabled; 1 --> BLE enabled..
331 
332 */
333 #define COEX_BLECFG_BLEEN 0x00000001U
334 #define COEX_BLECFG_BLEEN_M 0x00000001U
335 #define COEX_BLECFG_BLEEN_S 0U
336 /*
337 
338  Field: BLEGRNTPOL
339  From..to bits: 1...1
340  DefaultValue: 0x0
341  Access type: read-write
342  Description: This bit configuration is available to select BLE Grant Polarity. 1 --> Default Polarity/Active Low; 0 --> Reverse Polarity/Active High.
343 
344 */
345 #define COEX_BLECFG_BLEGRNTPOL 0x00000002U
346 #define COEX_BLECFG_BLEGRNTPOL_M 0x00000002U
347 #define COEX_BLECFG_BLEGRNTPOL_S 1U
348 /*
349 
350  Field: PTASGNLM
351  From..to bits: 2...2
352  DefaultValue: 0x0
353  Access type: read-write
354  Description: ble pta signalling mode:
355  This bit configuration is available to select if BLE_TX and BLE_RX are to be bypassed. 1 --> Bypass BLE_TX and BLE_RX; 0 --> Do not bypass BLE_TX and BLE_RX input.
356 
357 */
358 #define COEX_BLECFG_PTASGNLM 0x00000004U
359 #define COEX_BLECFG_PTASGNLM_M 0x00000004U
360 #define COEX_BLECFG_PTASGNLM_S 2U
361 /*
362 
363  Field: TXBYPV
364  From..to bits: 3...3
365  DefaultValue: 0x0
366  Access type: read-write
367  Description: ble tx bypass val:
368  This bit configuration is available to configure BLE_TX value. This bit takes effect when mem_ble_pta_signalling_mode is set to 1.
369 
370 */
371 #define COEX_BLECFG_TXBYPV 0x00000008U
372 #define COEX_BLECFG_TXBYPV_M 0x00000008U
373 #define COEX_BLECFG_TXBYPV_S 3U
374 /*
375 
376  Field: RXBYPV
377  From..to bits: 4...4
378  DefaultValue: 0x0
379  Access type: read-write
380  Description: ble rx bypass val:
381  This bit configuration is available to configure BLE_RX value. This bit takes effect when mem_ble_pta_signalling_mode is set to 1.
382 
383 */
384 #define COEX_BLECFG_RXBYPV 0x00000010U
385 #define COEX_BLECFG_RXBYPV_M 0x00000010U
386 #define COEX_BLECFG_RXBYPV_S 4U
387 
388 
389 /*-----------------------------------REGISTER------------------------------------
390  Register name: EXTSOCCFG
391  Offset name: COEX_O_EXTSOCCFG
392  Relative address: 0xC
393  Description: SOC Configuration.
394 
395  This register is available is to program EXT SOC related general configuration. This register is a static configuration.
396  Default Value: 0x00000003
397 
398  Field: SOCEN
399  From..to bits: 0...0
400  DefaultValue: 0x1
401  Access type: read-write
402  Description: This bit configuration is available to indicate if SOC is enabled in the design or not. 0 --> SOC disabled; 1 --> SOC enabled..
403 
404 */
405 #define COEX_EXTSOCCFG_SOCEN 0x00000001U
406 #define COEX_EXTSOCCFG_SOCEN_M 0x00000001U
407 #define COEX_EXTSOCCFG_SOCEN_S 0U
408 /*
409 
410  Field: PTASGNLM
411  From..to bits: 1...2
412  DefaultValue: 0x1
413  Access type: read-write
414  Description: soc pta signalling mode:
415  This bit configuration is available to select the Ext SOC PTA signalling mode. 00 --> Reserved; 01 --> 1-wire, 10 --> 2-wires, 11 --> 3-wires.
416 
417 */
418 #define COEX_EXTSOCCFG_PTASGNLM_W 2U
419 #define COEX_EXTSOCCFG_PTASGNLM_M 0x00000006U
420 #define COEX_EXTSOCCFG_PTASGNLM_S 1U
421 /*
422 
423  Field: REQPOL
424  From..to bits: 3...3
425  DefaultValue: 0x0
426  Access type: read-write
427  Description: This bit configuration is available to select Ext SOC Request Polarity. 1 --> Default Polarity/Active High; 0 --> Reverse Polarity/Active Low.
428 
429 */
430 #define COEX_EXTSOCCFG_REQPOL 0x00000008U
431 #define COEX_EXTSOCCFG_REQPOL_M 0x00000008U
432 #define COEX_EXTSOCCFG_REQPOL_S 3U
433 /*
434 
435  Field: PRIPOL
436  From..to bits: 4...4
437  DefaultValue: 0x0
438  Access type: read-write
439  Description: This bit configuration is available to select Ext SOC Priority Polarity. 1 --> Default Polarity/Active High; 0 --> Reverse Polarity/Active Low.
440 
441 */
442 #define COEX_EXTSOCCFG_PRIPOL 0x00000010U
443 #define COEX_EXTSOCCFG_PRIPOL_M 0x00000010U
444 #define COEX_EXTSOCCFG_PRIPOL_S 4U
445 /*
446 
447  Field: GRNTPOL
448  From..to bits: 5...5
449  DefaultValue: 0x0
450  Access type: read-write
451  Description: This bit configuration is available to select SOC Grant Polarity. 1 --> Default Polarity/Active Low; 0 --> Reverse Polarity/Active High.
452 
453 */
454 #define COEX_EXTSOCCFG_GRNTPOL 0x00000020U
455 #define COEX_EXTSOCCFG_GRNTPOL_M 0x00000020U
456 #define COEX_EXTSOCCFG_GRNTPOL_S 5U
457 /*
458 
459  Field: GRNTREBYP
460  From..to bits: 6...6
461  DefaultValue: 0x0
462  Access type: read-write
463  Description: soc grant renew bypass:
464  This bit configuration is available to bypass need to renew soc grant. 1 --> Bypass SOC grant renew; 0 --> SOC needs to renew grant.
465 
466 */
467 #define COEX_EXTSOCCFG_GRNTREBYP 0x00000040U
468 #define COEX_EXTSOCCFG_GRNTREBYP_M 0x00000040U
469 #define COEX_EXTSOCCFG_GRNTREBYP_S 6U
470 /*
471 
472  Field: REQSIGDET
473  From..to bits: 7...8
474  DefaultValue: 0x0
475  Access type: read-write
476  Description: This bit configuration is available to select detection mechanism for SOC request. 00 --> Rise edge detection (L -> H) ; 01 --> Fall edge detection (H -> L) ; 10 --> Level detection (active high) ; 11 -> level detection (active low).
477 
478 */
479 #define COEX_EXTSOCCFG_REQSIGDET_W 2U
480 #define COEX_EXTSOCCFG_REQSIGDET_M 0x00000180U
481 #define COEX_EXTSOCCFG_REQSIGDET_S 7U
482 
483 
484 /*-----------------------------------REGISTER------------------------------------
485  Register name: BLEHIPRIRX
486  Offset name: COEX_O_BLEHIPRIRX
487  Relative address: 0x10
488  Description: BLE High Priority Rx.
489 
490  This Priority register selected when BLE Priority is high and BLE_RX is asserted. This register value should not be changed when BLE request is asserted.
491  Default Value: NA
492 
493  Field: BLEHIPRIRX
494  From..to bits: 0...3
495  DefaultValue: NA
496  Access type: read-write
497  Description: Priority levels can be 1 to 15. 0 level indicates no request from BLE.
498 
499 */
500 #define COEX_BLEHIPRIRX_BLEHIPRIRX_W 4U
501 #define COEX_BLEHIPRIRX_BLEHIPRIRX_M 0x0000000FU
502 #define COEX_BLEHIPRIRX_BLEHIPRIRX_S 0U
503 
504 
505 /*-----------------------------------REGISTER------------------------------------
506  Register name: BLELOPRIRX
507  Offset name: COEX_O_BLELOPRIRX
508  Relative address: 0x14
509  Description: BLE Low Priority Rx.
510 
511  This Priority register selected when BLE Priority is low and BLE_RX is asserted. This register value should not be changed when BLE request is asserted.
512  Default Value: NA
513 
514  Field: BLELOPRIRX
515  From..to bits: 0...3
516  DefaultValue: NA
517  Access type: read-write
518  Description: Priority levels can be 1 to 15. 0 level indicates no request from BLE.
519 
520 */
521 #define COEX_BLELOPRIRX_BLELOPRIRX_W 4U
522 #define COEX_BLELOPRIRX_BLELOPRIRX_M 0x0000000FU
523 #define COEX_BLELOPRIRX_BLELOPRIRX_S 0U
524 
525 
526 /*-----------------------------------REGISTER------------------------------------
527  Register name: BLEHIPRITX
528  Offset name: COEX_O_BLEHIPRITX
529  Relative address: 0x18
530  Description: BLE High Priority Tx.
531 
532  This Priority register selected when BLE Priority is high and BLE_TX is asserted. This register value should not be changed when BLE request is asserted.
533  Default Value: NA
534 
535  Field: BLEHIPRITX
536  From..to bits: 0...3
537  DefaultValue: NA
538  Access type: read-write
539  Description: Priority levels can be 1 to 15. 0 level indicates no request from BLE.
540 
541 */
542 #define COEX_BLEHIPRITX_BLEHIPRITX_W 4U
543 #define COEX_BLEHIPRITX_BLEHIPRITX_M 0x0000000FU
544 #define COEX_BLEHIPRITX_BLEHIPRITX_S 0U
545 
546 
547 /*-----------------------------------REGISTER------------------------------------
548  Register name: BLELOPRITX
549  Offset name: COEX_O_BLELOPRITX
550  Relative address: 0x1C
551  Description: BLE Low Priority Tx.
552 
553  This Priority register selected when BLE Priority is low and BLE_TX is asserted. This register value should not be changed when BLE request is asserted.
554  Default Value: NA
555 
556  Field: BLELOPRITX
557  From..to bits: 0...3
558  DefaultValue: NA
559  Access type: read-write
560  Description: Priority levels can be 1 to 15. 0 level indicates no request from BLE.
561 
562 */
563 #define COEX_BLELOPRITX_BLELOPRITX_W 4U
564 #define COEX_BLELOPRITX_BLELOPRITX_M 0x0000000FU
565 #define COEX_BLELOPRITX_BLELOPRITX_S 0U
566 
567 
568 /*-----------------------------------REGISTER------------------------------------
569  Register name: SOCHIPRI
570  Offset name: COEX_O_SOCHIPRI
571  Relative address: 0x20
572  Description: SOC High Priority.
573 
574  This Priority register selected when SOC Priority is high. This register value should not be changed when SOC request is asserted.
575  Default Value: NA
576 
577  Field: SOCHIPRI
578  From..to bits: 0...3
579  DefaultValue: NA
580  Access type: read-write
581  Description: Priority levels can be 1 to 15. 0 level indicates no request from SOC.
582 
583 */
584 #define COEX_SOCHIPRI_SOCHIPRI_W 4U
585 #define COEX_SOCHIPRI_SOCHIPRI_M 0x0000000FU
586 #define COEX_SOCHIPRI_SOCHIPRI_S 0U
587 
588 
589 /*-----------------------------------REGISTER------------------------------------
590  Register name: SOCLOPRI
591  Offset name: COEX_O_SOCLOPRI
592  Relative address: 0x24
593  Description: SOC Low Priority.
594 
595  This Priority register selected when SOC Priority is low. This register value should not be changed when SOC request is asserted.
596  Default Value: NA
597 
598  Field: SOCLOPRI
599  From..to bits: 0...3
600  DefaultValue: NA
601  Access type: read-write
602  Description: Priority levels can be 1 to 15. 0 level indicates no request from SOC.
603 
604 */
605 #define COEX_SOCLOPRI_SOCLOPRI_W 4U
606 #define COEX_SOCLOPRI_SOCLOPRI_M 0x0000000FU
607 #define COEX_SOCLOPRI_SOCLOPRI_S 0U
608 
609 
610 /*-----------------------------------REGISTER------------------------------------
611  Register name: TIEBREAKER
612  Offset name: COEX_O_TIEBREAKER
613  Relative address: 0x28
614  Description: Tie Breaker.
615 
616  This register is available is to program entity priority which comes into effect when there is a tie between contesting entities. This register is a static configuration. The values in all the three fields need to be unique.
617  Default Value: 0x00000002
618 
619  Field: WIFI
620  From..to bits: 0...1
621  DefaultValue: 0x2
622  Access type: read-write
623  Description: Priority value for Wifi.
624 
625 */
626 #define COEX_TIEBREAKER_WIFI_W 2U
627 #define COEX_TIEBREAKER_WIFI_M 0x00000003U
628 #define COEX_TIEBREAKER_WIFI_S 0U
629 /*
630 
631  Field: BLE
632  From..to bits: 2...3
633  DefaultValue: 0x0
634  Access type: read-write
635  Description: Priority value for BLE.
636 
637 */
638 #define COEX_TIEBREAKER_BLE_W 2U
639 #define COEX_TIEBREAKER_BLE_M 0x0000000CU
640 #define COEX_TIEBREAKER_BLE_S 2U
641 /*
642 
643  Field: SOC
644  From..to bits: 4...5
645  DefaultValue: 0x0
646  Access type: read-write
647  Description: Priority value for SOC.
648 
649 */
650 #define COEX_TIEBREAKER_SOC_W 2U
651 #define COEX_TIEBREAKER_SOC_M 0x00000030U
652 #define COEX_TIEBREAKER_SOC_S 4U
653 
654 
655 /*-----------------------------------REGISTER------------------------------------
656  Register name: WIFIMINGT
657  Offset name: COEX_O_WIFIMINGT
658  Relative address: 0x2C
659  Description: WIFI MIN GRANT TIME:
660  This register is available is to program wifi minimum grant time. This register is static configuration.
661  Default Value: NA
662 
663  Field: VAL
664  From..to bits: 0...12
665  DefaultValue: NA
666  Access type: read-write
667  Description: Wifi min grant time.
668 
669 */
670 #define COEX_WIFIMINGT_VAL_W 13U
671 #define COEX_WIFIMINGT_VAL_M 0x00001FFFU
672 #define COEX_WIFIMINGT_VAL_S 0U
673 
674 
675 /*-----------------------------------REGISTER------------------------------------
676  Register name: BLEMINGT
677  Offset name: COEX_O_BLEMINGT
678  Relative address: 0x30
679  Description: BLE MIN GRANT TIME:
680  This register is available is to program ble minimum grant time. This register is static configuration.
681  Default Value: NA
682 
683  Field: VAL
684  From..to bits: 0...12
685  DefaultValue: NA
686  Access type: read-write
687  Description: BLE min grant time.
688 
689 */
690 #define COEX_BLEMINGT_VAL_W 13U
691 #define COEX_BLEMINGT_VAL_M 0x00001FFFU
692 #define COEX_BLEMINGT_VAL_S 0U
693 
694 
695 /*-----------------------------------REGISTER------------------------------------
696  Register name: SOCMINGT
697  Offset name: COEX_O_SOCMINGT
698  Relative address: 0x34
699  Description: SOC MIN GRANT TIME:
700  This register is available is to program soc minimum grant time. This register is static configuration.
701  Default Value: NA
702 
703  Field: VAL
704  From..to bits: 0...12
705  DefaultValue: NA
706  Access type: read-write
707  Description: SOC min grant time.
708 
709 */
710 #define COEX_SOCMINGT_VAL_W 13U
711 #define COEX_SOCMINGT_VAL_M 0x00001FFFU
712 #define COEX_SOCMINGT_VAL_S 0U
713 
714 
715 /*-----------------------------------REGISTER------------------------------------
716  Register name: SWGRNTOVR
717  Offset name: COEX_O_SWGRNTOVR
718  Relative address: 0x38
719  Description: SW Grant Override.
720 
721  This register is available to override the grant via SW.
722  Default Value: NA
723 
724  Field: WIFICTL
725  From..to bits: 0...0
726  DefaultValue: NA
727  Access type: read-write
728  Description: wifi grant override control.
729 
730 */
731 #define COEX_SWGRNTOVR_WIFICTL 0x00000001U
732 #define COEX_SWGRNTOVR_WIFICTL_M 0x00000001U
733 #define COEX_SWGRNTOVR_WIFICTL_S 0U
734 /*
735 
736  Field: WIFIVAL
737  From..to bits: 1...1
738  DefaultValue: NA
739  Access type: read-write
740  Description: wifi grant override value
741 
742 */
743 #define COEX_SWGRNTOVR_WIFIVAL 0x00000002U
744 #define COEX_SWGRNTOVR_WIFIVAL_M 0x00000002U
745 #define COEX_SWGRNTOVR_WIFIVAL_S 1U
746 /*
747 
748  Field: SOCCTL
749  From..to bits: 2...2
750  DefaultValue: NA
751  Access type: read-write
752  Description: soc grant override control.
753 
754 */
755 #define COEX_SWGRNTOVR_SOCCTL 0x00000004U
756 #define COEX_SWGRNTOVR_SOCCTL_M 0x00000004U
757 #define COEX_SWGRNTOVR_SOCCTL_S 2U
758 /*
759 
760  Field: SOCVAL
761  From..to bits: 3...3
762  DefaultValue: NA
763  Access type: read-write
764  Description: soc grant override value.
765 
766 */
767 #define COEX_SWGRNTOVR_SOCVAL 0x00000008U
768 #define COEX_SWGRNTOVR_SOCVAL_M 0x00000008U
769 #define COEX_SWGRNTOVR_SOCVAL_S 3U
770 /*
771 
772  Field: BLECTL
773  From..to bits: 4...4
774  DefaultValue: NA
775  Access type: read-write
776  Description: BLE grant override control.
777 
778 */
779 #define COEX_SWGRNTOVR_BLECTL 0x00000010U
780 #define COEX_SWGRNTOVR_BLECTL_M 0x00000010U
781 #define COEX_SWGRNTOVR_BLECTL_S 4U
782 /*
783 
784  Field: BLEVAL
785  From..to bits: 5...5
786  DefaultValue: NA
787  Access type: read-write
788  Description: BLE grant override value.
789 
790 */
791 #define COEX_SWGRNTOVR_BLEVAL 0x00000020U
792 #define COEX_SWGRNTOVR_BLEVAL_M 0x00000020U
793 #define COEX_SWGRNTOVR_BLEVAL_S 5U
794 
795 
796 /*-----------------------------------REGISTER------------------------------------
797  Register name: BLEMAXGT
798  Offset name: COEX_O_BLEMAXGT
799  Relative address: 0x3C
800  Description: BLE Max Grant Time.
801 
802  This register is available is to program ble maximum grant time. This register is static configuration.
803  Default Value: NA
804 
805  Field: VAL
806  From..to bits: 0...13
807  DefaultValue: NA
808  Access type: read-write
809  Description: BLE max grant time.
810 
811 */
812 #define COEX_BLEMAXGT_VAL_W 14U
813 #define COEX_BLEMAXGT_VAL_M 0x00003FFFU
814 #define COEX_BLEMAXGT_VAL_S 0U
815 
816 
817 /*-----------------------------------REGISTER------------------------------------
818  Register name: SOCMAXGT
819  Offset name: COEX_O_SOCMAXGT
820  Relative address: 0x40
821  Description: SOC Max Grant Time.
822 
823  This register is available is to program soc maximum grant time. This register is static configuration.
824  Default Value: NA
825 
826  Field: VAL
827  From..to bits: 0...13
828  DefaultValue: NA
829  Access type: read-write
830  Description: SOC max grant time.
831 
832 */
833 #define COEX_SOCMAXGT_VAL_W 14U
834 #define COEX_SOCMAXGT_VAL_M 0x00003FFFU
835 #define COEX_SOCMAXGT_VAL_S 0U
836 
837 
838 /*-----------------------------------REGISTER------------------------------------
839  Register name: BLET2TIME
840  Offset name: COEX_O_BLET2TIME
841  Relative address: 0x44
842  Description: BLE T2 Time.
843 
844  This register is available is to program ble T2 time. This register is static configuration.
845  Default Value: NA
846 
847  Field: VAL
848  From..to bits: 0...5
849  DefaultValue: NA
850  Access type: read-write
851  Description: BLE T2 time.
852 
853 */
854 #define COEX_BLET2TIME_VAL_W 6U
855 #define COEX_BLET2TIME_VAL_M 0x0000003FU
856 #define COEX_BLET2TIME_VAL_S 0U
857 
858 
859 /*-----------------------------------REGISTER------------------------------------
860  Register name: SOCT2TIME
861  Offset name: COEX_O_SOCT2TIME
862  Relative address: 0x48
863  Description: SOC T2 Time.
864 
865  This register is available is to program soc T2 time. This register is static configuration.
866  Default Value: NA
867 
868  Field: VAL
869  From..to bits: 0...5
870  DefaultValue: NA
871  Access type: read-write
872  Description: SOC T2 time.
873 
874 */
875 #define COEX_SOCT2TIME_VAL_W 6U
876 #define COEX_SOCT2TIME_VAL_M 0x0000003FU
877 #define COEX_SOCT2TIME_VAL_S 0U
878 
879 
880 /*-----------------------------------REGISTER------------------------------------
881  Register name: W2BDLY
882  Offset name: COEX_O_W2BDLY
883  Relative address: 0x4C
884  Description: WIFI to BLE Grant Delay.
885 
886  This register is available is to program wifi to ble grant delay time. This register is static configuration.
887  Default Value: NA
888 
889  Field: VAL
890  From..to bits: 0...7
891  DefaultValue: NA
892  Access type: read-write
893  Description: WIFI to BLE grant delay time.
894 
895 */
896 #define COEX_W2BDLY_VAL_W 8U
897 #define COEX_W2BDLY_VAL_M 0x000000FFU
898 #define COEX_W2BDLY_VAL_S 0U
899 
900 
901 /*-----------------------------------REGISTER------------------------------------
902  Register name: W2SDLY
903  Offset name: COEX_O_W2SDLY
904  Relative address: 0x50
905  Description: WIFI to SOC Grant Delay.
906 
907  This register is available is to program wifi to soc grant delay time. This register is static configuration.
908  Default Value: NA
909 
910  Field: VAL
911  From..to bits: 0...7
912  DefaultValue: NA
913  Access type: read-write
914  Description: WIFI to SOC grant delay time.
915 
916 */
917 #define COEX_W2SDLY_VAL_W 8U
918 #define COEX_W2SDLY_VAL_M 0x000000FFU
919 #define COEX_W2SDLY_VAL_S 0U
920 
921 
922 /*-----------------------------------REGISTER------------------------------------
923  Register name: B2SDLY
924  Offset name: COEX_O_B2SDLY
925  Relative address: 0x54
926  Description: BLE to SOC Grant Delay.
927 
928  This register is available is to program ble to soc grant delay time. This register is static configuration.
929  Default Value: NA
930 
931  Field: VAL
932  From..to bits: 0...7
933  DefaultValue: NA
934  Access type: read-write
935  Description: BLE to SOC grant delay time.
936 
937 */
938 #define COEX_B2SDLY_VAL_W 8U
939 #define COEX_B2SDLY_VAL_M 0x000000FFU
940 #define COEX_B2SDLY_VAL_S 0U
941 
942 
943 /*-----------------------------------REGISTER------------------------------------
944  Register name: B2WDLY
945  Offset name: COEX_O_B2WDLY
946  Relative address: 0x58
947  Description: BLE to WIFI Grant Delay.
948 
949  This register is available is to program ble to wifi grant delay time. This register is static configuration.
950  Default Value: NA
951 
952  Field: VAL
953  From..to bits: 0...7
954  DefaultValue: NA
955  Access type: read-write
956  Description: BLE to WIFI grant delay time.
957 
958 */
959 #define COEX_B2WDLY_VAL_W 8U
960 #define COEX_B2WDLY_VAL_M 0x000000FFU
961 #define COEX_B2WDLY_VAL_S 0U
962 
963 
964 /*-----------------------------------REGISTER------------------------------------
965  Register name: S2WDLY
966  Offset name: COEX_O_S2WDLY
967  Relative address: 0x5C
968  Description: SOC to WIFI Grant Delay.
969 
970  This register is available is to program soc to wifi grant delay time. This register is static configuration.
971  Default Value: NA
972 
973  Field: VAL
974  From..to bits: 0...7
975  DefaultValue: NA
976  Access type: read-write
977  Description: SOC to WIFI grant delay time.
978 
979 */
980 #define COEX_S2WDLY_VAL_W 8U
981 #define COEX_S2WDLY_VAL_M 0x000000FFU
982 #define COEX_S2WDLY_VAL_S 0U
983 
984 
985 /*-----------------------------------REGISTER------------------------------------
986  Register name: S2BDLY
987  Offset name: COEX_O_S2BDLY
988  Relative address: 0x60
989  Description: SOC to BLE Grant Delay.
990 
991  This register is available is to program soc to ble grant delay time. This register is static configuration.
992  Default Value: NA
993 
994  Field: VAL
995  From..to bits: 0...7
996  DefaultValue: NA
997  Access type: read-write
998  Description: SOC to BLE grant delay time.
999 
1000 */
1001 #define COEX_S2BDLY_VAL_W 8U
1002 #define COEX_S2BDLY_VAL_M 0x000000FFU
1003 #define COEX_S2BDLY_VAL_S 0U
1004 
1005 
1006 /*-----------------------------------REGISTER------------------------------------
1007  Register name: DBGREP
1008  Offset name: COEX_O_DBGREP
1009  Relative address: 0x64
1010  Description: Debug Report Register.
1011 
1012  This register captures state of COEX.
1013  Default Value: NA
1014 
1015  Field: WIFIPRILVL
1016  From..to bits: 0...3
1017  DefaultValue: NA
1018  Access type: read-only
1019  Description: This field of the register captures the wifi_prio_lvl.
1020 
1021 */
1022 #define COEX_DBGREP_WIFIPRILVL_W 4U
1023 #define COEX_DBGREP_WIFIPRILVL_M 0x0000000FU
1024 #define COEX_DBGREP_WIFIPRILVL_S 0U
1025 /*
1026 
1027  Field: BLEPRILVL
1028  From..to bits: 4...7
1029  DefaultValue: NA
1030  Access type: read-only
1031  Description: This field of the register captures the ble_prio_lvl.
1032 
1033 */
1034 #define COEX_DBGREP_BLEPRILVL_W 4U
1035 #define COEX_DBGREP_BLEPRILVL_M 0x000000F0U
1036 #define COEX_DBGREP_BLEPRILVL_S 4U
1037 /*
1038 
1039  Field: SOCPRILVL
1040  From..to bits: 8...11
1041  DefaultValue: NA
1042  Access type: read-only
1043  Description: This field of the register captures the soc_prio_lvl.
1044 
1045 */
1046 #define COEX_DBGREP_SOCPRILVL_W 4U
1047 #define COEX_DBGREP_SOCPRILVL_M 0x00000F00U
1048 #define COEX_DBGREP_SOCPRILVL_S 8U
1049 /*
1050 
1051  Field: WIFIGRNTM
1052  From..to bits: 12...12
1053  DefaultValue: NA
1054  Access type: read-only
1055  Description: This field of the register captures the wifi_grant_m.
1056 
1057 */
1058 #define COEX_DBGREP_WIFIGRNTM 0x00001000U
1059 #define COEX_DBGREP_WIFIGRNTM_M 0x00001000U
1060 #define COEX_DBGREP_WIFIGRNTM_S 12U
1061 /*
1062 
1063  Field: BLEGRNTM
1064  From..to bits: 13...13
1065  DefaultValue: NA
1066  Access type: read-only
1067  Description: This field of the register captures the ble_grant_m.
1068 
1069 */
1070 #define COEX_DBGREP_BLEGRNTM 0x00002000U
1071 #define COEX_DBGREP_BLEGRNTM_M 0x00002000U
1072 #define COEX_DBGREP_BLEGRNTM_S 13U
1073 /*
1074 
1075  Field: SOCGRNTM
1076  From..to bits: 14...14
1077  DefaultValue: NA
1078  Access type: read-only
1079  Description: This field of the register captures the soc_grant_m.
1080 
1081 */
1082 #define COEX_DBGREP_SOCGRNTM 0x00004000U
1083 #define COEX_DBGREP_SOCGRNTM_M 0x00004000U
1084 #define COEX_DBGREP_SOCGRNTM_S 14U
1085 /*
1086 
1087  Field: WIFIGRNT
1088  From..to bits: 15...15
1089  DefaultValue: NA
1090  Access type: read-only
1091  Description: This field of the register captures the wifi_grant.
1092 
1093 */
1094 #define COEX_DBGREP_WIFIGRNT 0x00008000U
1095 #define COEX_DBGREP_WIFIGRNT_M 0x00008000U
1096 #define COEX_DBGREP_WIFIGRNT_S 15U
1097 /*
1098 
1099  Field: BLEGRNT
1100  From..to bits: 16...16
1101  DefaultValue: NA
1102  Access type: read-only
1103  Description: This field of the register captures the ble_grant.
1104 
1105 */
1106 #define COEX_DBGREP_BLEGRNT 0x00010000U
1107 #define COEX_DBGREP_BLEGRNT_M 0x00010000U
1108 #define COEX_DBGREP_BLEGRNT_S 16U
1109 /*
1110 
1111  Field: SOCGRNT
1112  From..to bits: 17...17
1113  DefaultValue: NA
1114  Access type: read-only
1115  Description: This field of the register captures the soc_grant.
1116 
1117 */
1118 #define COEX_DBGREP_SOCGRNT 0x00020000U
1119 #define COEX_DBGREP_SOCGRNT_M 0x00020000U
1120 #define COEX_DBGREP_SOCGRNT_S 17U
1121 
1122 
1123 /*-----------------------------------REGISTER------------------------------------
1124  Register name: WIFILOG
1125  Offset name: COEX_O_WIFILOG
1126  Relative address: 0x68
1127  Description: WIFI Request and Grant Log Register.
1128 
1129  This register keeps a log of wifi request and grant.
1130  Default Value: NA
1131 
1132  Field: REQASRT
1133  From..to bits: 0...7
1134  DefaultValue: NA
1135  Access type: read-only
1136  Description: This field of the register captures the number of times the wifi request was asserted since last reset.
1137 
1138 */
1139 #define COEX_WIFILOG_REQASRT_W 8U
1140 #define COEX_WIFILOG_REQASRT_M 0x000000FFU
1141 #define COEX_WIFILOG_REQASRT_S 0U
1142 /*
1143 
1144  Field: REQDEASRT
1145  From..to bits: 8...15
1146  DefaultValue: NA
1147  Access type: read-only
1148  Description: This field of the register captures the number of times the wifi request was dropped/deasserted since last reset.
1149 
1150 */
1151 #define COEX_WIFILOG_REQDEASRT_W 8U
1152 #define COEX_WIFILOG_REQDEASRT_M 0x0000FF00U
1153 #define COEX_WIFILOG_REQDEASRT_S 8U
1154 /*
1155 
1156  Field: GRNTASRT
1157  From..to bits: 16...23
1158  DefaultValue: NA
1159  Access type: read-only
1160  Description: This field of the register captures the number of times the wifi grant was asserted since last reset.
1161 
1162 */
1163 #define COEX_WIFILOG_GRNTASRT_W 8U
1164 #define COEX_WIFILOG_GRNTASRT_M 0x00FF0000U
1165 #define COEX_WIFILOG_GRNTASRT_S 16U
1166 /*
1167 
1168  Field: GRNTDEASRT
1169  From..to bits: 24...31
1170  DefaultValue: NA
1171  Access type: read-only
1172  Description: This field of the register captures the number of times the wifi grant was deasserted since last reset.
1173 
1174 */
1175 #define COEX_WIFILOG_GRNTDEASRT_W 8U
1176 #define COEX_WIFILOG_GRNTDEASRT_M 0xFF000000U
1177 #define COEX_WIFILOG_GRNTDEASRT_S 24U
1178 
1179 
1180 /*-----------------------------------REGISTER------------------------------------
1181  Register name: BLELOG
1182  Offset name: COEX_O_BLELOG
1183  Relative address: 0x6C
1184  Description: BLE Request and Grant Log Register.
1185 
1186  This register keeps a log of ble request and grant.
1187  Default Value: NA
1188 
1189  Field: REQASRT
1190  From..to bits: 0...7
1191  DefaultValue: NA
1192  Access type: read-only
1193  Description: This field of the register captures the number of times the ble request was asserted since last reset.
1194 
1195 */
1196 #define COEX_BLELOG_REQASRT_W 8U
1197 #define COEX_BLELOG_REQASRT_M 0x000000FFU
1198 #define COEX_BLELOG_REQASRT_S 0U
1199 /*
1200 
1201  Field: REQDEASRT
1202  From..to bits: 8...15
1203  DefaultValue: NA
1204  Access type: read-only
1205  Description: This field of the register captures the number of times the ble request was dropped/deasserted since last reset.
1206 
1207 */
1208 #define COEX_BLELOG_REQDEASRT_W 8U
1209 #define COEX_BLELOG_REQDEASRT_M 0x0000FF00U
1210 #define COEX_BLELOG_REQDEASRT_S 8U
1211 /*
1212 
1213  Field: GRNTASRT
1214  From..to bits: 16...23
1215  DefaultValue: NA
1216  Access type: read-only
1217  Description: This field of the register captures the number of times the ble grant was asserted since last reset.
1218 
1219 */
1220 #define COEX_BLELOG_GRNTASRT_W 8U
1221 #define COEX_BLELOG_GRNTASRT_M 0x00FF0000U
1222 #define COEX_BLELOG_GRNTASRT_S 16U
1223 /*
1224 
1225  Field: GRNTDEASRT
1226  From..to bits: 24...31
1227  DefaultValue: NA
1228  Access type: read-only
1229  Description: This field of the register captures the number of times the ble grant was deasserted since last reset.
1230 
1231 */
1232 #define COEX_BLELOG_GRNTDEASRT_W 8U
1233 #define COEX_BLELOG_GRNTDEASRT_M 0xFF000000U
1234 #define COEX_BLELOG_GRNTDEASRT_S 24U
1235 
1236 
1237 /*-----------------------------------REGISTER------------------------------------
1238  Register name: SOCLOG
1239  Offset name: COEX_O_SOCLOG
1240  Relative address: 0x70
1241  Description: SOC Request and Grant Log Register.
1242 
1243  This register keeps a log of soc request and grant.
1244  Default Value: NA
1245 
1246  Field: REQASRT
1247  From..to bits: 0...7
1248  DefaultValue: NA
1249  Access type: read-only
1250  Description: This field of the register captures the number of times the soc request was asserted since last reset.
1251 
1252 */
1253 #define COEX_SOCLOG_REQASRT_W 8U
1254 #define COEX_SOCLOG_REQASRT_M 0x000000FFU
1255 #define COEX_SOCLOG_REQASRT_S 0U
1256 /*
1257 
1258  Field: REQDEASRT
1259  From..to bits: 8...15
1260  DefaultValue: NA
1261  Access type: read-only
1262  Description: This field of the register captures the number of times the soc request was dropped/deasserted since last reset.
1263 
1264 */
1265 #define COEX_SOCLOG_REQDEASRT_W 8U
1266 #define COEX_SOCLOG_REQDEASRT_M 0x0000FF00U
1267 #define COEX_SOCLOG_REQDEASRT_S 8U
1268 /*
1269 
1270  Field: GRNTASRT
1271  From..to bits: 16...23
1272  DefaultValue: NA
1273  Access type: read-only
1274  Description: This field of the register captures the number of times the soc grant was asserted since last reset.
1275 
1276 */
1277 #define COEX_SOCLOG_GRNTASRT_W 8U
1278 #define COEX_SOCLOG_GRNTASRT_M 0x00FF0000U
1279 #define COEX_SOCLOG_GRNTASRT_S 16U
1280 /*
1281 
1282  Field: GRNTDEASRT
1283  From..to bits: 24...31
1284  DefaultValue: NA
1285  Access type: read-only
1286  Description: This field of the register captures the number of times the soc grant was deasserted since last reset.
1287 
1288 */
1289 #define COEX_SOCLOG_GRNTDEASRT_W 8U
1290 #define COEX_SOCLOG_GRNTDEASRT_M 0xFF000000U
1291 #define COEX_SOCLOG_GRNTDEASRT_S 24U
1292 
1293 
1294 /*-----------------------------------REGISTER------------------------------------
1295  Register name: WIFIPRIREJ
1296  Offset name: COEX_O_WIFIPRIREJ
1297  Relative address: 0x78
1298  Description: WIFI Priority Reject Log Register.
1299 
1300  This register keeps a log of number of times wifi prio was rejected.
1301  Default Value: NA
1302 
1303  Field: LOGVAL
1304  From..to bits: 0...7
1305  DefaultValue: NA
1306  Access type: read-only
1307  Description: This field of the register captures the number of times the soc request was asserted since last reset.
1308 
1309 */
1310 #define COEX_WIFIPRIREJ_LOGVAL_W 8U
1311 #define COEX_WIFIPRIREJ_LOGVAL_M 0x000000FFU
1312 #define COEX_WIFIPRIREJ_LOGVAL_S 0U
1313 
1314 
1315 /*-----------------------------------REGISTER------------------------------------
1316  Register name: SOCPRIREJ
1317  Offset name: COEX_O_SOCPRIREJ
1318  Relative address: 0x7C
1319  Description: SOC Priority Reject Log Register.
1320 
1321  This register keeps a log of number of times soc prio was rejected.
1322  Default Value: NA
1323 
1324  Field: HILOGVAL
1325  From..to bits: 0...7
1326  DefaultValue: NA
1327  Access type: read-only
1328  Description: This field of the register captures the number of times the soc high priority was rejected since last reset.
1329 
1330 */
1331 #define COEX_SOCPRIREJ_HILOGVAL_W 8U
1332 #define COEX_SOCPRIREJ_HILOGVAL_M 0x000000FFU
1333 #define COEX_SOCPRIREJ_HILOGVAL_S 0U
1334 /*
1335 
1336  Field: LOLOGVAL
1337  From..to bits: 8...15
1338  DefaultValue: NA
1339  Access type: read-only
1340  Description: This field of the register captures the number of times the soc low priority was rejected since last reset.
1341 
1342 */
1343 #define COEX_SOCPRIREJ_LOLOGVAL_W 8U
1344 #define COEX_SOCPRIREJ_LOLOGVAL_M 0x0000FF00U
1345 #define COEX_SOCPRIREJ_LOLOGVAL_S 8U
1346 
1347 
1348 /*-----------------------------------REGISTER------------------------------------
1349  Register name: BLEPRIREJ
1350  Offset name: COEX_O_BLEPRIREJ
1351  Relative address: 0x80
1352  Description: BLE Priority Reject Log Register.
1353 
1354  This register keeps a log of number of times ble prio was rejected.
1355  Default Value: NA
1356 
1357  Field: TXHILOG
1358  From..to bits: 0...7
1359  DefaultValue: NA
1360  Access type: read-only
1361  Description: This field of the register captures the number of times the ble tx high priority was rejected since last reset.
1362 
1363 */
1364 #define COEX_BLEPRIREJ_TXHILOG_W 8U
1365 #define COEX_BLEPRIREJ_TXHILOG_M 0x000000FFU
1366 #define COEX_BLEPRIREJ_TXHILOG_S 0U
1367 /*
1368 
1369  Field: TXLOLOG
1370  From..to bits: 8...15
1371  DefaultValue: NA
1372  Access type: read-only
1373  Description: This field of the register captures the number of times the ble tx low priority was rejected since last reset.
1374 
1375 */
1376 #define COEX_BLEPRIREJ_TXLOLOG_W 8U
1377 #define COEX_BLEPRIREJ_TXLOLOG_M 0x0000FF00U
1378 #define COEX_BLEPRIREJ_TXLOLOG_S 8U
1379 /*
1380 
1381  Field: RXHILOG
1382  From..to bits: 16...23
1383  DefaultValue: NA
1384  Access type: read-only
1385  Description: This field of the register captures the number of times the ble rx high priority was rejected since last reset.
1386 
1387 */
1388 #define COEX_BLEPRIREJ_RXHILOG_W 8U
1389 #define COEX_BLEPRIREJ_RXHILOG_M 0x00FF0000U
1390 #define COEX_BLEPRIREJ_RXHILOG_S 16U
1391 /*
1392 
1393  Field: RXLOLOG
1394  From..to bits: 24...31
1395  DefaultValue: NA
1396  Access type: read-only
1397  Description: This field of the register captures the number of times the ble rx low priority was rejected since last reset.
1398 
1399 */
1400 #define COEX_BLEPRIREJ_RXLOLOG_W 8U
1401 #define COEX_BLEPRIREJ_RXLOLOG_M 0xFF000000U
1402 #define COEX_BLEPRIREJ_RXLOLOG_S 24U
1403 
1404 
1405 /*-----------------------------------REGISTER------------------------------------
1406  Register name: TIMESTAMP
1407  Offset name: COEX_O_TIMESTAMP
1408  Relative address: 0x84
1409  Description: Timestamp Register.
1410 
1411  This register captures the timestamp (from TSF counter) when the coex_irq was generated.
1412  Default Value: NA
1413 
1414  Field: TS
1415  From..to bits: 0...31
1416  DefaultValue: NA
1417  Access type: read-only
1418  Description: This register captures the timestamp (from TSF counter) when the coex_irq was generated since last reset.
1419 
1420 */
1421 #define COEX_TIMESTAMP_TS_W 32U
1422 #define COEX_TIMESTAMP_TS_M 0xFFFFFFFFU
1423 #define COEX_TIMESTAMP_TS_S 0U
1424 
1425 
1426 /*-----------------------------------REGISTER------------------------------------
1427  Register name: WIFIANTLOG
1428  Offset name: COEX_O_WIFIANTLOG
1429  Relative address: 0x88
1430  Description: WIFI Grant During Dual Antenna Log Register.
1431 
1432  This register keeps a log of number of times ble prio was rejected.
1433  Default Value: NA
1434 
1435  Field: DALOG
1436  From..to bits: 0...7
1437  DefaultValue: NA
1438  Access type: read-only
1439  Description: This field of the register captures the number of times the wifi grant was deasserted during rx_only or alt_band mode since last reset.
1440 
1441 */
1442 #define COEX_WIFIANTLOG_DALOG_W 8U
1443 #define COEX_WIFIANTLOG_DALOG_M 0x000000FFU
1444 #define COEX_WIFIANTLOG_DALOG_S 0U
1445 /*
1446 
1447  Field: ALOG
1448  From..to bits: 8...15
1449  DefaultValue: NA
1450  Access type: read-only
1451  Description: This field of the register captures the number of times the wifi grant was deasserted during rx_only or alt_band mode since last reset.
1452 
1453 */
1454 #define COEX_WIFIANTLOG_ALOG_W 8U
1455 #define COEX_WIFIANTLOG_ALOG_M 0x0000FF00U
1456 #define COEX_WIFIANTLOG_ALOG_S 8U
1457 
1458 
1459 /*-----------------------------------REGISTER------------------------------------
1460  Register name: IRQEVTMSK
1461  Offset name: COEX_O_IRQEVTMSK
1462  Relative address: 0x8C
1463  Description: IRQ Event Masking.
1464 
1465  This register can be configured to mask the IRQ event.
1466  Default Value: NA
1467 
1468  Field: WIFIGRNTM
1469  From..to bits: 0...0
1470  DefaultValue: NA
1471  Access type: read-write
1472  Description: This field of the register is used to mask the interrupt generation caused due to changes in wifi_grant_m. 1--> mask the IRQ; 0 --> Unmask the IRQ
1473 
1474 */
1475 #define COEX_IRQEVTMSK_WIFIGRNTM 0x00000001U
1476 #define COEX_IRQEVTMSK_WIFIGRNTM_M 0x00000001U
1477 #define COEX_IRQEVTMSK_WIFIGRNTM_S 0U
1478 /*
1479 
1480  Field: BLEGRNTM
1481  From..to bits: 1...1
1482  DefaultValue: NA
1483  Access type: read-write
1484  Description: This field of the register is used to mask the interrupt generation caused due to changes in ble_grant_m. 1--> mask the IRQ; 0 --> Unmask the IRQ
1485 
1486 */
1487 #define COEX_IRQEVTMSK_BLEGRNTM 0x00000002U
1488 #define COEX_IRQEVTMSK_BLEGRNTM_M 0x00000002U
1489 #define COEX_IRQEVTMSK_BLEGRNTM_S 1U
1490 /*
1491 
1492  Field: SOCGRNTM
1493  From..to bits: 2...2
1494  DefaultValue: NA
1495  Access type: read-write
1496  Description: This field of the register is used to mask the interrupt generation caused due to changes in soc_grant_m. 1--> mask the IRQ; 0 --> Unmask the IRQ
1497 
1498 */
1499 #define COEX_IRQEVTMSK_SOCGRNTM 0x00000004U
1500 #define COEX_IRQEVTMSK_SOCGRNTM_M 0x00000004U
1501 #define COEX_IRQEVTMSK_SOCGRNTM_S 2U
1502 /*
1503 
1504  Field: WIFIGRNT
1505  From..to bits: 3...3
1506  DefaultValue: NA
1507  Access type: read-write
1508  Description: This field of the register is used to mask the interrupt generation caused due to changes in wifi_grant. 1--> mask the IRQ; 0 --> Unmask the IRQ
1509 
1510 */
1511 #define COEX_IRQEVTMSK_WIFIGRNT 0x00000008U
1512 #define COEX_IRQEVTMSK_WIFIGRNT_M 0x00000008U
1513 #define COEX_IRQEVTMSK_WIFIGRNT_S 3U
1514 /*
1515 
1516  Field: BLEGRNT
1517  From..to bits: 4...4
1518  DefaultValue: NA
1519  Access type: read-write
1520  Description: This field of the register is used to mask the interrupt generation caused due to changes in ble_grant. 1--> mask the IRQ; 0 --> Unmask the IRQ
1521 
1522 */
1523 #define COEX_IRQEVTMSK_BLEGRNT 0x00000010U
1524 #define COEX_IRQEVTMSK_BLEGRNT_M 0x00000010U
1525 #define COEX_IRQEVTMSK_BLEGRNT_S 4U
1526 /*
1527 
1528  Field: SOCGRNT
1529  From..to bits: 5...5
1530  DefaultValue: NA
1531  Access type: read-write
1532  Description: This field of the register is used to mask the interrupt generation caused due to changes in soc_grant. 1--> mask the IRQ; 0 --> Unmask the IRQ
1533 
1534 */
1535 #define COEX_IRQEVTMSK_SOCGRNT 0x00000020U
1536 #define COEX_IRQEVTMSK_SOCGRNT_M 0x00000020U
1537 #define COEX_IRQEVTMSK_SOCGRNT_S 5U
1538 
1539 
1540 /*-----------------------------------REGISTER------------------------------------
1541  Register name: ANTCTLCFG1
1542  Offset name: COEX_O_ANTCTLCFG1
1543  Relative address: 0xC0
1544  Description: Antenna Control Configuration 1.
1545  Default Value: NA
1546 
1547  Field: GRANTOV
1548  From..to bits: 0...2
1549  DefaultValue: NA
1550  Access type: read-write
1551  Description: 0- External enable
1552  1- BLE only enable
1553  2- WiFi only enable
1554 
1555 */
1556 #define COEX_ANTCTLCFG1_GRANTOV_W 3U
1557 #define COEX_ANTCTLCFG1_GRANTOV_M 0x00000007U
1558 #define COEX_ANTCTLCFG1_GRANTOV_S 0U
1559 /*
1560 
1561  Field: SWENGRNT
1562  From..to bits: 4...6
1563  DefaultValue: NA
1564  Access type: read-write
1565  Description: 0- External mask mode
1566  1- BLE Only
1567  2- WiFi Only
1568 
1569 */
1570 #define COEX_ANTCTLCFG1_SWENGRNT_W 3U
1571 #define COEX_ANTCTLCFG1_SWENGRNT_M 0x00000070U
1572 #define COEX_ANTCTLCFG1_SWENGRNT_S 4U
1573 /*
1574 
1575  Field: ANTCTLOV
1576  From..to bits: 8...9
1577  DefaultValue: NA
1578  Access type: read-write
1579  Description: antenna control Mux override <2>
1580 
1581 */
1582 #define COEX_ANTCTLCFG1_ANTCTLOV_W 2U
1583 #define COEX_ANTCTLCFG1_ANTCTLOV_M 0x00000300U
1584 #define COEX_ANTCTLCFG1_ANTCTLOV_S 8U
1585 /*
1586 
1587  Field: SWANTCTL
1588  From..to bits: 12...15
1589  DefaultValue: NA
1590  Access type: read-write
1591  Description: SW Enable register <4>
1592 
1593 */
1594 #define COEX_ANTCTLCFG1_SWANTCTL_W 4U
1595 #define COEX_ANTCTLCFG1_SWANTCTL_M 0x0000F000U
1596 #define COEX_ANTCTLCFG1_SWANTCTL_S 12U
1597 /*
1598 
1599  Field: SWIDX
1600  From..to bits: 16...17
1601  DefaultValue: NA
1602  Access type: read-write
1603  Description: Bit 0 - SW index value
1604  Bit 1 - SW index override
1605 
1606 */
1607 #define COEX_ANTCTLCFG1_SWIDX_W 2U
1608 #define COEX_ANTCTLCFG1_SWIDX_M 0x00030000U
1609 #define COEX_ANTCTLCFG1_SWIDX_S 16U
1610 /*
1611 
1612  Field: GPIOWIFIEX
1613  From..to bits: 20...21
1614  DefaultValue: NA
1615  Access type: read-write
1616  Description: FW padding for Wifi Core inputs for output mux
1617 
1618 */
1619 #define COEX_ANTCTLCFG1_GPIOWIFIEX_W 2U
1620 #define COEX_ANTCTLCFG1_GPIOWIFIEX_M 0x00300000U
1621 #define COEX_ANTCTLCFG1_GPIOWIFIEX_S 20U
1622 
1623 
1624 /*-----------------------------------REGISTER------------------------------------
1625  Register name: ANTCTLCFG2
1626  Offset name: COEX_O_ANTCTLCFG2
1627  Relative address: 0xC4
1628  Description: Antenna Control Configuration 2.
1629  Default Value: NA
1630 
1631  Field: ANTIDX0
1632  From..to bits: 0...3
1633  DefaultValue: NA
1634  Access type: read-write
1635  Description: index 0 - GPIO ANT Polarity 6x4. Mem is statically set on init
1636 
1637 */
1638 #define COEX_ANTCTLCFG2_ANTIDX0_W 4U
1639 #define COEX_ANTCTLCFG2_ANTIDX0_M 0x0000000FU
1640 #define COEX_ANTCTLCFG2_ANTIDX0_S 0U
1641 /*
1642 
1643  Field: ANTIDX1
1644  From..to bits: 4...7
1645  DefaultValue: NA
1646  Access type: read-write
1647  Description: index 1 - GPIO ANT Polarity 6x4. Mem is statically set on init
1648 
1649 */
1650 #define COEX_ANTCTLCFG2_ANTIDX1_W 4U
1651 #define COEX_ANTCTLCFG2_ANTIDX1_M 0x000000F0U
1652 #define COEX_ANTCTLCFG2_ANTIDX1_S 4U
1653 /*
1654 
1655  Field: ANTIDX2
1656  From..to bits: 8...11
1657  DefaultValue: NA
1658  Access type: read-write
1659  Description: index 2 - GPIO ANT Polarity 6x4. Mem is statically set on init
1660 
1661 */
1662 #define COEX_ANTCTLCFG2_ANTIDX2_W 4U
1663 #define COEX_ANTCTLCFG2_ANTIDX2_M 0x00000F00U
1664 #define COEX_ANTCTLCFG2_ANTIDX2_S 8U
1665 /*
1666 
1667  Field: ANTIDX3
1668  From..to bits: 12...15
1669  DefaultValue: NA
1670  Access type: read-write
1671  Description: index 3 - GPIO ANT Polarity 6x4. Mem is statically set on init
1672 
1673 */
1674 #define COEX_ANTCTLCFG2_ANTIDX3_W 4U
1675 #define COEX_ANTCTLCFG2_ANTIDX3_M 0x0000F000U
1676 #define COEX_ANTCTLCFG2_ANTIDX3_S 12U
1677 /*
1678 
1679  Field: ANTIDX4
1680  From..to bits: 16...19
1681  DefaultValue: NA
1682  Access type: read-write
1683  Description: index 4 - GPIO ANT Polarity 6x4. Mem is statically set on init
1684 
1685 */
1686 #define COEX_ANTCTLCFG2_ANTIDX4_W 4U
1687 #define COEX_ANTCTLCFG2_ANTIDX4_M 0x000F0000U
1688 #define COEX_ANTCTLCFG2_ANTIDX4_S 16U
1689 /*
1690 
1691  Field: ANTIDX5
1692  From..to bits: 20...23
1693  DefaultValue: NA
1694  Access type: read-write
1695  Description: index 5 - GPIO ANT Polarity 6x4. Mem is statically set on init
1696 
1697 */
1698 #define COEX_ANTCTLCFG2_ANTIDX5_W 4U
1699 #define COEX_ANTCTLCFG2_ANTIDX5_M 0x00F00000U
1700 #define COEX_ANTCTLCFG2_ANTIDX5_S 20U
1701 
1702 
1703 /*-----------------------------------REGISTER------------------------------------
1704  Register name: ANTCTLSTA
1705  Offset name: COEX_O_ANTCTLSTA
1706  Relative address: 0xC8
1707  Description: Antenna Control Status.
1708  Default Value: NA
1709 
1710  Field: ANTSEL0
1711  From..to bits: 0...0
1712  DefaultValue: NA
1713  Access type: read-only
1714  Description: Captures the ant_sel_0 bit.
1715 
1716 */
1717 #define COEX_ANTCTLSTA_ANTSEL0 0x00000001U
1718 #define COEX_ANTCTLSTA_ANTSEL0_M 0x00000001U
1719 #define COEX_ANTCTLSTA_ANTSEL0_S 0U
1720 /*
1721 
1722  Field: ANTSEL1
1723  From..to bits: 1...1
1724  DefaultValue: NA
1725  Access type: read-only
1726  Description: Captures the ant_sel_1 bit.
1727 
1728 */
1729 #define COEX_ANTCTLSTA_ANTSEL1 0x00000002U
1730 #define COEX_ANTCTLSTA_ANTSEL1_M 0x00000002U
1731 #define COEX_ANTCTLSTA_ANTSEL1_S 1U
1732 /*
1733 
1734  Field: ANTSEL2
1735  From..to bits: 2...2
1736  DefaultValue: NA
1737  Access type: read-only
1738  Description: Captures the ant_sel_2 bit .
1739 
1740 */
1741 #define COEX_ANTCTLSTA_ANTSEL2 0x00000004U
1742 #define COEX_ANTCTLSTA_ANTSEL2_M 0x00000004U
1743 #define COEX_ANTCTLSTA_ANTSEL2_S 2U
1744 /*
1745 
1746  Field: ANTSEL3
1747  From..to bits: 3...3
1748  DefaultValue: NA
1749  Access type: read-only
1750  Description: Captures the ant_sel_3 bit.
1751 
1752 */
1753 #define COEX_ANTCTLSTA_ANTSEL3 0x00000008U
1754 #define COEX_ANTCTLSTA_ANTSEL3_M 0x00000008U
1755 #define COEX_ANTCTLSTA_ANTSEL3_S 3U
1756 
1757 #endif /* __HW_COEX_H__*/