#[repr(transparent)]pub struct Ch2optsSet(pub u32);Expand description
DCP channel 2 options register
Tuple Fields§
§0: u32Implementations§
Source§impl Ch2optsSet
impl Ch2optsSet
Sourcepub const fn recovery_timer(&self) -> u16
pub const fn recovery_timer(&self) -> u16
This field indicates the recovery time for the channel
Sourcepub const fn set_recovery_timer(&mut self, val: u16)
pub const fn set_recovery_timer(&mut self, val: u16)
This field indicates the recovery time for the channel
Trait Implementations§
Source§impl Clone for Ch2optsSet
impl Clone for Ch2optsSet
Source§fn clone(&self) -> Ch2optsSet
fn clone(&self) -> Ch2optsSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ch2optsSet
impl Debug for Ch2optsSet
Source§impl Default for Ch2optsSet
impl Default for Ch2optsSet
Source§fn default() -> Ch2optsSet
fn default() -> Ch2optsSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ch2optsSet
impl PartialEq for Ch2optsSet
impl Copy for Ch2optsSet
impl Eq for Ch2optsSet
impl StructuralPartialEq for Ch2optsSet
Auto Trait Implementations§
impl Freeze for Ch2optsSet
impl RefUnwindSafe for Ch2optsSet
impl Send for Ch2optsSet
impl Sync for Ch2optsSet
impl Unpin for Ch2optsSet
impl UnwindSafe for Ch2optsSet
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