Embassy
stm32-metapac

Crates

git

Versions

stm32h730ab

Flavors

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

HW feature 1 register

Tuple Fields§

§0: u32

Implementations§

§

impl Machwf1r

pub const fn rxfifosize(&self) -> u8

MTL Receive FIFO Size

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

MTL Receive FIFO Size

pub const fn txfifosize(&self) -> u8

MTL Transmit FIFO Size

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

MTL Transmit FIFO Size

pub const fn osten(&self) -> bool

One-Step Timestamping Enable

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

One-Step Timestamping Enable

pub const fn ptoen(&self) -> bool

PTP Offload Enable

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

PTP Offload Enable

pub const fn advthword(&self) -> bool

IEEE 1588 High Word Register Enable

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

IEEE 1588 High Word Register Enable

pub const fn addr64(&self) -> u8

Address width

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

Address width

pub const fn dcben(&self) -> bool

DCB Feature Enable

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

DCB Feature Enable

pub const fn sphen(&self) -> bool

Split Header Feature Enable

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

Split Header Feature Enable

pub const fn tsoen(&self) -> bool

TCP Segmentation Offload Enable

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

TCP Segmentation Offload Enable

pub const fn dbgmema(&self) -> bool

DMA Debug Registers Enable

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

DMA Debug Registers Enable

pub const fn avsel(&self) -> bool

AV Feature Enable

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

AV Feature Enable

pub const fn hashtblsz(&self) -> u8

Hash Table Size

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

Hash Table Size

pub const fn l3l4fnum(&self) -> u8

Total number of L3 or L4 Filters

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

Total number of L3 or L4 Filters

Trait Implementations§

§

impl Clone for Machwf1r

§

fn clone(&self) -> Machwf1r

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 Machwf1r

§

fn default() -> Machwf1r

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

impl PartialEq for Machwf1r

§

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

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

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

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

impl Copy for Machwf1r

§

impl Eq for Machwf1r

§

impl StructuralEq for Machwf1r

§

impl StructuralPartialEq for Machwf1r

Auto Trait Implementations§

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> 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>,

§

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>,

§

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.