Hardware Abstraction Layer (HAL)
mtb_hal_nvm_region_info_t Struct Reference

Description

Information about a single region of NVM memory.

Data Fields

mtb_hal_nvm_type_t nvm_type
 NVM type.
 
uint32_t start_address
 Base address of the distinct NVM region.
 
uint32_t offset
 Offset to the address in the distinct NVM region.
 
uint32_t size
 Size of the distinct NVM region.
 
uint32_t sector_size
 Sector size of the distinct NVM region.
 
uint32_t block_size
 Block size (programming granularity) of the distinct NVM region.
 
bool is_erase_required
 true = erase required before program, false = erase not required before program.
 
uint8_t erase_value
 NVM erase value (if applicable).
 

Field Documentation

◆ nvm_type

mtb_hal_nvm_type_t mtb_hal_nvm_region_info_t::nvm_type

NVM type.

◆ start_address

uint32_t mtb_hal_nvm_region_info_t::start_address

Base address of the distinct NVM region.

◆ offset

uint32_t mtb_hal_nvm_region_info_t::offset

Offset to the address in the distinct NVM region.

◆ size

uint32_t mtb_hal_nvm_region_info_t::size

Size of the distinct NVM region.

◆ sector_size

uint32_t mtb_hal_nvm_region_info_t::sector_size

Sector size of the distinct NVM region.

◆ block_size

uint32_t mtb_hal_nvm_region_info_t::block_size

Block size (programming granularity) of the distinct NVM region.

◆ is_erase_required

bool mtb_hal_nvm_region_info_t::is_erase_required

true = erase required before program, false = erase not required before program.

◆ erase_value

uint8_t mtb_hal_nvm_region_info_t::erase_value

NVM erase value (if applicable).