Functions | |
ProtocolBitVector_t | ChipInfo_GetSupportedProtocol_BV (void) |
Returns bit vector showing supported protocols. More... | |
static bool | ChipInfo_SupportsBLE (void) |
Returns true if the chip supports the BLE protocol. More... | |
static bool | ChipInfo_SupportsIEEE_802_15_4 (void) |
Returns true if the chip supports the IEEE 802.15.4 protocol. More... | |
static bool | ChipInfo_SupportsPROPRIETARY (void) |
Returns true if the chip supports propriatary protocols. More... | |
PackageType_t | ChipInfo_GetPackageType (void) |
Returns package type. More... | |
static bool | ChipInfo_PackageTypeIs4x4 (void) |
Returns true if this is a 4x4mm chip. More... | |
static bool | ChipInfo_PackageTypeIs5x5 (void) |
Returns true if this is a 5x5mm chip. More... | |
static bool | ChipInfo_PackageTypeIs7x7 (void) |
Returns true if this is a 7x7mm chip. More... | |
static bool | ChipInfo_PackageTypeIsWAFER (void) |
Returns true if this is a wafer sale chip (naked die). More... | |
static bool | ChipInfo_PackageTypeIsWCSP (void) |
Returns true if this is a WCSP chip (flip chip). More... | |
static uint32_t | ChipInfo_GetDeviceIdHwRevCode (void) |
Returns the internal chip HW revision code. More... | |
static uint32_t | ChipInfo_GetMinorHwRev (void) |
Returns minor hardware revision number. More... | |
ChipFamily_t | ChipInfo_GetChipFamily (void) |
Returns chip family member. More... | |
static bool | ChipInfo_ChipFamilyIsCC26xx (void) |
Returns true if this chip is member of the CC26xx family. More... | |
static bool | ChipInfo_ChipFamilyIsCC13xx (void) |
Returns true if this chip is member of the CC13xx family. More... | |
static bool | ChipInfo_ChipFamilyIsCC26xxR2 (void) |
Returns true if this chip is member of the CC26xxR2 family. More... | |
static bool | ChipInfo_ChipFamilyIsCC26xxLizard (void) |
Returns true if this chip is member of the CC26xxLizard family. More... | |
static bool | ChipInfo_ChipFamilyIsCC26xxAgama (void) |
Returns true if this chip is member of the CC26xxAgama family. More... | |
HwRevision_t | ChipInfo_GetHwRevision (void) |
Returns chip HW revision. More... | |
static bool | ChipInfo_HwRevisionIs_1_0 (void) |
Returns true if HW revision for this chip is 1.0. More... | |
static bool | ChipInfo_HwRevisionIs_GTEQ_2_0 (void) |
Returns true if HW revision for this chip is 2.0 or greater. More... | |
static bool | ChipInfo_HwRevisionIs_2_0 (void) |
Returns true if HW revision for this chip is 2.0. More... | |
static bool | ChipInfo_HwRevisionIs_2_1 (void) |
Returns true if HW revision for this chip is 2.1. More... | |
static bool | ChipInfo_HwRevisionIs_2_2 (void) |
Returns true if HW revision for this chip is 2.2. More... | |
static bool | ChipInfo_HwRevisionIs_GTEQ_2_2 (void) |
Returns true if HW revision for this chip is 2.2 or greater. More... | |
static bool | ChipInfo_HwRevisionIs_GTEQ_2_3 (void) |
Returns true if HW revision for this chip is 2.3 or greater. More... | |
void | ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated (void) |
Verifies that curent chip is built for CC13xx HwRev 2.0 or later and never returns if violated. More... | |
Enumerations | |
enum | ProtocolBitVector_t { PROTOCOL_Unknown = 0, PROTOCOLBIT_BLE = 0x02, PROTOCOLBIT_IEEE_802_15_4 = 0x04, PROTOCOLBIT_Proprietary = 0x08 } |
Enumeration identifying the protocols supported. More... | |
enum | PackageType_t { PACKAGE_Unknown = -1, PACKAGE_4x4 = 0, PACKAGE_5x5 = 1, PACKAGE_7x7 = 2, PACKAGE_WAFER = 3, PACKAGE_WCSP = 4 } |
Package type enumeration. More... | |
enum | ChipFamily_t { FAMILY_Unknown = -1, FAMILY_CC26xx = 0, FAMILY_CC13xx = 1, FAMILY_CC26xxLizard = 2, FAMILY_CC26xxAgama = 3, FAMILY_CC26xxR2 = 4 } |
Chip family enumeration. More... | |
enum | HwRevision_t { HWREV_Unknown = -1, HWREV_1_0 = 10, HWREV_2_0 = 20, HWREV_2_1 = 21, HWREV_2_2 = 22, HWREV_2_3 = 23 } |
HW revision enumeration. More... | |
|
inlinestatic |
Returns true if this chip is member of the CC13xx family.
true
if this chip is member of the CC13xx family, false
otherwise. Definition at line 320 of file chipinfo.h.
Referenced by ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated().
|
inlinestatic |
Returns true if this chip is member of the CC26xx family.
true
if this chip is member of the CC26xx family, false
otherwise. Definition at line 306 of file chipinfo.h.
|
inlinestatic |
Returns true if this chip is member of the CC26xxAgama family.
true
if this chip is member of the CC26xxAgama family, false
otherwise. Definition at line 362 of file chipinfo.h.
|
inlinestatic |
Returns true if this chip is member of the CC26xxLizard family.
true
if this chip is member of the CC26xxLizard family, false
otherwise. Definition at line 348 of file chipinfo.h.
|
inlinestatic |
Returns true if this chip is member of the CC26xxR2 family.
true
if this chip is member of the CC26xxR2 family, false
otherwise. Definition at line 334 of file chipinfo.h.
ChipFamily_t ChipInfo_GetChipFamily | ( | void | ) |
Returns chip family member.
Definition at line 82 of file chipinfo.c.
Referenced by ChipInfo_ChipFamilyIsCC13xx(), ChipInfo_ChipFamilyIsCC26xx(), ChipInfo_ChipFamilyIsCC26xxAgama(), ChipInfo_ChipFamilyIsCC26xxLizard(), ChipInfo_ChipFamilyIsCC26xxR2(), and ChipInfo_GetHwRevision().
|
inlinestatic |
Returns the internal chip HW revision code.
Definition at line 241 of file chipinfo.h.
Referenced by ChipInfo_GetChipFamily(), and ChipInfo_GetHwRevision().
HwRevision_t ChipInfo_GetHwRevision | ( | void | ) |
Returns chip HW revision.
Definition at line 111 of file chipinfo.c.
Referenced by ChipInfo_HwRevisionIs_1_0(), ChipInfo_HwRevisionIs_2_0(), ChipInfo_HwRevisionIs_2_1(), ChipInfo_HwRevisionIs_2_2(), ChipInfo_HwRevisionIs_GTEQ_2_0(), ChipInfo_HwRevisionIs_GTEQ_2_2(), and ChipInfo_HwRevisionIs_GTEQ_2_3().
|
inlinestatic |
Returns minor hardware revision number.
The minor revision number is set to 0 for the first market released chip and thereafter incremented by 1 for each minor hardware change.
Definition at line 259 of file chipinfo.h.
Referenced by ChipInfo_GetHwRevision().
PackageType_t ChipInfo_GetPackageType | ( | void | ) |
Returns package type.
Definition at line 59 of file chipinfo.c.
Referenced by ChipInfo_PackageTypeIs4x4(), ChipInfo_PackageTypeIs5x5(), ChipInfo_PackageTypeIs7x7(), ChipInfo_PackageTypeIsWAFER(), and ChipInfo_PackageTypeIsWCSP().
ProtocolBitVector_t ChipInfo_GetSupportedProtocol_BV | ( | void | ) |
Returns bit vector showing supported protocols.
Definition at line 47 of file chipinfo.c.
Referenced by ChipInfo_SupportsBLE(), ChipInfo_SupportsIEEE_802_15_4(), and ChipInfo_SupportsPROPRIETARY().
|
inlinestatic |
Returns true if HW revision for this chip is 1.0.
true
if HW revision for this chip is 1.0, false
otherwise. Definition at line 400 of file chipinfo.h.
|
inlinestatic |
Returns true if HW revision for this chip is 2.0.
true
if HW revision for this chip is 2.0, false
otherwise. Definition at line 428 of file chipinfo.h.
|
inlinestatic |
Returns true if HW revision for this chip is 2.1.
true
if HW revision for this chip is 2.1, false
otherwise. Definition at line 442 of file chipinfo.h.
|
inlinestatic |
Returns true if HW revision for this chip is 2.2.
true
if HW revision for this chip is 2.2, false
otherwise. Definition at line 456 of file chipinfo.h.
|
inlinestatic |
Returns true if HW revision for this chip is 2.0 or greater.
true
if HW revision for this chip is 2.0 or greater, false
otherwise. Definition at line 414 of file chipinfo.h.
Referenced by ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated().
|
inlinestatic |
Returns true if HW revision for this chip is 2.2 or greater.
true
if HW revision for this chip is 2.2 or greater, false
otherwise. Definition at line 470 of file chipinfo.h.
|
inlinestatic |
Returns true if HW revision for this chip is 2.3 or greater.
true
if HW revision for this chip is 2.3 or greater, false
otherwise. Definition at line 484 of file chipinfo.h.
|
inlinestatic |
Returns true if this is a 4x4mm chip.
true
if this is a 4x4mm chip, false
otherwise. Definition at line 171 of file chipinfo.h.
|
inlinestatic |
Returns true if this is a 5x5mm chip.
true
if this is a 5x5mm chip, false
otherwise. Definition at line 185 of file chipinfo.h.
|
inlinestatic |
Returns true if this is a 7x7mm chip.
true
if this is a 7x7mm chip, false
otherwise. Definition at line 199 of file chipinfo.h.
|
inlinestatic |
Returns true if this is a wafer sale chip (naked die).
true
if this is a wafer sale chip, false
otherwise. Definition at line 213 of file chipinfo.h.
|
inlinestatic |
Returns true if this is a WCSP chip (flip chip).
true
if this is a WCSP chip, false
otherwise. Definition at line 227 of file chipinfo.h.
|
inlinestatic |
Returns true if the chip supports the BLE protocol.
true
if supporting the BLE protocol, false
otherwise. Definition at line 104 of file chipinfo.h.
|
inlinestatic |
Returns true if the chip supports the IEEE 802.15.4 protocol.
true
if supporting the IEEE 802.15.4 protocol, false
otherwise. Definition at line 118 of file chipinfo.h.
|
inlinestatic |
Returns true if the chip supports propriatary protocols.
true
if supporting propriatary protocols, false
otherwise. Definition at line 132 of file chipinfo.h.
void ThisCodeIsBuiltForCC13xxHwRev20AndLater_HaltIfViolated | ( | void | ) |
Verifies that curent chip is built for CC13xx HwRev 2.0 or later and never returns if violated.
Definition at line 169 of file chipinfo.c.
Referenced by trimDevice().
enum ChipFamily_t |
Chip family enumeration.
Definition at line 278 of file chipinfo.h.
enum HwRevision_t |
HW revision enumeration.
Definition at line 372 of file chipinfo.h.
enum PackageType_t |
Package type enumeration.
Definition at line 143 of file chipinfo.h.
enum ProtocolBitVector_t |
Enumeration identifying the protocols supported.
Definition at line 77 of file chipinfo.h.