Struct fusb302b::registers::InterruptB
source · pub struct InterruptB(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl InterruptB
impl InterruptB
sourcepub fn i_gcrcsent(&self) -> bool
pub fn i_gcrcsent(&self) -> bool
Sent a GoodCRC acknowledge packet in response to an incoming packet that has the correct CRC value
sourcepub fn with_i_gcrcsent(self, value: bool) -> Self
pub fn with_i_gcrcsent(self, value: bool) -> Self
Sent a GoodCRC acknowledge packet in response to an incoming packet that has the correct CRC value
sourcepub fn set_i_gcrcsent(&mut self, value: bool)
pub fn set_i_gcrcsent(&mut self, value: bool)
Sent a GoodCRC acknowledge packet in response to an incoming packet that has the correct CRC value
Trait Implementations§
source§impl Clone for InterruptB
impl Clone for InterruptB
source§fn clone(&self) -> InterruptB
fn clone(&self) -> InterruptB
Returns a copy 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 Default for InterruptB
impl Default for InterruptB
source§fn default() -> InterruptB
fn default() -> InterruptB
Returns the “default value” for a type. Read more
source§impl From<InterruptB> for u8
impl From<InterruptB> for u8
source§fn from(other: InterruptB) -> Self
fn from(other: InterruptB) -> Self
Converts to this type from the input type.
source§impl From<u8> for InterruptB
impl From<u8> for InterruptB
source§impl PartialEq for InterruptB
impl PartialEq for InterruptB
source§fn eq(&self, other: &InterruptB) -> bool
fn eq(&self, other: &InterruptB) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterruptB
impl Eq for InterruptB
impl StructuralPartialEq for InterruptB
Auto Trait Implementations§
impl Freeze for InterruptB
impl RefUnwindSafe for InterruptB
impl Send for InterruptB
impl Sync for InterruptB
impl Unpin for InterruptB
impl UnwindSafe for InterruptB
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
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.