Struct Inputoverride
#[repr(transparent)]pub struct Inputoverride(pub u32);Expand description
Enables overriding of individual signals to the PHY, the override values are set in PHY.OVERRIDEVALUES.
Tuple Fields§
§0: u32Implementations§
§impl Inputoverride
impl Inputoverride
pub const fn opmode0(&self) -> Opmode0
pub const fn set_opmode0(&mut self, val: Opmode0)
pub const fn xcvrsel0(&self) -> Xcvrsel0
pub const fn set_xcvrsel0(&mut self, val: Xcvrsel0)
pub const fn dppulldown(&self) -> bool
pub const fn set_dppulldown(&mut self, val: bool)
pub const fn dmpulldown(&self) -> bool
pub const fn set_dmpulldown(&mut self, val: bool)
pub const fn suspendm0(&self) -> bool
pub const fn set_suspendm0(&mut self, val: bool)
pub const fn vbusvalid(&self) -> bool
pub const fn set_vbusvalid(&mut self, val: bool)
Trait Implementations§
§impl Clone for Inputoverride
impl Clone for Inputoverride
§fn clone(&self) -> Inputoverride
fn clone(&self) -> Inputoverride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Inputoverride
§impl Default for Inputoverride
impl Default for Inputoverride
§fn default() -> Inputoverride
fn default() -> Inputoverride
Returns the “default value” for a type. Read more
impl Eq for Inputoverride
§impl PartialEq for Inputoverride
impl PartialEq for Inputoverride
impl StructuralPartialEq for Inputoverride
Auto Trait Implementations§
impl Forget for Inputoverride
impl Freeze for Inputoverride
impl Move for Inputoverride
impl RefUnwindSafe for Inputoverride
impl Send for Inputoverride
impl Sync for Inputoverride
impl Unpin for Inputoverride
impl UnsafeUnpin for Inputoverride
impl UnwindSafe for Inputoverride
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