uint32_t id[2]; id[0]=NRF_FICR->DEVICEID[0]; id[1]=NRF_FICR->DEVICEID[1]; uint64_t deviceId = ((uint64_t)id[0] << 32) | id[1]; NRF_LOG_INFO("Device ID: %" PRIx64 "\n", deviceId);
uint32_t id[2]; id[0]=NRF_FICR->DEVICEID[0]; id[1]=NRF_FICR->DEVICEID[1]; uint64_t deviceId = ((uint64_t)id[0] << 32) | id[1]; NRF_LOG_INFO("Device ID: %" PRIx64 "\n", deviceId);
Hi Kc Owen,
Please find the topic discussed in this past DevZone post: NRF_LOG_INFO and uint64_t .
Hieu
Thank you so much