nxp-pac

Crates

git

Versions

mcxa577

Flavors

Enet

Struct Enet 

Source
pub struct Enet { /* private fields */ }
Expand description

no description available

Implementations§

Source§

impl Enet

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn mac_configuration(self) -> Reg<MacConfiguration, RW>

MAC Configuration

Source

pub const fn mac_ext_configuration(self) -> Reg<MacExtConfiguration, RW>

MAC Extended Configuration

Source

pub const fn mac_packet_filter(self) -> Reg<MacPacketFilter, RW>

MAC Packet Filter

Source

pub const fn mac_wd_jb_timeout(self) -> Reg<MacWdJbTimeout, RW>

Watchdog and Jabber Timeout

Source

pub const fn mac_vlan_tag(self) -> Reg<MacVlanTag, RW>

VLAN Tag

Source

pub const fn mac_vlan_incl(self) -> Reg<MacVlanIncl, RW>

VLAN Tag Inclusion or Replacement

Source

pub const fn mac_inner_vlan_incl(self) -> Reg<MacInnerVlanIncl, RW>

Inner VLAN Tag Inclusion or Replacement

Source

pub const fn mac_q0_tx_flow_ctrl(self) -> Reg<MacQ0TxFlowCtrl, RW>

Queue 0 Transmit Flow Control

Source

pub const fn mac_rx_flow_ctrl(self) -> Reg<MacRxFlowCtrl, RW>

Receive Flow Control

Source

pub const fn mac_interrupt_status(self) -> Reg<MacInterruptStatus, R>

Interrupt Status

Source

pub const fn mac_interrupt_enable(self) -> Reg<MacInterruptEnable, RW>

Interrupt Enable

Source

pub const fn mac_rx_tx_status(self) -> Reg<MacRxTxStatus, R>

Receive Transmit Status

Source

pub const fn mac_pmt_control_status(self) -> Reg<MacPmtControlStatus, RW>

PMT Control and Status

Source

pub const fn mac_version(self) -> Reg<MacVersion, R>

Version

Source

pub const fn mac_debug(self) -> Reg<MacDebug, R>

Debug

Source

pub const fn mac_hw_feature0(self) -> Reg<MacHwFeature0, R>

HW Features 0

Source

pub const fn mac_hw_feature1(self) -> Reg<MacHwFeature1, R>

HW Features 1

Source

pub const fn mac_hw_feature2(self) -> Reg<MacHwFeature2, R>

HW Features 2

Source

pub const fn mac_hw_feature3(self) -> Reg<MacHwFeature3, R>

HW Features 3

Source

pub const fn mac_hw_feature4(self) -> Reg<MacHwFeature4, R>

HW Features 4

Source

pub const fn mac_mdio_address(self) -> Reg<MacMdioAddress, RW>

MDIO Address

Source

pub const fn mac_mdio_data(self) -> Reg<MacMdioData, RW>

MDIO Data

Source

pub const fn mac_csr_sw_ctrl(self) -> Reg<MacCsrSwCtrl, RW>

CSR Software Control

Source

pub const fn mac_address0_high(self) -> Reg<MacAddress0High, RW>

MAC Address0 High

Source

pub const fn mac_address0_low(self) -> Reg<MacAddress0Low, RW>

MAC Address0 Low

Source

pub const fn mac_timestamp_control(self) -> Reg<MacTimestampControl, RW>

Timestamp Control

Source

pub const fn mac_sub_second_increment(self) -> Reg<MacSubSecondIncrement, RW>

Sub Second Increment

Source

pub const fn mac_system_time_seconds(self) -> Reg<MacSystemTimeSeconds, R>

System Time Seconds

Source

pub const fn mac_system_time_nanoseconds( self, ) -> Reg<MacSystemTimeNanoseconds, R>

System Time Nanoseconds

Source

pub const fn mac_system_time_seconds_update( self, ) -> Reg<MacSystemTimeSecondsUpdate, RW>

System Time Seconds Update

Source

pub const fn mac_system_time_nanoseconds_update( self, ) -> Reg<MacSystemTimeNanosecondsUpdate, RW>

MAC System Time Nanoseconds Update

Source

pub const fn mac_timestamp_addend(self) -> Reg<MacTimestampAddend, RW>

Timestamp Addend

Source

pub const fn mac_timestamp_status(self) -> Reg<MacTimestampStatus, R>

Timestamp Status

Source

pub const fn mac_rx_domain_time_incr(self) -> Reg<MacRxDomainTimeIncr, RW>

Receive Domain TIme Increment

Source

pub const fn mac_tx_domain_time_incr(self) -> Reg<MacTxDomainTimeIncr, RW>

Transmit Domain TIme Increment

Source

pub const fn mac_tx_timestamp_status_nanoseconds( self, ) -> Reg<MacTxTimestampStatusNanoseconds, R>

Transmit Timestamp Status Nanoseconds

Source

pub const fn mac_tx_timestamp_status_seconds( self, ) -> Reg<MacTxTimestampStatusSeconds, R>

Transmit Timestamp Status Seconds

Source

pub const fn mac_auxiliary_control(self) -> Reg<MacAuxiliaryControl, RW>

Auxiliary Timestamp Control

Source

pub const fn mac_auxiliary_timestamp_nanoseconds( self, ) -> Reg<MacAuxiliaryTimestampNanoseconds, R>

Auxiliary Timestamp Nanoseconds

Source

pub const fn mac_auxiliary_timestamp_seconds( self, ) -> Reg<MacAuxiliaryTimestampSeconds, R>

Auxiliary Timestamp Seconds

Source

pub const fn mac_timestamp_ingress_corr_nanosecond( self, ) -> Reg<MacTimestampIngressCorrNanosecond, RW>

MAC Timestamp Ingress Correction Nanosecond

Source

pub const fn mac_timestamp_egress_corr_nanosecond( self, ) -> Reg<MacTimestampEgressCorrNanosecond, RW>

MAC Timestamp Egress Correction Nanosecond

Source

pub const fn mac_timestamp_ingress_latency( self, ) -> Reg<MacTimestampIngressLatency, R>

MAC Timestamp Ingress Latency

Source

pub const fn mac_timestamp_egress_latency( self, ) -> Reg<MacTimestampEgressLatency, R>

MAC Timestamp Egress Latency

Source

pub const fn mac_pps_control(self) -> Reg<MacPpsControl, RW>

PPS Control

Source

pub const fn mac_pps0_target_time_seconds( self, ) -> Reg<MacPps0TargetTimeSeconds, RW>

PPS Target Time Seconds

Source

pub const fn mac_pps0_target_time_nanoseconds( self, ) -> Reg<MacPps0TargetTimeNanoseconds, RW>

PPS0 Target Time Nanoseconds

Trait Implementations§

Source§

impl Clone for Enet

Source§

fn clone(&self) -> Enet

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 PartialEq for Enet

Source§

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

Source§

impl Eq for Enet

Source§

impl Send for Enet

Source§

impl StructuralPartialEq for Enet

Source§

impl Sync for Enet

Auto Trait Implementations§

§

impl Freeze for Enet

§

impl RefUnwindSafe for Enet

§

impl Unpin for Enet

§

impl UnwindSafe for Enet

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.