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>
210 __STATIC_INLINE uint32_t
228 __STATIC_INLINE uint32_t
235 if ( minorRev >= 0x80 ) {
434 #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.
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.
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 ThisCodeIsBuiltForCC26xxHwRev22AndLater_HaltIfViolated(void)
Verifies that current chip is built for CC26xx HwRev 2.2 or later and never returns if violated...
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.
Bit[1] set, indicates that Bluetooth Low Energy is supported.
-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.
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.