nxp-pac

Crates

git

Versions

mcxn246

Flavors

MacHwFeature12

Struct MacHwFeature12 

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

Hardware Features 1.

Tuple Fields§

§0: u32

Implementations§

Source§

impl MacHwFeature12

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. Raw bit values: false (0) = Inactive: Single Port RAM feature is not selected.; true (1) = Active: Single Port RAM feature is selected.

Source

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

Single Port RAM Enable. Raw bit values: false (0) = Inactive: Single Port RAM feature is not selected.; true (1) = Active: Single Port RAM feature is selected.

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. Raw bit values: false (0) = Inactive: One-Step Timestamping feature is not selected.; true (1) = Active: One-Step Timestamping feature is selected.

Source

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

One-Step Timestamping Enable. Raw bit values: false (0) = Inactive: One-Step Timestamping feature is not selected.; true (1) = Active: One-Step Timestamping feature is selected.

Source

pub const fn ptoen(&self) -> bool

PTP Offload Enable. Raw bit values: false (0) = Inactive: PTP Offload feature is not selected.; true (1) = Active: PTP Offload feature is selected.

Source

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

PTP Offload Enable. Raw bit values: false (0) = Inactive: PTP Offload feature is not selected.; true (1) = Active: PTP Offload feature is selected.

Source

pub const fn advthword(&self) -> bool

IEEE 1588 High Word Register Enable. Raw bit values: false (0) = Inactive: IEEE 1588 High Word Register option is not selected.; true (1) = Active: IEEE 1588 High Word Register option is selected.

Source

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

IEEE 1588 High Word Register Enable. Raw bit values: false (0) = Inactive: IEEE 1588 High Word Register option is not selected.; true (1) = Active: IEEE 1588 High Word Register option is selected.

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. Raw bit values: false (0) = Inactive: DCB Feature is not selected.; true (1) = Active: DCB Feature is selected.

Source

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

DCB Feature Enable. Raw bit values: false (0) = Inactive: DCB Feature is not selected.; true (1) = Active: DCB Feature is selected.

Source

pub const fn sphen(&self) -> bool

Split Header Feature Enable. Raw bit values: false (0) = Inactive: Split Header Feature is not selected.; true (1) = Active: Split Header Feature is selected.

Source

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

Split Header Feature Enable. Raw bit values: false (0) = Inactive: Split Header Feature is not selected.; true (1) = Active: Split Header Feature is selected.

Source

pub const fn tsoen(&self) -> bool

TCP Segmentation Offload Enable. Raw bit values: false (0) = Inactive: TCP Segmentation Offload Feature is not selected.; true (1) = Active: TCP Segmentation Offload Feature is selected.

Source

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

TCP Segmentation Offload Enable. Raw bit values: false (0) = Inactive: TCP Segmentation Offload Feature is not selected.; true (1) = Active: TCP Segmentation Offload Feature is selected.

Source

pub const fn dbgmema(&self) -> bool

DMA Debug Registers Enable. Raw bit values: false (0) = Inactive: DMA Debug Registers option is not selected.; true (1) = Active: DMA Debug Registers option is selected.

Source

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

DMA Debug Registers Enable. Raw bit values: false (0) = Inactive: DMA Debug Registers option is not selected.; true (1) = Active: DMA Debug Registers option is selected.

Source

pub const fn avsel(&self) -> bool

AV Feature Enable. Raw bit values: false (0) = Inactive: AV Feature is not selected.; true (1) = Active: AV Feature is selected.

Source

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

AV Feature Enable. Raw bit values: false (0) = Inactive: AV Feature is not selected.; true (1) = Active: AV Feature is selected.

Source

pub const fn ravsel(&self) -> bool

Rx Side Only AV Feature Enable. Raw bit values: false (0) = Inactive: Rx Side Only AV Feature is not selected.; true (1) = Active: Rx Side Only AV Feature is selected.

Source

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

Rx Side Only AV Feature Enable. Raw bit values: false (0) = Inactive: Rx Side Only AV Feature is not selected.; true (1) = Active: Rx Side Only AV Feature is selected.

Source

pub const fn pouost(&self) -> bool

One Step for PTP over UDP/IP Feature Enable. Raw bit values: false (0) = Inactive: One Step for PTP over UDP/IP Feature is not selected.; true (1) = Active: One Step for PTP over UDP/IP Feature is selected.

Source

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

One Step for PTP over UDP/IP Feature Enable. Raw bit values: false (0) = Inactive: One Step for PTP over UDP/IP Feature is not selected.; true (1) = Active: One Step for PTP over UDP/IP Feature is selected.

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 MacHwFeature12

Source§

fn clone(&self) -> MacHwFeature12

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 Default for MacHwFeature12

Source§

fn default() -> MacHwFeature12

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

impl PartialEq for MacHwFeature12

Source§

fn eq(&self, other: &MacHwFeature12) -> 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 MacHwFeature12

Source§

impl Eq for MacHwFeature12

Source§

impl StructuralPartialEq for MacHwFeature12

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.