#[repr(u8)]pub enum Idreg2 {
Show 16 variants
AllDisabled = 0,
IdInstance = 1,
Idrand = 2,
_RESERVED_3 = 3,
Dcr = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
Bcr = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
AllDisabled = 0
All ID register features disabled.
IdInstance = 1
ID Instance is a register; used if there is no PARTNO register.
Idrand = 2
An ID Random field is available.
_RESERVED_3 = 3
Dcr = 4
A Device Characteristic Register (DCR) is available.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Bcr = 8
A Bus Characteristics Register (BCR) is available.
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for Idreg2
impl Ord for Idreg2
Source§impl PartialOrd for Idreg2
impl PartialOrd for Idreg2
impl Copy for Idreg2
impl Eq for Idreg2
impl StructuralPartialEq for Idreg2
Auto Trait Implementations§
impl Freeze for Idreg2
impl RefUnwindSafe for Idreg2
impl Send for Idreg2
impl Sync for Idreg2
impl Unpin for Idreg2
impl UnwindSafe for Idreg2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more