48 #ifndef __CHIP_INFO_H__
49 #define __CHIP_INFO_H__
64 #include <inc/hw_types.h>
65 #include <inc/hw_memmap.h>
66 #include <inc/hw_fcfg1.h>
82 #define ChipInfo_GetSupportedProtocol_BV NOROM_ChipInfo_GetSupportedProtocol_BV
83 #define ChipInfo_GetPackageType NOROM_ChipInfo_GetPackageType
84 #define ChipInfo_GetChipType NOROM_ChipInfo_GetChipType
85 #define ChipInfo_GetChipFamily NOROM_ChipInfo_GetChipFamily
86 #define ChipInfo_GetHwRevision NOROM_ChipInfo_GetHwRevision
87 #define ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated NOROM_ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated
262 __STATIC_INLINE uint32_t
280 __STATIC_INLINE uint32_t
287 if ( minorRev >= 0x80 ) {
305 __STATIC_INLINE uint32_t
587 #if !defined(DRIVERLIB_NOROM) && !defined(DOXYGEN)
589 #ifdef ROM_ChipInfo_GetSupportedProtocol_BV
590 #undef ChipInfo_GetSupportedProtocol_BV
591 #define ChipInfo_GetSupportedProtocol_BV ROM_ChipInfo_GetSupportedProtocol_BV
593 #ifdef ROM_ChipInfo_GetPackageType
594 #undef ChipInfo_GetPackageType
595 #define ChipInfo_GetPackageType ROM_ChipInfo_GetPackageType
597 #ifdef ROM_ChipInfo_GetChipType
598 #undef ChipInfo_GetChipType
599 #define ChipInfo_GetChipType ROM_ChipInfo_GetChipType
601 #ifdef ROM_ChipInfo_GetChipFamily
602 #undef ChipInfo_GetChipFamily
603 #define ChipInfo_GetChipFamily ROM_ChipInfo_GetChipFamily
605 #ifdef ROM_ChipInfo_GetHwRevision
606 #undef ChipInfo_GetHwRevision
607 #define ChipInfo_GetHwRevision ROM_ChipInfo_GetHwRevision
609 #ifdef ROM_ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated
610 #undef ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated
611 #define ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated ROM_ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated
624 #endif // __CHIP_INFO_H__
PackageType_t ChipInfo_GetPackageType(void)
Returns package type.
static bool ChipInfo_PackageTypeIs5x5(void)
Returns true if this is a 5x5mm chip.
static bool ChipInfo_HwRevisionIs_GTEQ_2_2(void)
Returns true if HW revision for this chip is 2.2 or greater.
0 means that this is a CC1310 chip.
None of the known protocols are supported.
static bool ChipInfo_PackageTypeIsWCSP(void)
Returns true if this is a WCSP chip (flip chip).
HwRevision_t
HW revision enumeration.
PackageType_t
Package type enumeration.
static bool ChipInfo_HwRevisionIs_2_0(void)
Returns true if HW revision for this chip is 2.0.
23 means that the chip's HW revision is 2.3
static bool ChipInfo_SupportsBLE(void)
Returns true if the chip supports the BLE protocol.
static bool ChipInfo_HwRevisionIs_GTEQ_2_0(void)
Returns true if HW revision for this chip is 2.0 or greater.
-1 means that the chip's family member is unknown.
static bool ChipInfo_ChipFamilyIsCC26xx_Liz(void)
Returns true if this chip is member of the CC26xx_Liz family.
-1 means that current chip type is unknown.
static bool ChipInfo_HwRevisionIs_GTEQ_2_3(void)
Returns true if HW revision for this chip is 2.3 or greater.
4 means that this is a WCSP chip (flip chip).
Bit[3] set, indicates that proprietary protocols are supported.
21 means that the chip's HW revision is 2.1
ProtocolBitVector_t ChipInfo_GetSupportedProtocol_BV(void)
Returns bit vector showing supported protocols.
static uint32_t ChipInfo_GetUserId(void)
Returns the 32 bits USER_ID field.
void ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated(void)
Verifies that curent chip is built for CC13xx HwRev 2.0 or later and never returns if violated...
static bool ChipInfo_PackageTypeIsWAFER(void)
Returns true if this is a wafer sale chip (naked die).
static bool ChipInfo_ChipFamilyIsCC26xx_Aga(void)
Returns true if this chip is member of the CC26xx_Aga family.
static bool ChipInfo_HwRevisionIs_1_0(void)
Returns true if HW revision for this chip is 1.0.
5 means that this is a CC2650 chip.
static bool ChipInfo_SupportsPROPRIETARY(void)
Returns true if the chip supports propriatary protocols.
Bit[1] set, indicates that Bluetooth Low Energy is supported.
-1 means that the chip type is unknown.
7 means that this is a CUSTOM_1 chip.
3 means that this is a CC2630 chip.
1 means that this is a CC1350 chip.
6 means that this is a CUSTOM_0 chip.
-1 means that the chip's HW revision is unknown.
static bool ChipInfo_SupportsIEEE_802_15_4(void)
Returns true if the chip supports the IEEE 802.15.4 protocol.
3 means that this is a wafer sale chip (naked die).
HwRevision_t ChipInfo_GetHwRevision(void)
Returns chip HW revision.
static bool ChipInfo_PackageTypeIs7x7(void)
Returns true if this is a 7x7mm chip.
static bool ChipInfo_ChipFamilyIsCC13xx(void)
Returns true if this chip is member of the CC13xx family.
20 means that the chip's HW revision is 2.0
1 means that this is a 5x5mm chip.
static bool ChipInfo_HwRevisionIs_2_2(void)
Returns true if HW revision for this chip is 2.2.
static bool ChipInfo_ChipFamilyIsCC26xx_R2(void)
Returns true if this chip is member of the CC26xx_R2 family.
4 means that this is a CC2640 chip.
22 means that the chip's HW revision is 2.2
ChipType_t
Chip type enumeration.
ChipFamily_t
Chip family enumeration.
static bool ChipInfo_ChipFamilyIsCC26xx(void)
Returns true if this chip is member of the CC26xx family.
static bool ChipInfo_PackageTypeIs4x4(void)
Returns true if this is a 4x4mm chip.
ProtocolBitVector_t
Enumeration identifying the protocols supported.
ChipFamily_t ChipInfo_GetChipFamily(void)
Returns chip family member.
static bool ChipInfo_HwRevisionIs_2_1(void)
Returns true if HW revision for this chip is 2.1.
1 means that the chip is a CC13x0 family member.
static uint32_t ChipInfo_GetDeviceIdHwRevCode(void)
Returns the internal chip HW revision code.
ChipType_t ChipInfo_GetChipType(void)
Returns chip type.
Bit[2] set, indicates that IEEE 802.15.4 is supported.
2 means that the chip is a CC26x1 family member.
static bool ChipInfo_HwRevisionIs_GTEQ_2_1(void)
Returns true if HW revision for this chip is 2.1 or greater.
10 means that the chip's HW revision is 1.0
2 means that this is a CC2620 chip.
0 means that this is a 4x4mm chip.
2 means that this is a 7x7mm chip.
static uint32_t ChipInfo_GetMinorHwRev(void)
Returns minor hardware revision number.
3 means that the chip is a CCxxx2/xxx4 family member.
4 means that the chip is a CC26x0_R2 family (new ROM contents).
0 means that the chip is a CC26x0 family member.