Type Alias xmc4800::ecat0::mii_phy_adr::R

source ·
pub type R = R<MiiPhyAdrSpec>;
Expand description

Register MII_PHY_ADR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn phy_addr(&self) -> PhyAddrR

Bits 0:4 - PHY Address

source

pub fn phy_caddr(&self) -> PhyCaddrR

Bit 7 - Show configured PHY address of port 0-3 in registerECAT0_MII_CONT_STAT[7:3]. Select port x with bits [4:0] of this register (valid values are 0-3)