FICR HAL

group nrf_ficr_hal

Hardware access layer (HAL) for getting data from the Factory Information Configuration Registers (FICR).

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.