20 #include "dev_id_fw_ver.h" 23 static const fw_ver_t fw_ver =
25 .major = (uint8_t) (FW_VER/10000),
26 .minor = (uint8_t) ((FW_VER%10000)/100),
27 .build = (uint8_t) (FW_VER%100)
32 return (dev_id_t *)&NRF_UICR->CUSTOMER[0];
37 return (fw_ver_t *)(&fw_ver);
fw_ver_t * fw_ver_get(void)
Gets a pointer to the location where the Device ID is stored.
dev_id_t * dev_id_get(void)
Gets a pointer to the location where the Device ID is stored.