Struct Cfgr
#[repr(transparent)]pub struct Cfgr(pub u32);
Expand description
Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl Cfgr
impl Cfgr
pub fn set_trgflt(&mut self, val: u8)
pub fn set_trgflt(&mut self, val: u8)
Configurable digital filter for trigger
pub fn set_trigsel(&mut self, val: u8)
pub fn set_trigsel(&mut self, val: u8)
Trigger selector
pub fn set_trigen(&mut self, val: u8)
pub fn set_trigen(&mut self, val: u8)
Trigger enable and polarity
pub fn set_timout(&mut self, val: bool)
pub fn set_timout(&mut self, val: bool)
Timeout enable
pub fn set_wavpol(&mut self, val: bool)
pub fn set_wavpol(&mut self, val: bool)
Waveform shape polarity
pub fn set_preload(&mut self, val: bool)
pub fn set_preload(&mut self, val: bool)
Registers update mode
pub fn set_countmode(&mut self, val: bool)
pub fn set_countmode(&mut self, val: bool)
counter mode enabled
Trait Implementations§
impl Copy for Cfgr
impl Eq for Cfgr
impl StructuralPartialEq for Cfgr
Auto Trait Implementations§
impl Freeze for Cfgr
impl RefUnwindSafe for Cfgr
impl Send for Cfgr
impl Sync for Cfgr
impl Unpin for Cfgr
impl UnwindSafe for Cfgr
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