#[repr(transparent)]pub struct Mctl(pub u32);Expand description
FMU Control Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Mctl
impl Mctl
Sourcepub const fn corehld(&self) -> bool
pub const fn corehld(&self) -> bool
Core Hold. Raw bit values: false (0) = Zz125: CPU access is allowed.; true (1) = Zz126: CPU access must be blocked.
Sourcepub const fn set_corehld(&mut self, val: bool)
pub const fn set_corehld(&mut self, val: bool)
Core Hold. Raw bit values: false (0) = Zz125: CPU access is allowed.; true (1) = Zz126: CPU access must be blocked.
Sourcepub const fn lsact_en(&self) -> bool
pub const fn lsact_en(&self) -> bool
LSACTIVE Feature Enable. Raw bit values: false (0) = Zz123: LSACTIVE feature disabled completely: FCTRL[LSACTIVE] is forced low and no longer writable, LVE cannot assert at the TSMC array interface.; true (1) = Zz124: LSACTIVE feature fully enabled and controllable by SoC and internal UINT SM.
Sourcepub const fn set_lsact_en(&mut self, val: bool)
pub const fn set_lsact_en(&mut self, val: bool)
LSACTIVE Feature Enable. Raw bit values: false (0) = Zz123: LSACTIVE feature disabled completely: FCTRL[LSACTIVE] is forced low and no longer writable, LVE cannot assert at the TSMC array interface.; true (1) = Zz124: LSACTIVE feature fully enabled and controllable by SoC and internal UINT SM.
Sourcepub const fn lsactwren(&self) -> bool
pub const fn lsactwren(&self) -> bool
LSACTIVE Write Enable. Raw bit values: false (0) = Zz121: Unrestricted write access allowed.; true (1) = Zz122: Write access while CMP set must match CMDDID and CMDPRT.
Sourcepub const fn set_lsactwren(&mut self, val: bool)
pub const fn set_lsactwren(&mut self, val: bool)
LSACTIVE Write Enable. Raw bit values: false (0) = Zz121: Unrestricted write access allowed.; true (1) = Zz122: Write access while CMP set must match CMDDID and CMDPRT.
Sourcepub const fn master_repair_en(&self) -> bool
pub const fn master_repair_en(&self) -> bool
Master Repair Enable. Raw bit values: false (0) = Zz119: Repair disabled.; true (1) = Zz120: Repair enable determined by bit 0 of each REPAIR register.
Sourcepub const fn set_master_repair_en(&mut self, val: bool)
pub const fn set_master_repair_en(&mut self, val: bool)
Master Repair Enable. Raw bit values: false (0) = Zz119: Repair disabled.; true (1) = Zz120: Repair enable determined by bit 0 of each REPAIR register.
Sourcepub const fn rfcmden(&self) -> bool
pub const fn rfcmden(&self) -> bool
RF Active Command Enable Control. Raw bit values: false (0) = Zz117: Flash commands blocked (CCIF not writable).; true (1) = Zz118: Flash commands allowed.
Sourcepub const fn set_rfcmden(&mut self, val: bool)
pub const fn set_rfcmden(&mut self, val: bool)
RF Active Command Enable Control. Raw bit values: false (0) = Zz117: Flash commands blocked (CCIF not writable).; true (1) = Zz118: Flash commands allowed.
Sourcepub const fn cwsabten(&self) -> bool
pub const fn cwsabten(&self) -> bool
Command Write Sequence Abort Enable. Raw bit values: false (0) = Zz115: CWS abort feature is disabled.; true (1) = Zz116: CWS abort feature is enabled.
Sourcepub const fn set_cwsabten(&mut self, val: bool)
pub const fn set_cwsabten(&mut self, val: bool)
Command Write Sequence Abort Enable. Raw bit values: false (0) = Zz115: CWS abort feature is disabled.; true (1) = Zz116: CWS abort feature is enabled.
Sourcepub const fn mrgrddis(&self) -> bool
pub const fn mrgrddis(&self) -> bool
Margin Read Disable. Raw bit values: false (0) = Zz113: Margin Read Settings are enabled.; true (1) = Zz114: Margin Read Settings are disabled.
Sourcepub const fn set_mrgrddis(&mut self, val: bool)
pub const fn set_mrgrddis(&mut self, val: bool)
Margin Read Disable. Raw bit values: false (0) = Zz113: Margin Read Settings are enabled.; true (1) = Zz114: Margin Read Settings are disabled.
Sourcepub const fn set_mrgrd0(&mut self, val: u8)
pub const fn set_mrgrd0(&mut self, val: u8)
Margin Read Setting for Program.
Sourcepub const fn set_mrgrd1(&mut self, val: u8)
pub const fn set_mrgrd1(&mut self, val: u8)
Margin Read Setting for Erase.
Sourcepub const fn ersaack(&self) -> bool
pub const fn ersaack(&self) -> bool
Mass Erase (Erase All) Acknowledge. Raw bit values: false (0) = Zz111: Mass Erase operation is not active (operation has completed or has not started).; true (1) = Zz112: Mass Erase operation is active (controller acknowledges that the soc_ersall_req input is asserted and will continue with the operation).
Sourcepub const fn set_ersaack(&mut self, val: bool)
pub const fn set_ersaack(&mut self, val: bool)
Mass Erase (Erase All) Acknowledge. Raw bit values: false (0) = Zz111: Mass Erase operation is not active (operation has completed or has not started).; true (1) = Zz112: Mass Erase operation is active (controller acknowledges that the soc_ersall_req input is asserted and will continue with the operation).
Sourcepub const fn scan_obs(&self) -> bool
pub const fn scan_obs(&self) -> bool
Scan Observability Control. Raw bit values: false (0) = Zz109: Normal functional behavior.; true (1) = Zz110: Enables observation of signals that may otherwise be ATPG untestable.
Sourcepub const fn set_scan_obs(&mut self, val: bool)
pub const fn set_scan_obs(&mut self, val: bool)
Scan Observability Control. Raw bit values: false (0) = Zz109: Normal functional behavior.; true (1) = Zz110: Enables observation of signals that may otherwise be ATPG untestable.
Sourcepub const fn bist_ctl(&self) -> bool
pub const fn bist_ctl(&self) -> bool
BIST IP Control. Raw bit values: false (0) = Zz107: BIST IP disabled.; true (1) = Zz108: BIST IP enabled.
Sourcepub const fn set_bist_ctl(&mut self, val: bool)
pub const fn set_bist_ctl(&mut self, val: bool)
BIST IP Control. Raw bit values: false (0) = Zz107: BIST IP disabled.; true (1) = Zz108: BIST IP enabled.
Sourcepub const fn smwr_ctl(&self) -> bool
pub const fn smwr_ctl(&self) -> bool
SMWR IP Control. Raw bit values: false (0) = Zz105: SMWR IP disabled.; true (1) = Zz106: SMWR IP enabled.
Sourcepub const fn set_smwr_ctl(&mut self, val: bool)
pub const fn set_smwr_ctl(&mut self, val: bool)
SMWR IP Control. Raw bit values: false (0) = Zz105: SMWR IP disabled.; true (1) = Zz106: SMWR IP enabled.
Sourcepub const fn salv_dis(&self) -> bool
pub const fn salv_dis(&self) -> bool
Salvage Disable. Raw bit values: false (0) = Zz103: Salvage enabled (ECC used during erase verify).; true (1) = Zz104: Salvage disabled (ECC not used during erase verify).
Sourcepub const fn set_salv_dis(&mut self, val: bool)
pub const fn set_salv_dis(&mut self, val: bool)
Salvage Disable. Raw bit values: false (0) = Zz103: Salvage enabled (ECC used during erase verify).; true (1) = Zz104: Salvage disabled (ECC not used during erase verify).
Sourcepub const fn soc_ecc_ctl(&self) -> bool
pub const fn soc_ecc_ctl(&self) -> bool
SOC ECC Control. Raw bit values: false (0) = Zz101: ECC is enabled for SOC read access.; true (1) = Zz102: ECC is disabled for SOC read access.
Sourcepub const fn set_soc_ecc_ctl(&mut self, val: bool)
pub const fn set_soc_ecc_ctl(&mut self, val: bool)
SOC ECC Control. Raw bit values: false (0) = Zz101: ECC is enabled for SOC read access.; true (1) = Zz102: ECC is disabled for SOC read access.
Sourcepub const fn fmu_ecc_ctl(&self) -> bool
pub const fn fmu_ecc_ctl(&self) -> bool
FMU ECC Control. Raw bit values: false (0) = Zz99: ECC is enabled for FMU program operations.; true (1) = Zz100: ECC is disabled for FMU program operations.
Sourcepub const fn set_fmu_ecc_ctl(&mut self, val: bool)
pub const fn set_fmu_ecc_ctl(&mut self, val: bool)
FMU ECC Control. Raw bit values: false (0) = Zz99: ECC is enabled for FMU program operations.; true (1) = Zz100: ECC is disabled for FMU program operations.
Sourcepub const fn bist_pwr_dis(&self) -> bool
pub const fn bist_pwr_dis(&self) -> bool
BIST Power Mode Disable. Raw bit values: false (0) = Zz97: BIST DFT logic has full control of SLM and LVE when BIST is enabled (including during commands).; true (1) = Zz98: BIST DFT logic has no control of SLM and LVE; power mode RTL is in complete control of SLM and LVE values.
Sourcepub const fn set_bist_pwr_dis(&mut self, val: bool)
pub const fn set_bist_pwr_dis(&mut self, val: bool)
BIST Power Mode Disable. Raw bit values: false (0) = Zz97: BIST DFT logic has full control of SLM and LVE when BIST is enabled (including during commands).; true (1) = Zz98: BIST DFT logic has no control of SLM and LVE; power mode RTL is in complete control of SLM and LVE values.