36 #ifndef __CHIP_INFO_H__ 37 #define __CHIP_INFO_H__ 58 #include "../inc/hw_types.h" 59 #include "../inc/hw_memmap.h" 60 #include "../inc/hw_sys0.h" 61 #include "../inc/hw_fcfg.h" 104 return (HWREG(SYS0_BASE + SYS0_O_DEVICEID) & SYS0_DEVICEID_VERSION_M) >> SYS0_DEVICEID_VERSION_S;
127 return (ChipType)(fcfg->deviceInfo.partId.part);
140 return (ChipPartId)(fcfg->deviceInfo.partId.val32 & 0x00FFFFFFU);
154 #define ChipInfoGetChipType ChipInfoGetChipType_veneer 157 #define ChipInfoGetPartId ChipInfoGetPartId_veneer 178 #endif // __CHIP_INFO_H__ ChipPartId
Chip part ID enumeration.
Definition: chipinfo.h:80
Part ID is CC2744R74E0WRHARQ1.
Definition: chipinfo.h:82
Part ID is CC2755P105E0WRHAR.
Definition: chipinfo.h:88
Part ID is CC2745R74E0WRHARQ1.
Definition: chipinfo.h:86
Chip type is CC2744.
Definition: chipinfo.h:70
Part ID is CC2745R10E1WRHARQ1.
Definition: chipinfo.h:84
Part ID is CC2755R105E0WRHAR.
Definition: chipinfo.h:87
Part ID is CC2745P10E0WRHARQ1.
Definition: chipinfo.h:85
ChipType
Chip type enumeration.
Definition: chipinfo.h:68
Chip type is CC2745.
Definition: chipinfo.h:71
__STATIC_INLINE ChipType ChipInfoGetChipType(void)
Returns chip type.
Definition: chipinfo.h:125
Part ID is CC2755R105E0YCJR.
Definition: chipinfo.h:89
__tz_c_veneer ChipPartId ChipInfoGetPartId_veneer(void)
Definition: chipinfo_veneers.c:45
__STATIC_INLINE ChipPartId ChipInfoGetPartId(void)
Returns part ID.
Definition: chipinfo.h:138
__STATIC_INLINE uint32_t ChipInfoGetVersion(void)
Returns hardware version number.
Definition: chipinfo.h:102
__tz_c_veneer ChipType ChipInfoGetChipType_veneer(void)
Definition: chipinfo_veneers.c:40
#define __STATIC_INLINE
Definition: cmsis_gcc.h:47
Part ID is CC2745R10E0WRHARQ1.
Definition: chipinfo.h:83
Chip type is CC2755.
Definition: chipinfo.h:72