#[repr(transparent)]pub struct CmdCheck(pub u32);Expand description
FMU Command Check Register.
Tuple Fields§
§0: u32Implementations§
Source§impl CmdCheck
impl CmdCheck
Sourcepub const fn alignfail_phr(&self) -> bool
pub const fn alignfail_phr(&self) -> bool
Phrase Alignment Fail. Raw bit values: false (0) = Zz149: The address is phrase-aligned.; true (1) = Zz150: The address is not phrase-aligned.
Sourcepub const fn set_alignfail_phr(&mut self, val: bool)
pub const fn set_alignfail_phr(&mut self, val: bool)
Phrase Alignment Fail. Raw bit values: false (0) = Zz149: The address is phrase-aligned.; true (1) = Zz150: The address is not phrase-aligned.
Sourcepub const fn alignfail_pg(&self) -> bool
pub const fn alignfail_pg(&self) -> bool
Page Alignment Fail. Raw bit values: false (0) = Zz147: The address is page-aligned.; true (1) = Zz148: The address is not page-aligned.
Sourcepub const fn set_alignfail_pg(&mut self, val: bool)
pub const fn set_alignfail_pg(&mut self, val: bool)
Page Alignment Fail. Raw bit values: false (0) = Zz147: The address is page-aligned.; true (1) = Zz148: The address is not page-aligned.
Sourcepub const fn alignfail_scr(&self) -> bool
pub const fn alignfail_scr(&self) -> bool
Sector Alignment Fail. Raw bit values: false (0) = Zz145: The address is sector-aligned.; true (1) = Zz146: The address is not sector-aligned.
Sourcepub const fn set_alignfail_scr(&mut self, val: bool)
pub const fn set_alignfail_scr(&mut self, val: bool)
Sector Alignment Fail. Raw bit values: false (0) = Zz145: The address is sector-aligned.; true (1) = Zz146: The address is not sector-aligned.
Sourcepub const fn alignfail_blk(&self) -> bool
pub const fn alignfail_blk(&self) -> bool
Block Alignment Fail. Raw bit values: false (0) = Zz143: The address is block-aligned.; true (1) = Zz144: The address is not block-aligned.
Sourcepub const fn set_alignfail_blk(&mut self, val: bool)
pub const fn set_alignfail_blk(&mut self, val: bool)
Block Alignment Fail. Raw bit values: false (0) = Zz143: The address is block-aligned.; true (1) = Zz144: The address is not block-aligned.
Sourcepub const fn addr_fail(&self) -> bool
pub const fn addr_fail(&self) -> bool
Address Fail. Raw bit values: false (0) = Zz141: The address is within the flash or IFR address space.; true (1) = Zz142: The address is outside the flash or IFR address space.
Sourcepub const fn set_addr_fail(&mut self, val: bool)
pub const fn set_addr_fail(&mut self, val: bool)
Address Fail. Raw bit values: false (0) = Zz141: The address is within the flash or IFR address space.; true (1) = Zz142: The address is outside the flash or IFR address space.
Sourcepub const fn ifr_cmd(&self) -> bool
pub const fn ifr_cmd(&self) -> bool
IFR Command. Raw bit values: false (0) = Zz139: The command operates on a main flash address.; true (1) = Zz140: The command operates on an IFR address.
Sourcepub const fn set_ifr_cmd(&mut self, val: bool)
pub const fn set_ifr_cmd(&mut self, val: bool)
IFR Command. Raw bit values: false (0) = Zz139: The command operates on a main flash address.; true (1) = Zz140: The command operates on an IFR address.
Sourcepub const fn all_cmd(&self) -> bool
pub const fn all_cmd(&self) -> bool
All Blocks Command. Raw bit values: false (0) = Zz137: The command operates on a single flash block.; true (1) = Zz138: The command operates on all flash blocks.
Sourcepub const fn set_all_cmd(&mut self, val: bool)
pub const fn set_all_cmd(&mut self, val: bool)
All Blocks Command. Raw bit values: false (0) = Zz137: The command operates on a single flash block.; true (1) = Zz138: The command operates on all flash blocks.
Sourcepub const fn range_fail(&self) -> bool
pub const fn range_fail(&self) -> bool
Address Range Fail. Raw bit values: false (0) = Zz135: The address range is valid.; true (1) = Zz136: The address range is invalid.
Sourcepub const fn set_range_fail(&mut self, val: bool)
pub const fn set_range_fail(&mut self, val: bool)
Address Range Fail. Raw bit values: false (0) = Zz135: The address range is valid.; true (1) = Zz136: The address range is invalid.
Sourcepub const fn scr_align_chk(&self) -> bool
pub const fn scr_align_chk(&self) -> bool
Sector Alignment Check. Raw bit values: false (0) = Zz133: No sector alignment check.; true (1) = Zz134: Sector alignment check.
Sourcepub const fn set_scr_align_chk(&mut self, val: bool)
pub const fn set_scr_align_chk(&mut self, val: bool)
Sector Alignment Check. Raw bit values: false (0) = Zz133: No sector alignment check.; true (1) = Zz134: Sector alignment check.
Sourcepub const fn option_fail(&self) -> bool
pub const fn option_fail(&self) -> bool
Option Check Fail. Raw bit values: false (0) = Zz131: Option check passes for read command or command is not a read command.; true (1) = Zz132: Option check fails for read command.
Sourcepub const fn set_option_fail(&mut self, val: bool)
pub const fn set_option_fail(&mut self, val: bool)
Option Check Fail. Raw bit values: false (0) = Zz131: Option check passes for read command or command is not a read command.; true (1) = Zz132: Option check fails for read command.
Sourcepub const fn illegal_cmd(&self) -> bool
pub const fn illegal_cmd(&self) -> bool
Illegal Command. Raw bit values: false (0) = Zz129: Command is legal.; true (1) = Zz130: Command is illegal.
Sourcepub const fn set_illegal_cmd(&mut self, val: bool)
pub const fn set_illegal_cmd(&mut self, val: bool)
Illegal Command. Raw bit values: false (0) = Zz129: Command is legal.; true (1) = Zz130: Command is illegal.