stm32-metapac

Crates

9.0.0

Versions

stm32h750ib

Flavors

Struct EthernetMac

pub struct EthernetMac(pub *mut u8);
Expand description

Ethernet: media access control (MAC)

Tuple Fields§

§0: *mut u8

Implementations§

§

impl EthernetMac

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

Operating mode configuration register

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

Extended operating mode configuration register

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

Packet filtering control register

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

Watchdog timeout register

pub fn macht0r(self) -> Reg<Macht0r, RW>

Hash Table 0 register

pub fn macht1r(self) -> Reg<Macht1r, RW>

Hash Table 1 register

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

VLAN tag register

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

VLAN Hash table register

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

VLAN inclusion register

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

Inner VLAN inclusion register

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

Tx Queue flow control register

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

Rx flow control register

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

Interrupt status register

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

Interrupt enable register

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

Rx Tx status register

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

PMT control status register

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

Remove wakeup packet filter register

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

LPI control status register

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

LPI timers control register

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

LPI entry timer register

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

1-microsecond-tick counter register

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

Version register

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

Debug register

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

HW feature 1 register

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

HW feature 2 register

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

MDIO address register

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

MDIO data register

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

Address 0 high register

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

Address 0 low register

pub fn maca1hr(self) -> Reg<Maca1hr, RW>

Address 1 high register

pub fn maca1lr(self) -> Reg<Maca1lr, RW>

Address 1 low register

pub fn maca2hr(self) -> Reg<Maca2hr, RW>

Address 2 high register

pub fn maca2lr(self) -> Reg<Maca2lr, RW>

Address 2 low register

pub fn maca3hr(self) -> Reg<Maca3hr, RW>

Address 3 high register

pub fn maca3lr(self) -> Reg<Maca3lr, RW>

Address 3 low register

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

MMC control register

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

MMC Rx interrupt register

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

MMC Tx interrupt register

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

MMC Rx interrupt mask register

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

MMC Tx interrupt mask register

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

Tx single collision good packets register

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

Tx multiple collision good packets register

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

Tx packet count good register

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

Rx CRC error packets register

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

Rx alignment error packets register

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

Rx unicast packets good register

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

Tx LPI microsecond timer register

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

Tx LPI transition counter register

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

Rx LPI microsecond counter register

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

Rx LPI transition counter register

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

L3 and L4 control 0 register

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

Layer4 address filter 0 register

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

MACL3A00R

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

Layer3 address 1 filter 0 register

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

Layer3 Address 2 filter 0 register

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

Layer3 Address 3 filter 0 register

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

L3 and L4 control 1 register

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

Layer 4 address filter 1 register

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

Layer3 address 0 filter 1 Register

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

Layer3 address 1 filter 1 register

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

Layer3 address 2 filter 1 Register

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

Layer3 address 3 filter 1 register

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

ARP address register

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

Timestamp control Register

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

Sub-second increment register

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

System time seconds register

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

System time nanoseconds register

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

System time seconds update register

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

System time nanoseconds update register

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

Timestamp addend register

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

Timestamp status register

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

Tx timestamp status nanoseconds register

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

Tx timestamp status seconds register

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

Auxiliary control register

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

Auxiliary timestamp nanoseconds register

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

Auxiliary timestamp seconds register

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

Timestamp Ingress asymmetric correction register

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

Timestamp Egress asymmetric correction register

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

Timestamp Ingress correction nanosecond register

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

Timestamp Egress correction nanosecond register

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

PPS control register

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

PPS target time seconds register

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

PPS target time nanoseconds register

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

PPS interval register

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

PPS width register

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

PTP Offload control register

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

PTP Source Port Identity 0 Register

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

PTP Source port identity 1 register

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

PTP Source port identity 2 register

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

Log message interval register

Trait Implementations§

§

impl Clone for EthernetMac

§

fn clone(&self) -> EthernetMac

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

const 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§

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