PebbleOS v4.47.0-757-g12b6c531f
Loading...
Searching...
No Matches
STM32 factory-programmed data

Non-volatile memory provider of the read-only memory an STM32 holds its factory data in, as the calibration of the analog blocks in the system memory of the STM32H7. More...

Data Structures

struct  pbl_nvmem_stm32_romem
 Factory-programmed memory. More...
 

Macros

#define PBL_NVMEM_STM32_ROMEM_DEFINE(sym, _name, _base, _size)
 Define the memory.
 

Detailed Description

Non-volatile memory provider of the read-only memory an STM32 holds its factory data in, as the calibration of the analog blocks in the system memory of the STM32H7.


Data Structure Documentation

◆ pbl_nvmem_stm32_romem

struct pbl_nvmem_stm32_romem

Factory-programmed memory.

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

Macro Definition Documentation

◆ PBL_NVMEM_STM32_ROMEM_DEFINE

#define PBL_NVMEM_STM32_ROMEM_DEFINE (   sym,
  _name,
  _base,
  _size 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_nvmem_stm32_romem, struct pbl_nvmem, nvmem) { \
.nvmem = \
PBL_NVMEM_INIT(sym, _name, nullptr, nullptr, &pbl_nvmem_stm32_romem_ops, _size, 1U, 1U), \
.base = (_base), \
}
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:132
Factory-programmed memory.
Definition stm32_romem.h:19
Non-volatile memory.
Definition nvmem.h:52

Define the memory.

Parameters
symSymbol.
_nameDevice name.
_baseMemory.
_sizeSize of the memory, in bytes.