#[repr(transparent)]pub struct Cfgr1(pub u32);Expand description
Configuration 1.
Tuple Fields§
§0: u32Implementations§
Source§impl Cfgr1
impl Cfgr1
Sourcepub const fn set_master(&mut self, val: Master)
pub const fn set_master(&mut self, val: Master)
Controller Mode.
Sourcepub const fn set_sample(&mut self, val: Sample)
pub const fn set_sample(&mut self, val: Sample)
Sample Point.
Sourcepub const fn set_autopcs(&mut self, val: bool)
pub const fn set_autopcs(&mut self, val: bool)
Automatic PCS.
Sourcepub const fn set_nostall(&mut self, val: bool)
pub const fn set_nostall(&mut self, val: bool)
No Stall.
Sourcepub const fn set_partial(&mut self, val: Partial)
pub const fn set_partial(&mut self, val: Partial)
Partial Enable.
Sourcepub const fn set_pcspol(&mut self, val: Pcspol)
pub const fn set_pcspol(&mut self, val: Pcspol)
Peripheral Chip Select Polarity.
Sourcepub const fn set_matcfg(&mut self, val: Matcfg)
pub const fn set_matcfg(&mut self, val: Matcfg)
Match Configuration.
Sourcepub const fn set_pincfg(&mut self, val: Pincfg)
pub const fn set_pincfg(&mut self, val: Pincfg)
Pin Configuration.
Sourcepub const fn set_outcfg(&mut self, val: Outcfg)
pub const fn set_outcfg(&mut self, val: Outcfg)
Output Configuration.
Sourcepub const fn set_pcscfg(&mut self, val: Pcscfg)
pub const fn set_pcscfg(&mut self, val: Pcscfg)
Peripheral Chip Select Configuration.
Trait Implementations§
impl Copy for Cfgr1
impl Eq for Cfgr1
impl StructuralPartialEq for Cfgr1
Auto Trait Implementations§
impl Freeze for Cfgr1
impl RefUnwindSafe for Cfgr1
impl Send for Cfgr1
impl Sync for Cfgr1
impl Unpin for Cfgr1
impl UnwindSafe for Cfgr1
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