#[repr(transparent)]pub struct Tx(pub u32);Expand description
TX Control. F70RM 42.7.3 (text line 103828). Preserve reserved bits, including 28:26=100b. D_CAL and termination trims are raw 0..15 codes, not a sparse three-value enum. Override selection follows the corresponding TRIM_OVERRIDE_EN control.
Tuple Fields§
§0: u32Implementations§
Source§impl Tx
impl Tx
Sourcepub const fn d_cal(&self) -> u8
pub const fn d_cal(&self) -> u8
HS TX Output Current Trim. Raw encoding: 0000b - Maximum current, approximately 19% above nominal; 0111b - Nominal; 1111b - Minimum current, approximately 19% below nominal.
Sourcepub const fn set_d_cal(&mut self, val: u8)
pub const fn set_d_cal(&mut self, val: u8)
HS TX Output Current Trim. Raw encoding: 0000b - Maximum current, approximately 19% above nominal; 0111b - Nominal; 1111b - Minimum current, approximately 19% below nominal.
Sourcepub const fn set_txcal45dn(&mut self, val: u8)
pub const fn set_txcal45dn(&mut self, val: u8)
DM Series Termination Resistance Trim.
Sourcepub const fn set_txcal45dp(&mut self, val: u8)
pub const fn set_txcal45dp(&mut self, val: u8)
DP Series Termination Resistance Trim.
Trait Implementations§
impl Copy for Tx
impl Eq for Tx
impl StructuralPartialEq for Tx
Auto Trait Implementations§
impl Freeze for Tx
impl RefUnwindSafe for Tx
impl Send for Tx
impl Sync for Tx
impl Unpin for Tx
impl UnwindSafe for Tx
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