Hardware access layer (HAL) for getting data from the Factory Information Configuration Registers (FICR).
More...
|
#define | NRF_FICR_HAS_CODE_PAGE_SIZE 1 |
| Symbol indicating whether FICR CODEPAGESIZE register is present.
|
|
#define | NRF_FICR_HAS_INFO_CODE_PAGE_SIZE 1 |
| Symbol indicating whether FICR INFO.CODEPAGESIZE register is present.
|
|
#define | NRF_FICR_HAS_CODE_SIZE 1 |
| Symbol indicating whether FICR CODESIZE register is present.
|
|
#define | NRF_FICR_HAS_INFO_CODE_SIZE 1 |
| Symbol indicating whether FICR INFO.CODESIZE register is present.
|
|
#define | NRF_FICR_HAS_DEVICE_ID 1 |
| Symbol indicating whether FICR DEVICEID[n] registers are present.
|
|
#define | NRF_FICR_HAS_INFO_DEVICE_ID 1 |
| Symbol indicating whether FICR INFO.DEVICEID[n] registers are present.
|
|
#define | NRF_FICR_HAS_NFC_TAGHEADER 1 |
| Symbol indicating whether FICR NFC.TAGHEADERn registers are present.
|
|
#define | NRF_FICR_HAS_NFC_TAGHEADER_ARRAY 1 |
| Symbol indicating whether FICR NFC registers have tagheader array layout.
|
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Hardware access layer (HAL) for getting data from the Factory Information Configuration Registers (FICR).
◆ nrf_ficr_codepagesize_get()
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
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
- Returns
- Code memory page size in bytes.
◆ nrf_ficr_codesize_get()
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
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
- Returns
- Code memory size rendered as number of pages.
◆ nrf_ficr_deviceid_get()
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
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | reg_id | Register index. |
- Returns
- Unique device identifier.
◆ nrf_ficr_nfc_tagheader_get()
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
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | tagheader_id | Tag header index. |
- Returns
- The default header value of the NFC tag for the specified header index.