#[repr(transparent)]pub struct Cfg(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
pub const fn capen0(&self) -> bool
pub const fn set_capen0(&mut self, val: bool)
pub const fn capen1(&self) -> bool
pub const fn set_capen1(&mut self, val: bool)
pub const fn capen2(&self) -> bool
pub const fn set_capen2(&mut self, val: bool)
pub const fn capen3(&self) -> bool
pub const fn set_capen3(&mut self, val: bool)
Sourcepub const fn cappol0(&self) -> bool
pub const fn cappol0(&self) -> bool
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn set_cappol0(&mut self, val: bool)
pub const fn set_cappol0(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn cappol1(&self) -> bool
pub const fn cappol1(&self) -> bool
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn set_cappol1(&mut self, val: bool)
pub const fn set_cappol1(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn cappol2(&self) -> bool
pub const fn cappol2(&self) -> bool
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn set_cappol2(&mut self, val: bool)
pub const fn set_cappol2(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn cappol3(&self) -> bool
pub const fn cappol3(&self) -> bool
Capture on a negative edge when set, positive edge when clear.
Sourcepub const fn set_cappol3(&mut self, val: bool)
pub const fn set_cappol3(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear.
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