Struct W

Source
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

Source

pub fn tclkposten(&mut self) -> _TCLKPOSTENW<'_>

Bit 27 - custom time for tCLK-POST Enable

Source

pub fn tlpxcen(&mut self) -> _TLPXCENW<'_>

Bit 26 - custom time for tLPX for Clock lane Enable

Source

pub fn thsexiten(&mut self) -> _THSEXITENW<'_>

Bit 25 - custom time for tHS-EXIT Enable

Source

pub fn tlpxden(&mut self) -> _TLPXDENW<'_>

Bit 24 - custom time for tLPX for Data lanes Enable

Source

pub fn thszeroen(&mut self) -> _THSZEROENW<'_>

Bit 23 - custom time for tHS-ZERO Enable

Source

pub fn thstrailen(&mut self) -> _THSTRAILENW<'_>

Bit 22 - custom time for tHS-TRAIL Enable

Source

pub fn thsprepen(&mut self) -> _THSPREPENW<'_>

Bit 21 - custom time for tHS-PREPARE Enable

Source

pub fn tclkzeroen(&mut self) -> _TCLKZEROENW<'_>

Bit 20 - custom time for tCLK-ZERO Enable

Source

pub fn tclkprepen(&mut self) -> _TCLKPREPENW<'_>

Bit 19 - custom time for tCLK-PREPARE Enable

Source

pub fn pden(&mut self) -> _PDENW<'_>

Bit 18 - Pull-Down Enable

Source

pub fn tddl(&mut self) -> _TDDLW<'_>

Bit 16 - Turn Disable Data Lanes

Source

pub fn cdoffdl(&mut self) -> _CDOFFDLW<'_>

Bit 14 - Contention Detection OFF on Data Lanes

Source

pub fn ftxsmdl(&mut self) -> _FTXSMDLW<'_>

Bit 13 - Force in TX Stop Mode the Data Lanes

Source

pub fn ftxsmcl(&mut self) -> _FTXSMCLW<'_>

Bit 12 - Force in TX Stop Mode the Clock Lane

Source

pub fn hsidl1(&mut self) -> _HSIDL1W<'_>

Bit 11 - Invert the High-Speed data signal on Data Lane 1

Source

pub fn hsidl0(&mut self) -> _HSIDL0W<'_>

Bit 10 - Invert the Hight-Speed data signal on Data Lane 0

Source

pub fn hsicl(&mut self) -> _HSICLW<'_>

Bit 9 - Invert Hight-Speed data signal on Clock Lane

Source

pub fn swdl1(&mut self) -> _SWDL1W<'_>

Bit 8 - Swap Data Lane 1 pins

Source

pub fn swdl0(&mut self) -> _SWDL0W<'_>

Bit 7 - Swap Data Lane 0 pins

Source

pub fn swcl(&mut self) -> _SWCLW<'_>

Bit 6 - Swap Clock Lane pins

Source

pub fn uix4(&mut self) -> _UIX4W<'_>

Bits 0:5 - Unit Interval multiplied by 4

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.