#[repr(transparent)]pub struct AnactrlTog(pub u32);Expand description
USB PHY Analog Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl AnactrlTog
impl AnactrlTog
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) -> AnactrlTogDevPulldown
pub const fn dev_pulldown(&self) -> AnactrlTogDevPulldown
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: AnactrlTogDevPulldown)
pub const fn set_dev_pulldown(&mut self, val: AnactrlTogDevPulldown)
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 AnactrlTog
impl Clone for AnactrlTog
Source§fn clone(&self) -> AnactrlTog
fn clone(&self) -> AnactrlTog
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 AnactrlTog
impl Debug for AnactrlTog
Source§impl Default for AnactrlTog
impl Default for AnactrlTog
Source§fn default() -> AnactrlTog
fn default() -> AnactrlTog
Returns the “default value” for a type. Read more
Source§impl PartialEq for AnactrlTog
impl PartialEq for AnactrlTog
impl Copy for AnactrlTog
impl Eq for AnactrlTog
impl StructuralPartialEq for AnactrlTog
Auto Trait Implementations§
impl Freeze for AnactrlTog
impl RefUnwindSafe for AnactrlTog
impl Send for AnactrlTog
impl Sync for AnactrlTog
impl Unpin for AnactrlTog
impl UnwindSafe for AnactrlTog
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