Software APIs
Data Fields
flash_ctrl_error_code Struct Reference

Error code bits. More...

#include <sw/device/silicon_creator/lib/drivers/flash_ctrl.h>

Data Fields

bool macro_err
 Flash macro error occured.
 
bool update_err
 Shadow register update error.
 
bool prog_type_err
 Flash program type is unavailable.
 
bool prog_win_err
 Flash program window resolution error. More...
 
bool prog_err
 Flash programming error, could be an integrity error. More...
 
bool rd_err
 Flash read error, could be an integrity error. More...
 
bool mp_err
 Flash access permission error. More...
 
bool op_err
 Software has supplied an undefined flash operation.
 

Detailed Description

Error code bits.

Definition at line 236 of file flash_ctrl.h.

Field Documentation

◆ macro_err

bool flash_ctrl_error_code::macro_err

Flash macro error occured.

Definition at line 240 of file flash_ctrl.h.

◆ mp_err

bool flash_ctrl_error_code::mp_err

Flash access permission error.

Read the ERR_ADDR register for the faulting address.

Definition at line 268 of file flash_ctrl.h.

◆ op_err

bool flash_ctrl_error_code::op_err

Software has supplied an undefined flash operation.

Definition at line 272 of file flash_ctrl.h.

◆ prog_err

bool flash_ctrl_error_code::prog_err

Flash programming error, could be an integrity error.

Read the STD_FAULT_STATUS register.

Definition at line 258 of file flash_ctrl.h.

◆ prog_type_err

bool flash_ctrl_error_code::prog_type_err

Flash program type is unavailable.

Definition at line 248 of file flash_ctrl.h.

◆ prog_win_err

bool flash_ctrl_error_code::prog_win_err

Flash program window resolution error.

Start and end of programming region are in different windows.

Definition at line 253 of file flash_ctrl.h.

◆ rd_err

bool flash_ctrl_error_code::rd_err

Flash read error, could be an integrity error.

Read the STD_FAULT_STATUS register.

Definition at line 263 of file flash_ctrl.h.

◆ update_err

bool flash_ctrl_error_code::update_err

Shadow register update error.

Definition at line 244 of file flash_ctrl.h.