46 #ifndef __CHIP_INFO_H__
47 #define __CHIP_INFO_H__
62 #include <inc/hw_types.h>
63 #include <inc/hw_memmap.h>
64 #include <inc/hw_fcfg1.h>
208 __STATIC_INLINE uint32_t
372 #if defined( CHECK_AT_STARTUP_FOR_CORRECT_FAMILY_ONLY )
380 extern void ThisCodeIsBuiltForCC26xxHwRev20AndLater_HaltIfViolated(
void );
404 #endif // __CHIP_INFO_H__
__STATIC_INLINE bool ChipInfo_HwRevisionIs_1_0(void)
Returns true if HW revision for this chip is 1.0.
PackageType_t ChipInfo_GetPackageType(void)
Returns package type.
None of the known protocols are supported.
HwRevision_t
HW revision enumeration.
__STATIC_INLINE bool ChipInfo_HwRevisionIs_GTEQ_2_2(void)
Returns true if HW revision for this chip is 2.2 or greater.
PackageType_t
Package type enumeration.
__STATIC_INLINE bool ChipInfo_SupportsPROPRIETARY(void)
Returns true if the chip supports propriatary protocols.
__STATIC_INLINE bool ChipInfo_PackageTypeIs4x4(void)
Returns true if this is a 4x4mm chip.
Chip family member is unknown.
Current chip type is unknown.
Bit[3] set, indicates that proprietary protocols are supported.
This 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_INLINE bool ChipInfo_PackageTypeIs7x7(void)
Returns true if this is a 7x7mm chip.
__STATIC_INLINE bool ChipInfo_HwRevisionIs_2_0(void)
Returns true if HW revision for this chip is 2.0.
Bit[1] set, indicates that Bluetooth Low Energy is supported.
__STATIC_INLINE bool ChipInfo_HwRevisionIs_2_2(void)
Returns true if HW revision for this chip is 2.2.
__STATIC_INLINE bool ChipInfo_SupportsBLE(void)
Returns true if the chip supports the BLE protocol.
Chip HW revision is unknown.
HwRevision_t ChipInfo_GetHwRevision(void)
Returns chip HW revision.
__STATIC_INLINE bool ChipInfo_HwRevisionIs_GTEQ_2_0(void)
Returns true if HW revision for this chip is 2.0 or greater.
This chip's HW revision is 2.0.
__STATIC_INLINE bool ChipInfo_SupportsIEEE_802_15_4(void)
Returns true if the chip supports the IEEE 802.15.4 protocol.
This chip's HW revision is 2.2.
ChipFamily_t
Chip family enumeration.
__STATIC_INLINE bool ChipInfo_PackageTypeIs5x5(void)
Returns true if this is a 5x5mm chip.
ProtocolBitVector_t
Enumeration identifying the protocols supported.
__STATIC_INLINE bool ChipInfo_ChipFamilyIsCC26xx(void)
Returns true if this chip is member of the CC26xx family.
ChipFamily_t ChipInfo_GetChipFamily(void)
Returns chip family member.
__STATIC_INLINE uint32_t ChipInfo_GetDeviceIdHwRevCode(void)
Returns the internal chip HW revision code.
__STATIC_INLINE bool ChipInfo_ChipFamilyIsCC13xx(void)
Returns true if this chip is member of the CC13xx family.
__STATIC_INLINE bool ChipInfo_HwRevisionIs_2_1(void)
Returns true if HW revision for this chip is 2.1.
This chip is a CC13xx family member.
Bit[2] set, indicates that IEEE 802.15.4 is supported.
This chip's HW revision is 1.0.
This chip is a CC26xx family member.