#[repr(transparent)]pub struct TxTog(pub u32);Expand description
USB PHY Transmitter Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl TxTog
impl TxTog
Sourcepub const fn txcal45dm(&self) -> u8
pub const fn txcal45dm(&self) -> u8
Decode to trim the nominal 45ohm series termination resistance to the USB_DM output pin
Sourcepub const fn set_txcal45dm(&mut self, val: u8)
pub const fn set_txcal45dm(&mut self, val: u8)
Decode to trim the nominal 45ohm series termination resistance to the USB_DM output pin
Sourcepub const fn txencal45dn(&self) -> bool
pub const fn txencal45dn(&self) -> bool
Enable resistance calibration on DN.
Sourcepub const fn set_txencal45dn(&mut self, val: bool)
pub const fn set_txencal45dn(&mut self, val: bool)
Enable resistance calibration on DN.
Sourcepub const fn txcal45dp(&self) -> u8
pub const fn txcal45dp(&self) -> u8
Decode to trim the nominal 45ohm series termination resistance to the USB_DP output pin
Sourcepub const fn set_txcal45dp(&mut self, val: u8)
pub const fn set_txcal45dp(&mut self, val: u8)
Decode to trim the nominal 45ohm series termination resistance to the USB_DP output pin
Sourcepub const fn txencal45dp(&self) -> bool
pub const fn txencal45dp(&self) -> bool
Enable resistance calibration on DP.
Sourcepub const fn set_txencal45dp(&mut self, val: bool)
pub const fn set_txencal45dp(&mut self, val: bool)
Enable resistance calibration on DP.
Trait Implementations§
impl Copy for TxTog
impl Eq for TxTog
impl StructuralPartialEq for TxTog
Auto Trait Implementations§
impl Freeze for TxTog
impl RefUnwindSafe for TxTog
impl Send for TxTog
impl Sync for TxTog
impl Unpin for TxTog
impl UnwindSafe for TxTog
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