#[repr(transparent)]pub struct Anactrl(pub u32);Expand description
USB PHY Analog Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Anactrl
impl Anactrl
Sourcepub const fn dev_pulldown(&self) -> AnactrlDevPulldown
pub const fn dev_pulldown(&self) -> AnactrlDevPulldown
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: AnactrlDevPulldown)
pub const fn set_dev_pulldown(&mut self, val: AnactrlDevPulldown)
Setting this field to 1’b1 will enable the 15kohm pulldown resistors on both USB_DP and USB_DM pins
Trait Implementations§
impl Copy for Anactrl
impl Eq for Anactrl
impl StructuralPartialEq for Anactrl
Auto Trait Implementations§
impl Freeze for Anactrl
impl RefUnwindSafe for Anactrl
impl Send for Anactrl
impl Sync for Anactrl
impl Unpin for Anactrl
impl UnwindSafe for Anactrl
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