#[repr(transparent)]pub struct Mcfgr1(pub u32);Expand description
Master Configuration 1
Tuple Fields§
§0: u32Implementations§
Source§impl Mcfgr1
impl Mcfgr1
Sourcepub const fn set_prescale(&mut self, val: Prescale)
pub const fn set_prescale(&mut self, val: Prescale)
Prescaler
Sourcepub const fn set_autostop(&mut self, val: bool)
pub const fn set_autostop(&mut self, val: bool)
Automatic STOP Generation
Sourcepub const fn set_ignack(&mut self, val: bool)
pub const fn set_ignack(&mut self, val: bool)
IGNACK
Sourcepub const fn set_timecfg(&mut self, val: Timecfg)
pub const fn set_timecfg(&mut self, val: Timecfg)
Timeout Configuration
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
Trait Implementations§
impl Copy for Mcfgr1
impl Eq for Mcfgr1
impl StructuralPartialEq for Mcfgr1
Auto Trait Implementations§
impl Freeze for Mcfgr1
impl RefUnwindSafe for Mcfgr1
impl Send for Mcfgr1
impl Sync for Mcfgr1
impl Unpin for Mcfgr1
impl UnwindSafe for Mcfgr1
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