FICR HAL
- group nrf_ficr_hal
Hardware access layer (HAL) for getting data from the Factory Information Configuration Registers (FICR).
Defines
-
NRF_FICR_HAS_CODE_PAGE_SIZE
Symbol indicating whether FICR CODEPAGESIZE register is present.
-
NRF_FICR_HAS_INFO_CODE_PAGE_SIZE
Symbol indicating whether FICR INFO.CODEPAGESIZE register is present.
-
NRF_FICR_HAS_CODE_SIZE
Symbol indicating whether FICR CODESIZE register is present.
-
NRF_FICR_HAS_INFO_CODE_SIZE
Symbol indicating whether FICR INFO.CODESIZE register is present.
-
NRF_FICR_HAS_DEVICE_ID
Symbol indicating whether FICR DEVICEID[n] registers are present.
-
NRF_FICR_HAS_INFO_DEVICE_ID
Symbol indicating whether FICR INFO.DEVICEID[n] registers are present.
-
NRF_FICR_HAS_NFC_TAGHEADER
Symbol indicating whether FICR NFC.TAGHEADERn registers are present.
-
NRF_FICR_HAS_NFC_TAGHEADER_ARRAY
Symbol indicating whether FICR NFC registers have tagheader array layout.
-
NRF_FICR_HAS_DEVICE_ADDR
Symbol indicating whether FICR DEVICEADDR[n] registers are present.
-
NRF_FICR_HAS_BLE_ADDR
Symbol indicating whether FICR BLE.ADDR[n] registers are present.
-
NRF_FICR_HAS_ER
Symbol indicating whether FICR ER[n] registers are present.
-
NRF_FICR_HAS_BLE_ER
Symbol indicating whether FICR BLE.ER[n] registers are present.
-
NRF_FICR_HAS_IR
Symbol indicating whether FICR IR[n] registers are present.
-
NRF_FICR_HAS_BLE_IR
Symbol indicating whether FICR BLE.IR[n] registers are present.
Functions
-
NRF_STATIC_INLINE uint32_t nrf_ficr_codepagesize_get(NRF_FICR_Type const *p_reg)
Function for getting the size of the code memory page.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
- Returns:
Code memory page size in bytes.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_codesize_get(NRF_FICR_Type const *p_reg)
Function for getting the size of the code memory rendered as number of pages.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
- Returns:
Code memory size rendered as number of pages.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_deviceid_get(NRF_FICR_Type const *p_reg, uint32_t reg_id)
Function for getting the unique device identifier.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
reg_id – [in] Register index.
- Returns:
Unique device identifier.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_nfc_tagheader_get(NRF_FICR_Type const *p_reg, uint32_t tagheader_id)
Function for getting the default header values for the NFC tag.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
tagheader_id – [in] Tag header index.
- Returns:
The default header value of the NFC tag for the specified header index.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_deviceaddr_get(NRF_FICR_Type const *p_reg, uint32_t reg_id)
Function for getting the unique device address.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
reg_id – [in] Register index.
- Returns:
Unique device address.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_er_get(NRF_FICR_Type const *p_reg, uint32_t reg_id)
Function for getting the unique encryption root.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
reg_id – [in] Register index.
- Returns:
Unique encryption root.
-
NRF_STATIC_INLINE uint32_t nrf_ficr_ir_get(NRF_FICR_Type const *p_reg, uint32_t reg_id)
Function for getting the unique identity root.
- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
reg_id – [in] Register index.
- Returns:
Unique identity root.
-
NRF_FICR_HAS_CODE_PAGE_SIZE