#include #include #include #include "stubs.h" #ifdef CONFIG_HAS_CC13X2_CC26X2_SDK #include "ti/devices/cc13x2_cc26x2/driverlib/interrupt.h" #include "ti/drivers/power/PowerCC26X2.h" #endif /* CONFIG_HAS_CC13X2_CC26X2_SDK */ #ifdef CONFIG_SOC_CC1352R #define DeviceFamily_CC13X2 #endif /* CONFIG_SOC_CC1352R */ #ifdef CONFIG_SOC_CC2652R #define DeviceFamily_CC26X2 #endif /* CONFIG_SOC_CC2652R */ #include "ti/drivers/rf/RF.h" #ifdef CONFIG_HAS_CC13X2_CC26X2_SDK const RFCC26XX_HWAttrsV2 RFCC26XX_hwAttrs = { .hwiPriority = INT_PRI_LEVEL7, // Lowest HWI priority: INT_PRI_LEVEL7 // Highest HWI priority: INT_PRI_LEVEL1 .swiPriority = 0, // Lowest SWI priority: 0 // Highest SWI priority: Swi.numPriorities - 1 .xoscHfAlwaysNeeded = true // Power driver always starts XOSC-HF: true // RF driver will request XOSC-HF if needed: false }; #endif /* CONFIG_HAS_CC13X2_CC26X2_SDK */