#[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 set_lvi_en(&mut self, val: bool)
pub const fn set_lvi_en(&mut self, val: bool)
Vow voltage detector enable bit.
Sourcepub const fn pfd_clk_sel(&self) -> u8
pub const fn pfd_clk_sel(&self) -> u8
For normal USB operation, this bit field must remain at value 2’b00.
Sourcepub const fn set_pfd_clk_sel(&mut self, val: u8)
pub const fn set_pfd_clk_sel(&mut self, val: u8)
For normal USB operation, this bit field must remain at value 2’b00.
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