#[repr(transparent)]pub struct Config(pub u32);Expand description
SCT Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl Config
impl Config
Sourcepub const fn set_clkmode(&mut self, val: Clkmode)
pub const fn set_clkmode(&mut self, val: Clkmode)
SCT Clock Mode
Sourcepub const fn noreload_l(&self) -> NoreloadL
pub const fn noreload_l(&self) -> NoreloadL
No Reload Lower Match
Sourcepub const fn set_noreload_l(&mut self, val: NoreloadL)
pub const fn set_noreload_l(&mut self, val: NoreloadL)
No Reload Lower Match
Sourcepub const fn noreload_h(&self) -> NoreloadH
pub const fn noreload_h(&self) -> NoreloadH
No Reload Higher Match
Sourcepub const fn set_noreload_h(&mut self, val: NoreloadH)
pub const fn set_noreload_h(&mut self, val: NoreloadH)
No Reload Higher Match
Sourcepub const fn set_insync(&mut self, val: u8)
pub const fn set_insync(&mut self, val: u8)
Input Synchronization
Sourcepub const fn autolimit_l(&self) -> bool
pub const fn autolimit_l(&self) -> bool
Auto Limit Lower
Sourcepub const fn set_autolimit_l(&mut self, val: bool)
pub const fn set_autolimit_l(&mut self, val: bool)
Auto Limit Lower
Sourcepub const fn autolimit_h(&self) -> bool
pub const fn autolimit_h(&self) -> bool
Auto Limit Higher
Sourcepub const fn set_autolimit_h(&mut self, val: bool)
pub const fn set_autolimit_h(&mut self, val: bool)
Auto Limit Higher
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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