continue
This commit is contained in:
@ -386,7 +386,7 @@ pub enum PhyOperation {
|
||||
Write = 0b01,
|
||||
}
|
||||
|
||||
#[bitbybit::bitfield(u32)]
|
||||
#[bitbybit::bitfield(u32, default = 0x0)]
|
||||
#[derive(Debug)]
|
||||
pub struct PhyMaintenance {
|
||||
/// Must be 1 for Clause 22 operations.
|
||||
@ -399,9 +399,9 @@ pub struct PhyMaintenance {
|
||||
#[bits(18..=22, rw)]
|
||||
reg_addr: u5,
|
||||
#[bits(16..=17, rw)]
|
||||
must_be_10: u2,
|
||||
must_be_0b10: u2,
|
||||
#[bits(0..=15, rw)]
|
||||
data_mask: u16,
|
||||
data: u16,
|
||||
}
|
||||
|
||||
#[bitbybit::bitfield(u32)]
|
||||
|
Reference in New Issue
Block a user