Type Alias xmc4300::ecat0::mii_phy_adr::W

source ·
pub type W = W<MII_PHY_ADR_SPEC>;
Expand description

Register MII_PHY_ADR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn phy_addr(&mut self) -> PHY_ADDR_W<'_, MII_PHY_ADR_SPEC>

Bits 0:4 - PHY Address

source

pub fn phy_caddr(&mut self) -> PHY_CADDR_W<'_, MII_PHY_ADR_SPEC>

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)