Struct Cr1
#[repr(transparent)]pub struct Cr1(pub u32);
Expand description
AConfiguration register 1
Tuple Fields§
§0: u32
Implementations§
§impl Cr1
impl Cr1
pub fn set_prtcfg(&mut self, val: Prtcfg)
pub fn set_prtcfg(&mut self, val: Prtcfg)
Protocol configuration
pub fn set_lsbfirst(&mut self, val: Lsbfirst)
pub fn set_lsbfirst(&mut self, val: Lsbfirst)
Least significant bit first
pub fn set_syncen(&mut self, val: Syncen)
pub fn set_syncen(&mut self, val: Syncen)
Synchronization enable
pub fn set_outdriv(&mut self, val: Outdriv)
pub fn set_outdriv(&mut self, val: Outdriv)
Output drive
pub fn set_mckdiv(&mut self, val: u8)
pub fn set_mckdiv(&mut self, val: u8)
Master clock divider
Trait Implementations§
impl Copy for Cr1
impl Eq for Cr1
impl StructuralPartialEq for Cr1
Auto Trait Implementations§
impl Freeze for Cr1
impl RefUnwindSafe for Cr1
impl Send for Cr1
impl Sync for Cr1
impl Unpin for Cr1
impl UnwindSafe for Cr1
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