pub struct MaskA(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl MaskA
impl MaskA
sourcepub fn m_ocp_temp(&self) -> bool
pub fn m_ocp_temp(&self) -> bool
Mask the I_OCP_TEMP interrupt
sourcepub fn with_m_ocp_temp(self, value: bool) -> Self
pub fn with_m_ocp_temp(self, value: bool) -> Self
Mask the I_OCP_TEMP interrupt
sourcepub fn set_m_ocp_temp(&mut self, value: bool)
pub fn set_m_ocp_temp(&mut self, value: bool)
Mask the I_OCP_TEMP interrupt
sourcepub fn with_m_togdone(self, value: bool) -> Self
pub fn with_m_togdone(self, value: bool) -> Self
Mask the I_TOGDONE interrupt
sourcepub fn set_m_togdone(&mut self, value: bool)
pub fn set_m_togdone(&mut self, value: bool)
Mask the I_TOGDONE interrupt
sourcepub fn m_softfail(&self) -> bool
pub fn m_softfail(&self) -> bool
Mask the I_SOFTFAIL interrupt
sourcepub fn with_m_softfail(self, value: bool) -> Self
pub fn with_m_softfail(self, value: bool) -> Self
Mask the I_SOFTFAIL interrupt
sourcepub fn set_m_softfail(&mut self, value: bool)
pub fn set_m_softfail(&mut self, value: bool)
Mask the I_SOFTFAIL interrupt
sourcepub fn m_retryfail(&self) -> bool
pub fn m_retryfail(&self) -> bool
Mask the I_RETRYFAIL interrupt
sourcepub fn with_m_retryfail(self, value: bool) -> Self
pub fn with_m_retryfail(self, value: bool) -> Self
Mask the I_RETRYFAIL interrupt
sourcepub fn set_m_retryfail(&mut self, value: bool)
pub fn set_m_retryfail(&mut self, value: bool)
Mask the I_RETRYFAIL interrupt
sourcepub fn m_hardsent(&self) -> bool
pub fn m_hardsent(&self) -> bool
Mask the I_HARDSENT interrupt
sourcepub fn with_m_hardsent(self, value: bool) -> Self
pub fn with_m_hardsent(self, value: bool) -> Self
Mask the I_HARDSENT interrupt
sourcepub fn set_m_hardsent(&mut self, value: bool)
pub fn set_m_hardsent(&mut self, value: bool)
Mask the I_HARDSENT interrupt
sourcepub fn with_m_txsent(self, value: bool) -> Self
pub fn with_m_txsent(self, value: bool) -> Self
Mask the I_TXSENT interrupt
sourcepub fn set_m_txsent(&mut self, value: bool)
pub fn set_m_txsent(&mut self, value: bool)
Mask the I_TXSENT interrupt
sourcepub fn with_m_softrst(self, value: bool) -> Self
pub fn with_m_softrst(self, value: bool) -> Self
Mask the I_SOFTRST interrupt
sourcepub fn set_m_softrst(&mut self, value: bool)
pub fn set_m_softrst(&mut self, value: bool)
Mask the I_SOFTRST interrupt
sourcepub fn with_m_hardrst(self, value: bool) -> Self
pub fn with_m_hardrst(self, value: bool) -> Self
Mask the I_HARDRST interrupt
sourcepub fn set_m_hardrst(&mut self, value: bool)
pub fn set_m_hardrst(&mut self, value: bool)
Mask the I_HARDRST interrupt
Trait Implementations§
impl Copy for MaskA
impl Eq for MaskA
impl StructuralPartialEq for MaskA
Auto Trait Implementations§
impl Freeze for MaskA
impl RefUnwindSafe for MaskA
impl Send for MaskA
impl Sync for MaskA
impl Unpin for MaskA
impl UnwindSafe for MaskA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.