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.
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_FICR_HAS_CODE_PAGE_SIZE