nxp-pac

Crates

git

Versions

mcxn947_cm33_core1

Flavors

MacHwFeature1

Struct MacHwFeature1 

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

Hardware Features 1

Tuple Fields§

§0: u32

Implementations§

Source§

impl MacHwFeature1

Source

pub const fn rxfifosize(&self) -> Rxfifosize

MTL Receive FIFO Size

Source

pub const fn set_rxfifosize(&mut self, val: Rxfifosize)

MTL Receive FIFO Size

Source

pub const fn spram(&self) -> bool

Single Port RAM Enable

Source

pub const fn set_spram(&mut self, val: bool)

Single Port RAM Enable

Source

pub const fn txfifosize(&self) -> Txfifosize

MTL Transmit FIFO Size

Source

pub const fn set_txfifosize(&mut self, val: Txfifosize)

MTL Transmit FIFO Size

Source

pub const fn osten(&self) -> bool

One-Step Timestamping Enable

Source

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

One-Step Timestamping Enable

Source

pub const fn ptoen(&self) -> bool

PTP Offload Enable

Source

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

PTP Offload Enable

Source

pub const fn advthword(&self) -> bool

IEEE 1588 High Word Register Enable

Source

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

IEEE 1588 High Word Register Enable

Source

pub const fn addr64(&self) -> Addr64

Address Width.

Source

pub const fn set_addr64(&mut self, val: Addr64)

Address Width.

Source

pub const fn dcben(&self) -> bool

DCB Feature Enable

Source

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

DCB Feature Enable

Source

pub const fn sphen(&self) -> bool

Split Header Feature Enable

Source

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

Split Header Feature Enable

Source

pub const fn tsoen(&self) -> bool

TCP Segmentation Offload Enable

Source

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

TCP Segmentation Offload Enable

Source

pub const fn dbgmema(&self) -> bool

DMA Debug Registers Enable

Source

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

DMA Debug Registers Enable

Source

pub const fn avsel(&self) -> bool

AV Feature Enable

Source

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

AV Feature Enable

Source

pub const fn ravsel(&self) -> bool

Rx Side Only AV Feature Enable

Source

pub const fn set_ravsel(&mut self, val: bool)

Rx Side Only AV Feature Enable

Source

pub const fn pouost(&self) -> bool

One Step for PTP over UDP/IP Feature Enable

Source

pub const fn set_pouost(&mut self, val: bool)

One Step for PTP over UDP/IP Feature Enable

Source

pub const fn hashtblsz(&self) -> Hashtblsz

Hash Table Size

Source

pub const fn set_hashtblsz(&mut self, val: Hashtblsz)

Hash Table Size

Source

pub const fn l3l4fnum(&self) -> L3l4fnum

Total number of L3 or L4 Filters

Source

pub const fn set_l3l4fnum(&mut self, val: L3l4fnum)

Total number of L3 or L4 Filters

Trait Implementations§

Source§

impl Clone for MacHwFeature1

Source§

fn clone(&self) -> MacHwFeature1

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for MacHwFeature1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MacHwFeature1

Source§

fn default() -> MacHwFeature1

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

impl PartialEq for MacHwFeature1

Source§

fn eq(&self, other: &MacHwFeature1) -> 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.
Source§

impl Copy for MacHwFeature1

Source§

impl Eq for MacHwFeature1

Source§

impl StructuralPartialEq for MacHwFeature1

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.