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>
240 __STATIC_INLINE uint32_t
258 __STATIC_INLINE uint32_t
265 if ( minorRev >= 0x80 ) {
508 #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.
None of the known protocols are supported.
static bool ChipInfo_PackageTypeIsWCSP(void)
Returns true if this is a WCSP chip (flip chip).
3 means that the chip is a CC26xxAgama family member.
HwRevision_t
HW revision enumeration.
static bool ChipInfo_ChipFamilyIsCC26xxLizard(void)
Returns true if this chip is member of the CC26xxLizard family.
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.
-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.
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_HwRevisionIs_1_0(void)
Returns true if HW revision for this chip is 1.0.
static bool ChipInfo_SupportsPROPRIETARY(void)
Returns true if the chip supports propriatary protocols.
static bool ChipInfo_ChipFamilyIsCC26xxR2(void)
Returns true if this chip is member of the CC26xxR2 family.
Bit[1] set, indicates that Bluetooth Low Energy is supported.
4 means that the chip is a CC26xxR2 family (new ROM contents).
static bool ChipInfo_ChipFamilyIsCC26xxAgama(void)
Returns true if this chip is member of the CC26xxAgama family.
-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.
22 means that the chip's HW revision is 2.2
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 CC13xx family member.
2 means that the chip is a CC26xxLizard family member.
static uint32_t ChipInfo_GetDeviceIdHwRevCode(void)
Returns the internal chip HW revision code.
Bit[2] set, indicates that IEEE 802.15.4 is supported.
10 means that the chip's HW revision is 1.0
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.
0 means that the chip is a CC26xx family member.