10 #if RUUVI_NRF5_SDK15_COMMUNICATION_ENABLED
18 #include "nrf_sdh_ble.h"
23 id |= (uint64_t) ( (NRF_FICR->DEVICEID[0] >> 24) & 0xFF) << 56;
24 id |= (uint64_t) ( (NRF_FICR->DEVICEID[0] >> 16) & 0xFF) << 48;
25 id |= (uint64_t) ( (NRF_FICR->DEVICEID[0] >> 8) & 0xFF) << 40;
26 id |= (uint64_t) ( (NRF_FICR->DEVICEID[0] >> 0) & 0xFF) << 32;
27 id |= (uint64_t) ( (NRF_FICR->DEVICEID[1] >> 24) & 0xFF) << 24;
28 id |= (uint64_t) ( (NRF_FICR->DEVICEID[1] >> 16) & 0xFF) << 16;
29 id |= (uint64_t) ( (NRF_FICR->DEVICEID[1] >> 8) & 0xFF) << 8;
30 id |= (uint64_t) ( (NRF_FICR->DEVICEID[1] >> 0) & 0xFF) << 0;
uint32_t rd_status_t
bitfield for representing errors
#define RD_SUCCESS
Internal Error.
Header to enable and disable module compilation.
Ruuvi error codes and error check function.
rd_status_t ri_comm_id_get(uint64_t *const id)