#[repr(transparent)]pub struct Cfg(pub u32);Expand description
Capture Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
Sourcepub const fn set_capen0(&mut self, val: Capen0)
pub const fn set_capen0(&mut self, val: Capen0)
Enable Capture 0
Sourcepub const fn set_capen1(&mut self, val: Capen1)
pub const fn set_capen1(&mut self, val: Capen1)
Enable Capture 1
Sourcepub const fn set_capen2(&mut self, val: Capen2)
pub const fn set_capen2(&mut self, val: Capen2)
Enable Capture 2
Sourcepub const fn set_capen3(&mut self, val: Capen3)
pub const fn set_capen3(&mut self, val: Capen3)
Enable Capture 3
Sourcepub const fn set_cappol0(&mut self, val: Cappol0)
pub const fn set_cappol0(&mut self, val: Cappol0)
Capture Polarity 0
Sourcepub const fn set_cappol1(&mut self, val: Cappol1)
pub const fn set_cappol1(&mut self, val: Cappol1)
Capture-Polarity 1
Sourcepub const fn set_cappol2(&mut self, val: Cappol2)
pub const fn set_cappol2(&mut self, val: Cappol2)
Capture Polarity 2
Sourcepub const fn set_cappol3(&mut self, val: Cappol3)
pub const fn set_cappol3(&mut self, val: Cappol3)
Capture Polarity 3
Trait Implementations§
impl Copy for Cfg
impl Eq for Cfg
impl StructuralPartialEq for Cfg
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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