#[repr(transparent)]pub struct CdogAlphaFieldsetGolf(pub u32);Expand description
Flags Register.
Tuple Fields§
§0: u32Implementations§
Source§impl CdogAlphaFieldsetGolf
impl CdogAlphaFieldsetGolf
Sourcepub const fn to_flag(&self) -> bool
pub const fn to_flag(&self) -> bool
TIMEOUT fault flag. Raw bit values: false (0) = NoFlag: A TIMEOUT fault has not occurred.; true (1) = Flag: A TIMEOUT fault has occurred.
Sourcepub const fn set_to_flag(&mut self, val: bool)
pub const fn set_to_flag(&mut self, val: bool)
TIMEOUT fault flag. Raw bit values: false (0) = NoFlag: A TIMEOUT fault has not occurred.; true (1) = Flag: A TIMEOUT fault has occurred.
Sourcepub const fn miscom_flag(&self) -> bool
pub const fn miscom_flag(&self) -> bool
MISCOMPARE fault flag. Raw bit values: false (0) = NoFlag: A MISCOMPARE fault has not occurred.; true (1) = Flag: A MISCOMPARE fault has occurred.
Sourcepub const fn set_miscom_flag(&mut self, val: bool)
pub const fn set_miscom_flag(&mut self, val: bool)
MISCOMPARE fault flag. Raw bit values: false (0) = NoFlag: A MISCOMPARE fault has not occurred.; true (1) = Flag: A MISCOMPARE fault has occurred.
Sourcepub const fn seq_flag(&self) -> bool
pub const fn seq_flag(&self) -> bool
SEQUENCE fault flag. Raw bit values: false (0) = NoFlag: A SEQUENCE fault has not occurred.; true (1) = Flag: A SEQUENCE fault has occurred.
Sourcepub const fn set_seq_flag(&mut self, val: bool)
pub const fn set_seq_flag(&mut self, val: bool)
SEQUENCE fault flag. Raw bit values: false (0) = NoFlag: A SEQUENCE fault has not occurred.; true (1) = Flag: A SEQUENCE fault has occurred.
Sourcepub const fn cnt_flag(&self) -> bool
pub const fn cnt_flag(&self) -> bool
CONTROL fault flag. Raw bit values: false (0) = NoFlag: A CONTROL fault has not occurred.; true (1) = Flag: A CONTROL fault has occurred.
Sourcepub const fn set_cnt_flag(&mut self, val: bool)
pub const fn set_cnt_flag(&mut self, val: bool)
CONTROL fault flag. Raw bit values: false (0) = NoFlag: A CONTROL fault has not occurred.; true (1) = Flag: A CONTROL fault has occurred.
Sourcepub const fn state_flag(&self) -> bool
pub const fn state_flag(&self) -> bool
STATE fault flag. Raw bit values: false (0) = NoFlag: A STATE fault has not occurred.; true (1) = Flag: A STATE fault has occurred.
Sourcepub const fn set_state_flag(&mut self, val: bool)
pub const fn set_state_flag(&mut self, val: bool)
STATE fault flag. Raw bit values: false (0) = NoFlag: A STATE fault has not occurred.; true (1) = Flag: A STATE fault has occurred.
Sourcepub const fn addr_flag(&self) -> bool
pub const fn addr_flag(&self) -> bool
ADDRESS fault flag. Raw bit values: false (0) = NoFlag: An ADDRESS fault has not occurred.; true (1) = Flag: An ADDRESS fault has occurred.
Sourcepub const fn set_addr_flag(&mut self, val: bool)
pub const fn set_addr_flag(&mut self, val: bool)
ADDRESS fault flag. Raw bit values: false (0) = NoFlag: An ADDRESS fault has not occurred.; true (1) = Flag: An ADDRESS fault has occurred.
Sourcepub const fn por_flag(&self) -> bool
pub const fn por_flag(&self) -> bool
Power-on reset flag. Raw bit values: false (0) = NoFlag: A Power-on reset event has not occurred.; true (1) = Flag: A Power-on reset event has occurred.
Sourcepub const fn set_por_flag(&mut self, val: bool)
pub const fn set_por_flag(&mut self, val: bool)
Power-on reset flag. Raw bit values: false (0) = NoFlag: A Power-on reset event has not occurred.; true (1) = Flag: A Power-on reset event has occurred.
Trait Implementations§
Source§impl Clone for CdogAlphaFieldsetGolf
impl Clone for CdogAlphaFieldsetGolf
Source§fn clone(&self) -> CdogAlphaFieldsetGolf
fn clone(&self) -> CdogAlphaFieldsetGolf
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more