#[repr(transparent)]pub struct Smistat(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.33; manual text line 173000.
Tuple Fields§
§0: u16Implementations§
Source§impl Smistat
impl Smistat
Sourcepub const fn ready(&self) -> bool
pub const fn ready(&self) -> bool
Read-only. Ready. Indicates that the SMI controller is ready to start a read- or write-access 0b - No. SMI controller not enabled or access in progress 1b - Yes. SMI ready to start a read- or write-access
Sourcepub const fn set_ready(&mut self, val: bool)
pub const fn set_ready(&mut self, val: bool)
Read-only. Ready. Indicates that the SMI controller is ready to start a read- or write-access 0b - No. SMI controller not enabled or access in progress 1b - Yes. SMI ready to start a read- or write-access
Sourcepub const fn errcode(&self) -> u8
pub const fn errcode(&self) -> u8
Read-only. Error Code. 000b - NONE. SMI access successful 001b - NONTC14. Non-compliance with TC14 detected 010b - Disabled. SMI access triggered while SMI controller is disabled 011b - ABORTED. SMI access got aborted 100b - INPRGS. SMI access triggered while access in progress
Sourcepub const fn set_errcode(&mut self, val: u8)
pub const fn set_errcode(&mut self, val: u8)
Read-only. Error Code. 000b - NONE. SMI access successful 001b - NONTC14. Non-compliance with TC14 detected 010b - Disabled. SMI access triggered while SMI controller is disabled 011b - ABORTED. SMI access got aborted 100b - INPRGS. SMI access triggered while access in progress