Struct atsame54n::gmac::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 101 fields pub ncr: NCR, pub ncfgr: NCFGR, pub nsr: NSR, pub ur: UR, pub dcfgr: DCFGR, pub tsr: TSR, pub rbqb: RBQB, pub tbqb: TBQB, pub rsr: RSR, pub isr: ISR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub man: MAN, pub rpq: RPQ, pub tpq: TPQ, pub tpsf: TPSF, pub rpsf: RPSF, pub rjfml: RJFML, pub hrb: HRB, pub hrt: HRT, pub sa: [SA; 4], pub tidm: [TIDM; 4], pub wol: WOL, pub ipgs: IPGS, pub svlan: SVLAN, pub tpfcp: TPFCP, pub samb1: SAMB1, pub samt1: SAMT1, pub nsc: NSC, pub scl: SCL, pub sch: SCH, pub eftsh: EFTSH, pub efrsh: EFRSH, pub peftsh: PEFTSH, pub pefrsh: PEFRSH, pub otlo: OTLO, pub othi: OTHI, pub ft: FT, pub bcft: BCFT, pub mft: MFT, pub pft: PFT, pub bft64: BFT64, pub tbft127: TBFT127, pub tbft255: TBFT255, pub tbft511: TBFT511, pub tbft1023: TBFT1023, pub tbft1518: TBFT1518, pub gtbft1518: GTBFT1518, pub tur: TUR, pub scf: SCF, pub mcf: MCF, pub ec: EC, pub lc: LC, pub dtf: DTF, pub cse: CSE, pub orlo: ORLO, pub orhi: ORHI, pub fr: FR, pub bcfr: BCFR, pub mfr: MFR, pub pfr: PFR, pub bfr64: BFR64, pub tbfr127: TBFR127, pub tbfr255: TBFR255, pub tbfr511: TBFR511, pub tbfr1023: TBFR1023, pub tbfr1518: TBFR1518, pub tmxbfr: TMXBFR, pub ufr: UFR, pub ofr: OFR, pub jr: JR, pub fcse: FCSE, pub lffe: LFFE, pub rse: RSE, pub ae: AE, pub rre: RRE, pub roe: ROE, pub ihce: IHCE, pub tce: TCE, pub uce: UCE, pub tisubn: TISUBN, pub tsh: TSH, pub tsssl: TSSSL, pub tssn: TSSN, pub tsl: TSL, pub tn: TN, pub ta: TA, pub ti: TI, pub eftsl: EFTSL, pub eftn: EFTN, pub efrsl: EFRSL, pub efrn: EFRN, pub peftsl: PEFTSL, pub peftn: PEFTN, pub pefrsl: PEFRSL, pub pefrn: PEFRN, pub rlpitr: RLPITR, pub rlpiti: RLPITI, pub tlpitr: TLPITR, pub tlpiti: TLPITI, /* private fields */
}
Expand description

Register block

Fields§

§ncr: NCR

0x00 - Network Control Register

§ncfgr: NCFGR

0x04 - Network Configuration Register

§nsr: NSR

0x08 - Network Status Register

§ur: UR

0x0c - User Register

§dcfgr: DCFGR

0x10 - DMA Configuration Register

§tsr: TSR

0x14 - Transmit Status Register

§rbqb: RBQB

0x18 - Receive Buffer Queue Base Address

§tbqb: TBQB

0x1c - Transmit Buffer Queue Base Address

§rsr: RSR

0x20 - Receive Status Register

§isr: ISR

0x24 - Interrupt Status Register

§ier: IER

0x28 - Interrupt Enable Register

§idr: IDR

0x2c - Interrupt Disable Register

§imr: IMR

0x30 - Interrupt Mask Register

§man: MAN

0x34 - PHY Maintenance Register

§rpq: RPQ

0x38 - Received Pause Quantum Register

§tpq: TPQ

0x3c - Transmit Pause Quantum Register

§tpsf: TPSF

0x40 - TX partial store and forward Register

§rpsf: RPSF

0x44 - RX partial store and forward Register

§rjfml: RJFML

0x48 - RX Jumbo Frame Max Length Register

§hrb: HRB

0x80 - Hash Register Bottom [31:0]

§hrt: HRT

0x84 - Hash Register Top [63:32]

§sa: [SA; 4]

0x88..0xa8 - SA[%s]

§tidm: [TIDM; 4]

0xa8..0xb8 - Type ID Match Register

§wol: WOL

0xb8 - Wake on LAN

§ipgs: IPGS

0xbc - IPG Stretch Register

§svlan: SVLAN

0xc0 - Stacked VLAN Register

§tpfcp: TPFCP

0xc4 - Transmit PFC Pause Register

§samb1: SAMB1

0xc8 - Specific Address 1 Mask Bottom [31:0] Register

§samt1: SAMT1

0xcc - Specific Address 1 Mask Top [47:32] Register

§nsc: NSC

0xdc - Tsu timer comparison nanoseconds Register

§scl: SCL

0xe0 - Tsu timer second comparison Register

§sch: SCH

0xe4 - Tsu timer second comparison Register

§eftsh: EFTSH

0xe8 - PTP Event Frame Transmitted Seconds High Register

§efrsh: EFRSH

0xec - PTP Event Frame Received Seconds High Register

§peftsh: PEFTSH

0xf0 - PTP Peer Event Frame Transmitted Seconds High Register

§pefrsh: PEFRSH

0xf4 - PTP Peer Event Frame Received Seconds High Register

§otlo: OTLO

0x100 - Octets Transmitted [31:0] Register

§othi: OTHI

0x104 - Octets Transmitted [47:32] Register

§ft: FT

0x108 - Frames Transmitted Register

§bcft: BCFT

0x10c - Broadcast Frames Transmitted Register

§mft: MFT

0x110 - Multicast Frames Transmitted Register

§pft: PFT

0x114 - Pause Frames Transmitted Register

§bft64: BFT64

0x118 - 64 Byte Frames Transmitted Register

§tbft127: TBFT127

0x11c - 65 to 127 Byte Frames Transmitted Register

§tbft255: TBFT255

0x120 - 128 to 255 Byte Frames Transmitted Register

§tbft511: TBFT511

0x124 - 256 to 511 Byte Frames Transmitted Register

§tbft1023: TBFT1023

0x128 - 512 to 1023 Byte Frames Transmitted Register

§tbft1518: TBFT1518

0x12c - 1024 to 1518 Byte Frames Transmitted Register

§gtbft1518: GTBFT1518

0x130 - Greater Than 1518 Byte Frames Transmitted Register

§tur: TUR

0x134 - Transmit Underruns Register

§scf: SCF

0x138 - Single Collision Frames Register

§mcf: MCF

0x13c - Multiple Collision Frames Register

§ec: EC

0x140 - Excessive Collisions Register

§lc: LC

0x144 - Late Collisions Register

§dtf: DTF

0x148 - Deferred Transmission Frames Register

§cse: CSE

0x14c - Carrier Sense Errors Register

§orlo: ORLO

0x150 - Octets Received [31:0] Received

§orhi: ORHI

0x154 - Octets Received [47:32] Received

§fr: FR

0x158 - Frames Received Register

§bcfr: BCFR

0x15c - Broadcast Frames Received Register

§mfr: MFR

0x160 - Multicast Frames Received Register

§pfr: PFR

0x164 - Pause Frames Received Register

§bfr64: BFR64

0x168 - 64 Byte Frames Received Register

§tbfr127: TBFR127

0x16c - 65 to 127 Byte Frames Received Register

§tbfr255: TBFR255

0x170 - 128 to 255 Byte Frames Received Register

§tbfr511: TBFR511

0x174 - 256 to 511Byte Frames Received Register

§tbfr1023: TBFR1023

0x178 - 512 to 1023 Byte Frames Received Register

§tbfr1518: TBFR1518

0x17c - 1024 to 1518 Byte Frames Received Register

§tmxbfr: TMXBFR

0x180 - 1519 to Maximum Byte Frames Received Register

§ufr: UFR

0x184 - Undersize Frames Received Register

§ofr: OFR

0x188 - Oversize Frames Received Register

§jr: JR

0x18c - Jabbers Received Register

§fcse: FCSE

0x190 - Frame Check Sequence Errors Register

§lffe: LFFE

0x194 - Length Field Frame Errors Register

§rse: RSE

0x198 - Receive Symbol Errors Register

§ae: AE

0x19c - Alignment Errors Register

§rre: RRE

0x1a0 - Receive Resource Errors Register

§roe: ROE

0x1a4 - Receive Overrun Register

§ihce: IHCE

0x1a8 - IP Header Checksum Errors Register

§tce: TCE

0x1ac - TCP Checksum Errors Register

§uce: UCE

0x1b0 - UDP Checksum Errors Register

§tisubn: TISUBN

0x1bc - 1588 Timer Increment [15:0] Sub-Nanoseconds Register

§tsh: TSH

0x1c0 - 1588 Timer Seconds High [15:0] Register

§tsssl: TSSSL

0x1c8 - 1588 Timer Sync Strobe Seconds [31:0] Register

§tssn: TSSN

0x1cc - 1588 Timer Sync Strobe Nanoseconds Register

§tsl: TSL

0x1d0 - 1588 Timer Seconds [31:0] Register

§tn: TN

0x1d4 - 1588 Timer Nanoseconds Register

§ta: TA

0x1d8 - 1588 Timer Adjust Register

§ti: TI

0x1dc - 1588 Timer Increment Register

§eftsl: EFTSL

0x1e0 - PTP Event Frame Transmitted Seconds Low Register

§eftn: EFTN

0x1e4 - PTP Event Frame Transmitted Nanoseconds

§efrsl: EFRSL

0x1e8 - PTP Event Frame Received Seconds Low Register

§efrn: EFRN

0x1ec - PTP Event Frame Received Nanoseconds

§peftsl: PEFTSL

0x1f0 - PTP Peer Event Frame Transmitted Seconds Low Register

§peftn: PEFTN

0x1f4 - PTP Peer Event Frame Transmitted Nanoseconds

§pefrsl: PEFRSL

0x1f8 - PTP Peer Event Frame Received Seconds Low Register

§pefrn: PEFRN

0x1fc - PTP Peer Event Frame Received Nanoseconds

§rlpitr: RLPITR

0x270 - Receive LPI transition Register

§rlpiti: RLPITI

0x274 - Receive LPI Time Register

§tlpitr: TLPITR

0x278 - Receive LPI transition Register

§tlpiti: TLPITI

0x27c - Receive LPI Time Register

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

§

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

§

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.