Struct Fcr
#[repr(transparent)]pub struct Fcr(pub u32);
Expand description
flag clear register
Tuple Fields§
§0: u32
Implementations§
§impl Fcr
impl Fcr
pub const fn ctef(&self) -> bool
pub const fn ctef(&self) -> bool
Clear transfer error flag Writing 1 clears the TEF flag in the SR register.
pub fn set_ctef(&mut self, val: bool)
pub fn set_ctef(&mut self, val: bool)
Clear transfer error flag Writing 1 clears the TEF flag in the SR register.
pub const fn ctcf(&self) -> bool
pub const fn ctcf(&self) -> bool
Clear transfer complete flag Writing 1 clears the TCF flag in the SR register.
pub fn set_ctcf(&mut self, val: bool)
pub fn set_ctcf(&mut self, val: bool)
Clear transfer complete flag Writing 1 clears the TCF flag in the SR register.
pub const fn csmf(&self) -> bool
pub const fn csmf(&self) -> bool
Clear status match flag Writing 1 clears the SMF flag in the SR register.
pub fn set_csmf(&mut self, val: bool)
pub fn set_csmf(&mut self, val: bool)
Clear status match flag Writing 1 clears the SMF flag in the SR register.
Trait Implementations§
impl Copy for Fcr
impl Eq for Fcr
impl StructuralPartialEq for Fcr
Auto Trait Implementations§
impl Freeze for Fcr
impl RefUnwindSafe for Fcr
impl Send for Fcr
impl Sync for Fcr
impl Unpin for Fcr
impl UnwindSafe for Fcr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)