stm32-metapac

Crates

git

Versions

stm32f479bg

Flavors

Struct stm32_metapac::eth::regs::Dmasr

#[repr(transparent)]
pub struct Dmasr(pub u32);
Expand description

Ethernet DMA status register

Tuple Fields§

§0: u32

Implementations§

§

impl Dmasr

pub const fn ts(&self) -> bool

Transmit status

pub fn set_ts(&mut self, val: bool)

Transmit status

pub const fn tpss(&self) -> bool

Transmit process stopped status

pub fn set_tpss(&mut self, val: bool)

Transmit process stopped status

pub const fn tbus(&self) -> bool

Transmit buffer unavailable status

pub fn set_tbus(&mut self, val: bool)

Transmit buffer unavailable status

pub const fn tjts(&self) -> bool

Transmit jabber timeout status

pub fn set_tjts(&mut self, val: bool)

Transmit jabber timeout status

pub const fn ros(&self) -> bool

Receive overflow status

pub fn set_ros(&mut self, val: bool)

Receive overflow status

pub const fn tus(&self) -> bool

Transmit underflow status

pub fn set_tus(&mut self, val: bool)

Transmit underflow status

pub const fn rs(&self) -> bool

Receive status

pub fn set_rs(&mut self, val: bool)

Receive status

pub const fn rbus(&self) -> bool

Receive buffer unavailable status

pub fn set_rbus(&mut self, val: bool)

Receive buffer unavailable status

pub const fn rpss(&self) -> bool

Receive process stopped status

pub fn set_rpss(&mut self, val: bool)

Receive process stopped status

pub const fn pwts(&self) -> bool

PWTS

pub fn set_pwts(&mut self, val: bool)

PWTS

pub const fn ets(&self) -> bool

Early transmit status

pub fn set_ets(&mut self, val: bool)

Early transmit status

pub const fn fbes(&self) -> bool

Fatal bus error status

pub fn set_fbes(&mut self, val: bool)

Fatal bus error status

pub const fn ers(&self) -> bool

Early receive status

pub fn set_ers(&mut self, val: bool)

Early receive status

pub const fn ais(&self) -> bool

Abnormal interrupt summary

pub fn set_ais(&mut self, val: bool)

Abnormal interrupt summary

pub const fn nis(&self) -> bool

Normal interrupt summary

pub fn set_nis(&mut self, val: bool)

Normal interrupt summary

pub const fn rps(&self) -> Rps

Receive process state

pub fn set_rps(&mut self, val: Rps)

Receive process state

pub const fn tps(&self) -> Tps

Transmit process state

pub fn set_tps(&mut self, val: Tps)

Transmit process state

pub const fn ebs(&self) -> u8

Error bits status

pub fn set_ebs(&mut self, val: u8)

Error bits status

pub const fn mmcs(&self) -> bool

MMC status

pub fn set_mmcs(&mut self, val: bool)

MMC status

pub const fn pmts(&self) -> bool

PMT status

pub fn set_pmts(&mut self, val: bool)

PMT status

pub const fn tsts(&self) -> bool

Time stamp trigger status

pub fn set_tsts(&mut self, val: bool)

Time stamp trigger status

Trait Implementations§

§

impl Clone for Dmasr

§

fn clone(&self) -> Dmasr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Dmasr

§

fn default() -> Dmasr

Returns the “default value” for a type. Read more
§

impl PartialEq for Dmasr

§

fn eq(&self, other: &Dmasr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Dmasr

§

impl Eq for Dmasr

§

impl StructuralPartialEq for Dmasr

Auto Trait Implementations§

§

impl Freeze for Dmasr

§

impl RefUnwindSafe for Dmasr

§

impl Send for Dmasr

§

impl Sync for Dmasr

§

impl Unpin for Dmasr

§

impl UnwindSafe for Dmasr

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.