#include <stdint.h>
#include <stdbool.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_fcfg1.h"
Macros | |
#define | DRIVERLIB_BUILD_CC26X0 0 |
0 is the driverlib build ID for the cc26x0 driverlib. More... | |
#define | DRIVERLIB_BUILD_CC13X0 1 |
1 is the driverlib build ID for the cc13x0 driverlib. More... | |
#define | DRIVERLIB_BUILD_CC26X1 2 |
2 is the driverlib build ID for the cc26x1 driverlib. More... | |
#define | DRIVERLIB_BUILD_CC26X0R2 3 |
3 is the driverlib build ID for the cc26x0r2 driverlib. More... | |
#define | DRIVERLIB_BUILD_CC13X2_CC26X2 4 |
4 is the driverlib build ID for the cc13x2_cc26x2 driverlib. More... | |
#define | THIS_DRIVERLIB_BUILD DRIVERLIB_BUILD_CC26X0R2 |
Define THIS_DRIVERLIB_BUILD, identifying current driverlib build ID. More... | |
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 proprietary 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 bool | ChipInfo_PackageTypeIs7x7Q1 (void) |
Returns true if this is a 7x7 Q1 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... | |
static uint32_t | ChipInfo_GetUserId (void) |
Returns the 32 bits USER_ID field. More... | |
ChipType_t | ChipInfo_GetChipType (void) |
Returns chip type. More... | |
ChipFamily_t | ChipInfo_GetChipFamily (void) |
Returns chip family member. More... | |
static bool | ChipInfo_ChipFamilyIs_CC13x0 (void) |
Returns true if this chip is member of the CC13x0 family. More... | |
static bool | ChipInfo_ChipFamilyIs_CC26x0 (void) |
Returns true if this chip is member of the CC26x0 family. More... | |
static bool | ChipInfo_ChipFamilyIs_CC26x0R2 (void) |
Returns true if this chip is member of the CC26x0R2 family. More... | |
static bool | ChipInfo_ChipFamilyIs_CC26x1 (void) |
Returns true if this chip is member of the CC26x1 family. More... | |
static bool | ChipInfo_ChipFamilyIs_CC13x2_CC26x2 (void) |
Returns true if this chip is member of the CC13x2, CC26x2 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_2_0 (void) |
Returns true if HW revision for this chip is 2.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_1 (void) |
Returns true if HW revision for this chip is 2.1. More... | |
static bool | ChipInfo_HwRevisionIs_GTEQ_2_1 (void) |
Returns true if HW revision for this chip is 2.1 or greater. 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... | |
static bool | ChipInfo_HwRevisionIs_GTEQ_2_4 (void) |
Returns true if HW revision for this chip is 2.4 or greater. More... | |
void | ThisLibraryIsFor_CC26x0R2_HaltIfViolated (void) |
Verifies that current chip is CC26x0R2 and never returns if violated. More... | |