#[repr(transparent)]pub struct AnactrlSet(pub u32);Expand description
USB PHY Analog Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl AnactrlSet
impl AnactrlSet
Sourcepub const fn dev_pulldown(&self) -> AnactrlSetDevPulldown
pub const fn dev_pulldown(&self) -> AnactrlSetDevPulldown
Setting this field to 1’b1 will enable the 15kohm pulldown resistors on both USB_DP and USB_DM pins
Sourcepub const fn set_dev_pulldown(&mut self, val: AnactrlSetDevPulldown)
pub const fn set_dev_pulldown(&mut self, val: AnactrlSetDevPulldown)
Setting this field to 1’b1 will enable the 15kohm pulldown resistors on both USB_DP and USB_DM pins
Trait Implementations§
Source§impl Clone for AnactrlSet
impl Clone for AnactrlSet
Source§fn clone(&self) -> AnactrlSet
fn clone(&self) -> AnactrlSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnactrlSet
impl Debug for AnactrlSet
Source§impl Default for AnactrlSet
impl Default for AnactrlSet
Source§fn default() -> AnactrlSet
fn default() -> AnactrlSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for AnactrlSet
impl PartialEq for AnactrlSet
impl Copy for AnactrlSet
impl Eq for AnactrlSet
impl StructuralPartialEq for AnactrlSet
Auto Trait Implementations§
impl Freeze for AnactrlSet
impl RefUnwindSafe for AnactrlSet
impl Send for AnactrlSet
impl Sync for AnactrlSet
impl Unpin for AnactrlSet
impl UnwindSafe for AnactrlSet
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