Struct alt_stm32f30x_hal::device::syscfg::cfgr2::SRAM_PEF_R
source · [−]pub struct SRAM_PEF_R(_);
Expand description
Field SRAM_PEF
reader - SRAM parity flag
Implementations
sourceimpl SRAM_PEF_R
impl SRAM_PEF_R
sourcepub fn variant(&self) -> SRAM_PEF_A
pub fn variant(&self) -> SRAM_PEF_A
Get enumerated values variant
sourcepub fn is_no_parity_error(&self) -> bool
pub fn is_no_parity_error(&self) -> bool
Checks if the value of the field is NOPARITYERROR
sourcepub fn is_parity_error_detected(&self) -> bool
pub fn is_parity_error_detected(&self) -> bool
Checks if the value of the field is PARITYERRORDETECTED
Methods from Deref<Target = FieldReader<bool, SRAM_PEF_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for SRAM_PEF_R
impl Deref for SRAM_PEF_R
type Target = FieldReader<bool, SRAM_PEF_A>
type Target = FieldReader<bool, SRAM_PEF_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<SRAM_PEF_R as Deref>::Target
fn deref(&self) -> &<SRAM_PEF_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for SRAM_PEF_R
impl Send for SRAM_PEF_R
impl Sync for SRAM_PEF_R
impl Unpin for SRAM_PEF_R
impl UnwindSafe for SRAM_PEF_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more