1 #include <stdbool.h>
2 #include <stdint.h>
3 
4 #include <zephyr/kernel.h>
5 
6 #include "stubs.h"
7 
8 #if defined(CONFIG_HAS_CC13X2_CC26X2_SDK) || defined(CONFIG_HAS_CC13X2X7_CC26X2X7_SDK)
9 #include "ti/devices/cc13x2_cc26x2/driverlib/interrupt.h"
10 #include "ti/drivers/power/PowerCC26X2.h"
11 #endif /* CONFIG_HAS_CC13X2_CC26X2_SDK */
12 
13 #include "ti/drivers/rf/RF.h"
14 
15 #if (defined(CONFIG_HAS_CC13X2_CC26X2_SDK) || defined(CONFIG_HAS_CC13X2X7_CC26X2X7_SDK)) && !defined(CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS)
16 
17 const RFCC26XX_HWAttrsV2 RFCC26XX_hwAttrs = {
18     .hwiPriority        = INT_PRI_LEVEL7,  // Lowest HWI priority:  INT_PRI_LEVEL7
19                                            // Highest HWI priority: INT_PRI_LEVEL1
20 
21     .swiPriority        = 0,               // Lowest SWI priority:  0
22                                            // Highest SWI priority: Swi.numPriorities - 1
23 
24     .xoscHfAlwaysNeeded = true             // Power driver always starts XOSC-HF:       true
25                                            // RF driver will request XOSC-HF if needed: false
26 };
27 
28 #endif /* defined(CONFIG_HAS_CC13X2_CC26X2_SDK) || defined(CONFIG_HAS_CC13X2X7_CC26X2X7_SDK) && !CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS */
29