Struct stm32mp1::stm32mp157::eth_mac_mmc::eth_maca0hr::ETH_MACA0HR_SPEC
source · [−]pub struct ETH_MACA0HR_SPEC;
Expand description
The MAC Address0 High register holds the upper 16 bits of the first 6-byte MAC address of the station. The first DA byte that is received on the GMII interface corresponds to the LS byte (Bits [7:0]) of the MAC Address Low register. For example, if 0x112233445566 is received (0x11 in lane 0 of the first column) on the GMII as the destination address, then the MacAddress0 Register [47:0] is compared with 0x665544332211. If the MAC address registers are configured to be double-synchronized to the GMII clock domains, then the synchronization is triggered only when Bits[31:24] (in little-endian mode) or Bits[7:0] (in big-endian mode) of the MAC Address0 Low Register are written. For proper synchronization updates, the consecutive writes to this Address Low Register should be performed after at least four clock cycles in the destination clock domain.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see eth_maca0hr module
Trait Implementations
sourceimpl Readable for ETH_MACA0HR_SPEC
impl Readable for ETH_MACA0HR_SPEC
read()
method returns eth_maca0hr::R reader structure
sourceimpl RegisterSpec for ETH_MACA0HR_SPEC
impl RegisterSpec for ETH_MACA0HR_SPEC
sourceimpl Resettable for ETH_MACA0HR_SPEC
impl Resettable for ETH_MACA0HR_SPEC
reset()
method sets ETH_MACA0HR to value 0x8000_ffff
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for ETH_MACA0HR_SPEC
impl Writable for ETH_MACA0HR_SPEC
write(|w| ..)
method takes eth_maca0hr::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for ETH_MACA0HR_SPEC
impl Send for ETH_MACA0HR_SPEC
impl Sync for ETH_MACA0HR_SPEC
impl Unpin for ETH_MACA0HR_SPEC
impl UnwindSafe for ETH_MACA0HR_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more