#[repr(transparent)]pub struct TrimOverrideEnMask(pub u32);Expand description
TRIM_OVERRIDE_EN SCT command mask. Zero construction default ensures only explicitly selected bits are written. Register-map hardware reset values are not command payload defaults. Source conflict: RM 42.8 (text lines 106616-106618) says SCT aliases always read 0, must be write-only, and cannot exist for read-only primaries; RM 42.7.1 maps writable primary aliases as RW and also lists aliases of read-only status registers. Mapped access is retained; no reliable alias readback is inferred.
Tuple Fields§
§0: u32Implementations§
Source§impl TrimOverrideEnMask
impl TrimOverrideEnMask
Sourcepub const fn div_sel_override(&self) -> bool
pub const fn div_sel_override(&self) -> bool
Override Enable for PLL Divider Value. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - PLL_SIC.
Sourcepub const fn set_div_sel_override(&mut self, val: bool)
pub const fn set_div_sel_override(&mut self, val: bool)
Override Enable for PLL Divider Value. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - PLL_SIC.
Sourcepub const fn tx_d_cal_override(&self) -> bool
pub const fn tx_d_cal_override(&self) -> bool
Override Enable for HS TX Output Current Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn set_tx_d_cal_override(&mut self, val: bool)
pub const fn set_tx_d_cal_override(&mut self, val: bool)
Override Enable for HS TX Output Current Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn tx_cal45dp_override(&self) -> bool
pub const fn tx_cal45dp_override(&self) -> bool
Override Enable for USB_DP Series Termination Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn set_tx_cal45dp_override(&mut self, val: bool)
pub const fn set_tx_cal45dp_override(&mut self, val: bool)
Override Enable for USB_DP Series Termination Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn tx_cal45dm_override(&self) -> bool
pub const fn tx_cal45dm_override(&self) -> bool
Override Enable for USB_DM Series Termination Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn set_tx_cal45dm_override(&mut self, val: bool)
pub const fn set_tx_cal45dm_override(&mut self, val: bool)
Override Enable for USB_DM Series Termination Trim. Raw encoding: 0b - TRIM_OVERRIDE_EN; 1b - TX.
Sourcepub const fn pll_ctrl0_div_sel(&self) -> u8
pub const fn pll_ctrl0_div_sel(&self) -> u8
PLL Divider Value Configuration Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Sourcepub const fn set_pll_ctrl0_div_sel(&mut self, val: u8)
pub const fn set_pll_ctrl0_div_sel(&mut self, val: u8)
PLL Divider Value Configuration Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Sourcepub const fn usbphy_tx_d_cal(&self) -> u8
pub const fn usbphy_tx_d_cal(&self) -> u8
HS TX Output Current Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field. Raw encoding: 0000b - Maximum current, approximately 19% above nominal; 0111b - Nominal; 1111b - Minimum current, approximately 19% below nominal.
Sourcepub const fn set_usbphy_tx_d_cal(&mut self, val: u8)
pub const fn set_usbphy_tx_d_cal(&mut self, val: u8)
HS TX Output Current Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field. Raw encoding: 0000b - Maximum current, approximately 19% above nominal; 0111b - Nominal; 1111b - Minimum current, approximately 19% below nominal.
Sourcepub const fn usbphy_tx_cal45dp(&self) -> u8
pub const fn usbphy_tx_cal45dp(&self) -> u8
DP Series Termination Resistance Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Sourcepub const fn set_usbphy_tx_cal45dp(&mut self, val: u8)
pub const fn set_usbphy_tx_cal45dp(&mut self, val: u8)
DP Series Termination Resistance Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Sourcepub const fn usbphy_tx_cal45dn(&self) -> u8
pub const fn usbphy_tx_cal45dn(&self) -> u8
DM Series Termination Resistance Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Sourcepub const fn set_usbphy_tx_cal45dn(&mut self, val: u8)
pub const fn set_usbphy_tx_cal45dn(&mut self, val: u8)
DM Series Termination Resistance Trim Bits from Outside USBPHY. Read-only status/value; writes do not configure this field.
Trait Implementations§
Source§impl Clone for TrimOverrideEnMask
impl Clone for TrimOverrideEnMask
Source§fn clone(&self) -> TrimOverrideEnMask
fn clone(&self) -> TrimOverrideEnMask
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more