Enum Ptxfemplvl
#[repr(u8)]pub enum Ptxfemplvl {
Halfempty = 0,
Empty = 1,
}Variants§
Halfempty = 0
GINTSTS.PTxFEmp interrupt indicates that the Periodic TxFIFO is half empty.
Empty = 1
GINTSTS.PTxFEmp interrupt indicates that the Periodic TxFIFO is completely empty.
Implementations§
§impl Ptxfemplvl
impl Ptxfemplvl
pub const fn from_bits(val: u8) -> Ptxfemplvl
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ptxfemplvl
impl Clone for Ptxfemplvl
§fn clone(&self) -> Ptxfemplvl
fn clone(&self) -> Ptxfemplvl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ptxfemplvl
impl Eq for Ptxfemplvl
§impl From<u8> for Ptxfemplvl
impl From<u8> for Ptxfemplvl
§fn from(val: u8) -> Ptxfemplvl
fn from(val: u8) -> Ptxfemplvl
Converts to this type from the input type.
§impl Ord for Ptxfemplvl
impl Ord for Ptxfemplvl
§fn cmp(&self, other: &Ptxfemplvl) -> Ordering
fn cmp(&self, other: &Ptxfemplvl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Ptxfemplvl
impl PartialEq for Ptxfemplvl
§impl PartialOrd for Ptxfemplvl
impl PartialOrd for Ptxfemplvl
impl StructuralPartialEq for Ptxfemplvl
Auto Trait Implementations§
impl Forget for Ptxfemplvl
impl Freeze for Ptxfemplvl
impl Move for Ptxfemplvl
impl RefUnwindSafe for Ptxfemplvl
impl Send for Ptxfemplvl
impl Sync for Ptxfemplvl
impl Unpin for Ptxfemplvl
impl UnsafeUnpin for Ptxfemplvl
impl UnwindSafe for Ptxfemplvl
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