stm32-metapac

Crates

git

Versions

stm32h563ii

Flavors

Struct stm32_metapac::eth::EthernetMac

pub struct EthernetMac { /* private fields */ }
Expand description

Ethernet: media access control (MAC)

Implementations§

§

impl EthernetMac

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

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

pub const fn maccr(self) -> Reg<Maccr, RW>

Operating mode configuration register

pub const fn macecr(self) -> Reg<Macecr, RW>

Extended operating mode configuration register

pub const fn macpfr(self) -> Reg<Macpfr, RW>

Packet filtering control register

pub const fn macwtr(self) -> Reg<Macwtr, RW>

Watchdog timeout register

pub const fn machtr(self, n: usize) -> Reg<Machtr, RW>

Hash Table 0/1 register

pub const fn macvtr(self) -> Reg<Macvtr, RW>

VLAN tag register

pub const fn macvhtr(self) -> Reg<Macvhtr, RW>

VLAN Hash table register

pub const fn macvir(self) -> Reg<Macvir, RW>

VLAN inclusion register

pub const fn macivir(self) -> Reg<Macivir, RW>

Inner VLAN inclusion register

pub const fn macqtx_fcr(self) -> Reg<MacqtxFcr, RW>

Tx Queue flow control register

pub const fn macrx_fcr(self) -> Reg<MacrxFcr, RW>

Rx flow control register

pub const fn macisr(self) -> Reg<Macisr, R>

Interrupt status register

pub const fn macier(self) -> Reg<Macier, RW>

Interrupt enable register

pub const fn macrx_tx_sr(self) -> Reg<MacrxTxSr, R>

Rx Tx status register

pub const fn macpcsr(self) -> Reg<Macpcsr, RW>

PMT control status register

pub const fn macrwkpfr(self) -> Reg<Macrwkpfr, RW>

Remove wakeup packet filter register

pub const fn maclcsr(self) -> Reg<Maclcsr, RW>

LPI control status register

pub const fn macltcr(self) -> Reg<Macltcr, RW>

LPI timers control register

pub const fn macletr(self) -> Reg<Macletr, RW>

LPI entry timer register

pub const fn mac1ustcr(self) -> Reg<Mac1ustcr, RW>

1-microsecond-tick counter register

pub const fn macvr(self) -> Reg<Macvr, R>

Version register

pub const fn macdr(self) -> Reg<Macdr, R>

Debug register

pub const fn machwf1r(self) -> Reg<Machwf1r, R>

HW feature 1 register

pub const fn machwf2r(self) -> Reg<Machwf2r, R>

HW feature 2 register

pub const fn macmdioar(self) -> Reg<Macmdioar, RW>

MDIO address register

pub const fn macmdiodr(self) -> Reg<Macmdiodr, RW>

MDIO data register

pub const fn maca0hr(self) -> Reg<Maca0hr, RW>

Address 0 high register

pub const fn maca0lr(self) -> Reg<Maca0lr, RW>

Address 0 low register

pub const fn macahr(self, n: usize) -> Reg<Macahr, RW>

Address 1/2/3 high register

pub const fn macalr(self, n: usize) -> Reg<Macalr, RW>

Address 1/2/3 low register

pub const fn mmc_control(self) -> Reg<MmcControl, RW>

MMC control register

pub const fn mmc_rx_interrupt(self) -> Reg<MmcRxInterrupt, R>

MMC Rx interrupt register

pub const fn mmc_tx_interrupt(self) -> Reg<MmcTxInterrupt, R>

MMC Tx interrupt register

pub const fn mmc_rx_interrupt_mask(self) -> Reg<MmcRxInterruptMask, RW>

MMC Rx interrupt mask register

pub const fn mmc_tx_interrupt_mask(self) -> Reg<MmcTxInterruptMask, RW>

MMC Tx interrupt mask register

pub const fn tx_single_collision_good_packets( self, ) -> Reg<TxSingleCollisionGoodPackets, R>

Tx single collision good packets register

pub const fn tx_multiple_collision_good_packets( self, ) -> Reg<TxMultipleCollisionGoodPackets, R>

Tx multiple collision good packets register

pub const fn tx_packet_count_good(self) -> Reg<TxPacketCountGood, R>

Tx packet count good register

pub const fn rx_crc_error_packets(self) -> Reg<RxCrcErrorPackets, R>

Rx CRC error packets register

pub const fn rx_alignment_error_packets(self) -> Reg<RxAlignmentErrorPackets, R>

Rx alignment error packets register

pub const fn rx_unicast_packets_good(self) -> Reg<RxUnicastPacketsGood, R>

Rx unicast packets good register

pub const fn tx_lpi_usec_cntr(self) -> Reg<TxLpiUsecCntr, R>

Tx LPI microsecond timer register

pub const fn tx_lpi_tran_cntr(self) -> Reg<TxLpiTranCntr, R>

Tx LPI transition counter register

pub const fn rx_lpi_usec_cntr(self) -> Reg<RxLpiUsecCntr, R>

Rx LPI microsecond counter register

pub const fn rx_lpi_tran_cntr(self) -> Reg<RxLpiTranCntr, R>

Rx LPI transition counter register

pub const fn macl3l4c0r(self) -> Reg<Macl3l4c0r, RW>

L3 and L4 control 0 register

pub const fn macl4a0r(self) -> Reg<Macl4a0r, RW>

Layer4 address filter 0 register

pub const fn macl3a00r(self) -> Reg<Macl3a00r, RW>

MACL3A00R

pub const fn macl3a10r(self) -> Reg<Macl3a10r, RW>

Layer3 address 1 filter 0 register

pub const fn macl3a20(self) -> Reg<Macl3a20, RW>

Layer3 Address 2 filter 0 register

pub const fn macl3a30(self) -> Reg<Macl3a30, RW>

Layer3 Address 3 filter 0 register

pub const fn macl3l4c1r(self) -> Reg<Macl3l4c1r, RW>

L3 and L4 control 1 register

pub const fn macl4a1r(self) -> Reg<Macl4a1r, RW>

Layer 4 address filter 1 register

pub const fn macl3a01r(self) -> Reg<Macl3a01r, RW>

Layer3 address 0 filter 1 Register

pub const fn macl3a11r(self) -> Reg<Macl3a11r, RW>

Layer3 address 1 filter 1 register

pub const fn macl3a21r(self) -> Reg<Macl3a21r, RW>

Layer3 address 2 filter 1 Register

pub const fn macl3a31r(self) -> Reg<Macl3a31r, RW>

Layer3 address 3 filter 1 register

pub const fn macarpar(self) -> Reg<Macarpar, RW>

ARP address register

pub const fn mactscr(self) -> Reg<Mactscr, RW>

Timestamp control Register

pub const fn macssir(self) -> Reg<Macssir, RW>

Sub-second increment register

pub const fn macstsr(self) -> Reg<Macstsr, R>

System time seconds register

pub const fn macstnr(self) -> Reg<Macstnr, R>

System time nanoseconds register

pub const fn macstsur(self) -> Reg<Macstsur, RW>

System time seconds update register

pub const fn macstnur(self) -> Reg<Macstnur, RW>

System time nanoseconds update register

pub const fn mactsar(self) -> Reg<Mactsar, RW>

Timestamp addend register

pub const fn mactssr(self) -> Reg<Mactssr, R>

Timestamp status register

pub const fn mactx_tssnr(self) -> Reg<MactxTssnr, R>

Tx timestamp status nanoseconds register

pub const fn mactx_tsssr(self) -> Reg<MactxTsssr, R>

Tx timestamp status seconds register

pub const fn macacr(self) -> Reg<Macacr, RW>

Auxiliary control register

pub const fn macatsnr(self) -> Reg<Macatsnr, R>

Auxiliary timestamp nanoseconds register

pub const fn macatssr(self) -> Reg<Macatssr, R>

Auxiliary timestamp seconds register

pub const fn mactsiacr(self) -> Reg<Mactsiacr, RW>

Timestamp Ingress asymmetric correction register

pub const fn mactseacr(self) -> Reg<Mactseacr, RW>

Timestamp Egress asymmetric correction register

pub const fn mactsicnr(self) -> Reg<Mactsicnr, RW>

Timestamp Ingress correction nanosecond register

pub const fn mactsecnr(self) -> Reg<Mactsecnr, RW>

Timestamp Egress correction nanosecond register

pub const fn macppscr(self) -> Reg<Macppscr, RW>

PPS control register

pub const fn macppsttsr(self) -> Reg<Macppsttsr, RW>

PPS target time seconds register

pub const fn macppsttnr(self) -> Reg<Macppsttnr, RW>

PPS target time nanoseconds register

pub const fn macppsir(self) -> Reg<Macppsir, RW>

PPS interval register

pub const fn macppswr(self) -> Reg<Macppswr, RW>

PPS width register

pub const fn macpocr(self) -> Reg<Macpocr, RW>

PTP Offload control register

pub const fn macspi0r(self) -> Reg<Macspi0r, RW>

PTP Source Port Identity 0 Register

pub const fn macspi1r(self) -> Reg<Macspi1r, RW>

PTP Source port identity 1 register

pub const fn macspi2r(self) -> Reg<Macspi2r, RW>

PTP Source port identity 2 register

pub const fn maclmir(self) -> Reg<Maclmir, RW>

Log message interval register

Trait Implementations§

§

impl Clone for EthernetMac

§

fn clone(&self) -> EthernetMac

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

§

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

§

impl Eq for EthernetMac

§

impl Send for EthernetMac

§

impl StructuralPartialEq for EthernetMac

§

impl Sync for EthernetMac

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