#[repr(transparent)]pub struct KeepAliveCtrl(pub u8);Expand description
Keep Alive Mode Control
Tuple Fields§
§0: u8Implementations§
Source§impl KeepAliveCtrl
impl KeepAliveCtrl
Sourcepub const fn keep_alive_en(&self) -> bool
pub const fn keep_alive_en(&self) -> bool
Keep Alive Mode Enable
Sourcepub const fn set_keep_alive_en(&mut self, val: bool)
pub const fn set_keep_alive_en(&mut self, val: bool)
Keep Alive Mode Enable
Sourcepub const fn own_overrd_en(&self) -> bool
pub const fn own_overrd_en(&self) -> bool
OWN Bit Override Enable
Sourcepub const fn set_own_overrd_en(&mut self, val: bool)
pub const fn set_own_overrd_en(&mut self, val: bool)
OWN Bit Override Enable
Sourcepub const fn stop_ack_dly_en(&self) -> StopAckDlyEn
pub const fn stop_ack_dly_en(&self) -> StopAckDlyEn
Stop Acknowledge Delay Enable
Sourcepub const fn set_stop_ack_dly_en(&mut self, val: StopAckDlyEn)
pub const fn set_stop_ack_dly_en(&mut self, val: StopAckDlyEn)
Stop Acknowledge Delay Enable
Sourcepub const fn wake_req_en(&self) -> WakeReqEn
pub const fn wake_req_en(&self) -> WakeReqEn
Wakeup Request Enable
Sourcepub const fn set_wake_req_en(&mut self, val: WakeReqEn)
pub const fn set_wake_req_en(&mut self, val: WakeReqEn)
Wakeup Request Enable
Sourcepub const fn wake_int_en(&self) -> bool
pub const fn wake_int_en(&self) -> bool
Wakeup Interrupt Enable
Sourcepub const fn set_wake_int_en(&mut self, val: bool)
pub const fn set_wake_int_en(&mut self, val: bool)
Wakeup Interrupt Enable
Sourcepub const fn keep_alive_sts(&self) -> KeepAliveSts
pub const fn keep_alive_sts(&self) -> KeepAliveSts
Keep Alive Status
Sourcepub const fn set_keep_alive_sts(&mut self, val: KeepAliveSts)
pub const fn set_keep_alive_sts(&mut self, val: KeepAliveSts)
Keep Alive Status
Sourcepub const fn wake_int_sts(&self) -> WakeIntSts
pub const fn wake_int_sts(&self) -> WakeIntSts
Wakeup Interrupt Status Flag
Sourcepub const fn set_wake_int_sts(&mut self, val: WakeIntSts)
pub const fn set_wake_int_sts(&mut self, val: WakeIntSts)
Wakeup Interrupt Status Flag
Trait Implementations§
Source§impl Clone for KeepAliveCtrl
impl Clone for KeepAliveCtrl
Source§fn clone(&self) -> KeepAliveCtrl
fn clone(&self) -> KeepAliveCtrl
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 KeepAliveCtrl
impl Debug for KeepAliveCtrl
Source§impl Default for KeepAliveCtrl
impl Default for KeepAliveCtrl
Source§fn default() -> KeepAliveCtrl
fn default() -> KeepAliveCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeepAliveCtrl
impl PartialEq for KeepAliveCtrl
impl Copy for KeepAliveCtrl
impl Eq for KeepAliveCtrl
impl StructuralPartialEq for KeepAliveCtrl
Auto Trait Implementations§
impl Freeze for KeepAliveCtrl
impl RefUnwindSafe for KeepAliveCtrl
impl Send for KeepAliveCtrl
impl Sync for KeepAliveCtrl
impl Unpin for KeepAliveCtrl
impl UnwindSafe for KeepAliveCtrl
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