#[repr(transparent)]pub struct CmdcrcCtrl(pub u32);Expand description
CRC Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl CmdcrcCtrl
impl CmdcrcCtrl
Sourcepub const fn cmdcrc_rst(&self) -> CmdcrcRst
pub const fn cmdcrc_rst(&self) -> CmdcrcRst
CRC reset to initial valueCMDCRC_EN and CMDCRC_RST fields act independently
Sourcepub const fn set_cmdcrc_rst(&mut self, val: CmdcrcRst)
pub const fn set_cmdcrc_rst(&mut self, val: CmdcrcRst)
CRC reset to initial valueCMDCRC_EN and CMDCRC_RST fields act independently
Sourcepub const fn set_cmdcrc_en(&mut self, val: CmdcrcEn)
pub const fn set_cmdcrc_en(&mut self, val: CmdcrcEn)
CRC enable bit
Trait Implementations§
Source§impl Clone for CmdcrcCtrl
impl Clone for CmdcrcCtrl
Source§fn clone(&self) -> CmdcrcCtrl
fn clone(&self) -> CmdcrcCtrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CmdcrcCtrl
impl Debug for CmdcrcCtrl
Source§impl Default for CmdcrcCtrl
impl Default for CmdcrcCtrl
Source§fn default() -> CmdcrcCtrl
fn default() -> CmdcrcCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for CmdcrcCtrl
impl PartialEq for CmdcrcCtrl
impl Copy for CmdcrcCtrl
impl Eq for CmdcrcCtrl
impl StructuralPartialEq for CmdcrcCtrl
Auto Trait Implementations§
impl Freeze for CmdcrcCtrl
impl RefUnwindSafe for CmdcrcCtrl
impl Send for CmdcrcCtrl
impl Sync for CmdcrcCtrl
impl Unpin for CmdcrcCtrl
impl UnwindSafe for CmdcrcCtrl
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