TI CC1310 sub1G SDK开发中MAC地址读取功能
发布时间
阅读量:
阅读量
uint64_t macAddrLsb = HWREG(FCFG1_BASE + FCFG1_O_MAC_15_4_0);
uint64_t macAddrMsb =HWREG(FCFG1_BASE + FCFG1_O_MAC_15_4_1);
uint64_t macAddress = (uint64_t)(macAddrMsb << 32) + macAddrLsb;
easyLink的接口设计,其标识符长度为8个字节
//*****************************************************************************
//
//! \brief Gets the IEEE address
//!
//! This function gets the IEEE address
//!
//! \param ieeeAddr pointer to an 8 element byte array to write the IEEE
//! address to.
//!
//! \return ::EasyLink_Stat
全部评论 (0)
还没有任何评论哟~
