Struct stm32_metapac::eth::EthernetMac
pub struct EthernetMac { /* private fields */ }
Expand description
Ethernet: media access control (MAC)
Implementations§
§impl EthernetMac
impl EthernetMac
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn macqtx_fcr(self) -> Reg<MacqtxFcr, RW>
pub const fn macqtx_fcr(self) -> Reg<MacqtxFcr, RW>
Tx Queue flow control register
pub const fn macrx_tx_sr(self) -> Reg<MacrxTxSr, R>
pub const fn macrx_tx_sr(self) -> Reg<MacrxTxSr, R>
Rx Tx status register
pub const fn mmc_control(self) -> Reg<MmcControl, RW>
pub const fn mmc_control(self) -> Reg<MmcControl, RW>
MMC control register
pub const fn mmc_rx_interrupt(self) -> Reg<MmcRxInterrupt, R>
pub const fn mmc_rx_interrupt(self) -> Reg<MmcRxInterrupt, R>
MMC Rx interrupt register
pub const fn mmc_tx_interrupt(self) -> Reg<MmcTxInterrupt, R>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
pub const fn rx_lpi_tran_cntr(self) -> Reg<RxLpiTranCntr, R>
Rx LPI transition counter register
pub const fn macl3l4c0r(self) -> Reg<Macl3l4c0r, RW>
pub const fn macl3l4c0r(self) -> Reg<Macl3l4c0r, RW>
L3 and L4 control 0 register
pub const fn macl3l4c1r(self) -> Reg<Macl3l4c1r, RW>
pub const fn macl3l4c1r(self) -> Reg<Macl3l4c1r, RW>
L3 and L4 control 1 register
pub const fn mactx_tssnr(self) -> Reg<MactxTssnr, R>
pub const fn mactx_tssnr(self) -> Reg<MactxTssnr, R>
Tx timestamp status nanoseconds register
pub const fn mactx_tsssr(self) -> Reg<MactxTsssr, R>
pub const fn mactx_tsssr(self) -> Reg<MactxTsssr, R>
Tx timestamp status seconds register
pub const fn macppsttsr(self) -> Reg<Macppsttsr, RW>
pub const fn macppsttsr(self) -> Reg<Macppsttsr, RW>
PPS target time seconds register
pub const fn macppsttnr(self) -> Reg<Macppsttnr, RW>
pub const fn macppsttnr(self) -> Reg<Macppsttnr, RW>
PPS target time nanoseconds register
Trait Implementations§
§impl Clone for EthernetMac
impl Clone for EthernetMac
§fn clone(&self) -> EthernetMac
fn clone(&self) -> EthernetMac
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl PartialEq for EthernetMac
impl PartialEq for EthernetMac
§fn eq(&self, other: &EthernetMac) -> bool
fn eq(&self, other: &EthernetMac) -> bool
self
and other
values to be equal, and is used
by ==
.