Software APIs
nvm_page_perms Struct Reference

Access permission settings for an NVM page. More...

#include <sw/device/silicon_creator/lib/nvm_ctrl.h>

Data Fields

uint32_t _pad0: 4
 
uint32_t read: 4
 
uint32_t write: 4
 
uint32_t erase: 4
 
uint32_t _pad1: 16
 

Detailed Description

Access permission settings for an NVM page.

Fields hold multi_bit_bool_t values: kMultiBitBool4True enables the operation; kMultiBitBool4False disables it. Raw hardware register values are passed through without normalisation. Bitfields match the layout of flash_ctrl_perms_t/rram_ctrl_perms_t so the struct stays register-sized.

Definition at line 191 of file nvm_ctrl.h.

Field Documentation

◆ _pad0

uint32_t nvm_page_perms::_pad0

Definition at line 192 of file nvm_ctrl.h.

◆ _pad1

uint32_t nvm_page_perms::_pad1

Definition at line 196 of file nvm_ctrl.h.

◆ erase

uint32_t nvm_page_perms::erase

Definition at line 195 of file nvm_ctrl.h.

◆ read

uint32_t nvm_page_perms::read

Definition at line 193 of file nvm_ctrl.h.

◆ write

uint32_t nvm_page_perms::write

Definition at line 194 of file nvm_ctrl.h.