Lines Matching defs:C22
26 /// C22 and C45 PHY registers.
32 /// // read C22 BMCR register
33 /// dev.read(C22::BMCR);
37 /// // Checks the link status as reported by registers in the C22 namespace
39 /// dev.genphy_read_status::<phy::C22>();
58 pub struct C22(u8);
60 impl C22 {
62 pub const BMCR: Self = C22(0x00);
64 pub const BMSR: Self = C22(0x01);
66 pub const PHYSID1: Self = C22(0x02);
68 pub const PHYSID2: Self = C22(0x03);
70 pub const ADVERTISE: Self = C22(0x04);
72 pub const LPA: Self = C22(0x05);
74 pub const EXPANSION: Self = C22(0x06);
76 pub const NEXT_PAGE_TRANSMIT: Self = C22(0x07);
78 pub const LP_RECEIVED_NEXT_PAGE: Self = C22(0x08);
80 pub const MASTER_SLAVE_CONTROL: Self = C22(0x09);
82 pub const MASTER_SLAVE_STATUS: Self = C22(0x0a);
84 pub const PSE_CONTROL: Self = C22(0x0b);
86 pub const PSE_STATUS: Self = C22(0x0c);
88 pub const MMD_CONTROL: Self = C22(0x0d);
90 pub const MMD_DATA: Self = C22(0x0e);
92 pub const EXTENDED_STATUS: Self = C22(0x0f);
94 /// Creates a new instance of `C22` with a vendor specific register.
100 C22(N)
104 impl private::Sealed for C22 {}
106 impl Register for C22 {