#[repr(transparent)]pub struct Filt(pub u16);Expand description
Input Filter Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Filt
impl Filt
Sourcepub const fn filt_per(&self) -> u8
pub const fn filt_per(&self) -> u8
Input Filter Sample Period. When changing between nonzero values, write zero first.
Sourcepub const fn set_filt_per(&mut self, val: u8)
pub const fn set_filt_per(&mut self, val: u8)
Input Filter Sample Period. When changing between nonzero values, write zero first.
Sourcepub const fn filt_cnt(&self) -> u8
pub const fn filt_cnt(&self) -> u8
Filter sample-count encoding 0 through 7 selects 3 through 10 samples.
Sourcepub const fn set_filt_cnt(&mut self, val: u8)
pub const fn set_filt_cnt(&mut self, val: u8)
Filter sample-count encoding 0 through 7 selects 3 through 10 samples.
Sourcepub const fn set_filt_cs(&mut self, val: FiltCs)
pub const fn set_filt_cs(&mut self, val: FiltCs)
Filter Clock Source selection.
Trait Implementations§
impl Copy for Filt
impl Eq for Filt
impl StructuralPartialEq for Filt
Auto Trait Implementations§
impl Freeze for Filt
impl RefUnwindSafe for Filt
impl Send for Filt
impl Sync for Filt
impl Unpin for Filt
impl UnwindSafe for Filt
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