47 #define BV( x ) ( 1 << ( x ))
95 if ( pgRevBV & (
BV( 1 ) |
BV( 3 ) |
BV( 7 ) |
BV( 8 ))) {
97 }
else if ( pgRevBV & (
BV( 0 ) |
BV( 2 ))) {
135 #if defined( CHECK_AT_STARTUP_FOR_CORRECT_FAMILY_ONLY )
141 ThisCodeIsBuiltForCC26xxHwRev20AndLater_HaltIfViolated(
void )
PackageType_t ChipInfo_GetPackageType(void)
Returns package type.
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.
Chip family member is unknown.
Current chip type is unknown.
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...
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.
This chip's HW revision is 2.2.
ChipFamily_t
Chip family enumeration.
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.
This chip is a CC13xx family member.
This chip's HW revision is 1.0.
This chip is a CC26xx family member.