PebbleOS v4.47.0-1075-g013613c8a
Loading...
Searching...
No Matches
Nordic nRF FICR

Read access to the factory information of the Nordic nRF SoCs, as their device ID and the trims of their crystal oscillators. More...

Data Structures

struct  pbl_nvmem_nrf_ficr
 Factory information configuration registers. More...
 

Macros

#define PBL_NVMEM_NRF_FICR_DEFINE(sym, _name, _base, _size)
 Define the FICR.
 
#define NRF_FICR   (&pbl_nvmem_nrf_ficr)
 The FICR.
 

Detailed Description

Read access to the factory information of the Nordic nRF SoCs, as their device ID and the trims of their crystal oscillators.


Data Structure Documentation

◆ pbl_nvmem_nrf_ficr

struct pbl_nvmem_nrf_ficr

Factory information configuration registers.

Data Fields
uintptr_t base Registers.
struct pbl_nvmem nvmem NVMEM provider.

Macro Definition Documentation

◆ NRF_FICR

#define NRF_FICR   (&pbl_nvmem_nrf_ficr)

The FICR.

◆ PBL_NVMEM_NRF_FICR_DEFINE

#define PBL_NVMEM_NRF_FICR_DEFINE (   sym,
  _name,
  _base,
  _size 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_nvmem_nrf_ficr, struct pbl_nvmem, nvmem) { \
.nvmem = PBL_NVMEM_INIT(sym, _name, nullptr, nullptr, &pbl_nvmem_nrf_ficr_ops, _size, 4U, 4U), \
.base = (_base), \
}
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:132
Factory information configuration registers.
Definition nrf_ficr.h:19
Non-volatile memory.
Definition nvmem.h:52
#define PBL_NVMEM_INIT(sym, _name, _init, _parent, _ops, _size, _word_size, _stride)
Initializer of a struct pbl_nvmem, for providers.
Definition nvmem.h:77

Define the FICR.

Parameters
symSymbol.
_nameDevice name.
_baseRegisters.
_sizeSize of the registers, in bytes.