Embassy
stm32-metapac

Crates

git

Versions

stm32u599nj

Flavors

#[repr(transparent)]
pub struct Wpcr0(pub u32);
Expand description

DSI Wrapper PHY configuration register 0.

Tuple Fields§

§0: u32

Implementations§

§

impl Wpcr0

pub const fn swcl(&self) -> bool

Swap clock lane pins This bit swaps the pins on clock lane.

pub fn set_swcl(&mut self, val: bool)

Swap clock lane pins This bit swaps the pins on clock lane.

pub const fn swdl0(&self) -> bool

Swap data lane 0 pins This bit swaps the pins on data lane 0.

pub fn set_swdl0(&mut self, val: bool)

Swap data lane 0 pins This bit swaps the pins on data lane 0.

pub const fn swdl1(&self) -> bool

Swap data lane 1 pins This bit swaps the pins on clock lane.

pub fn set_swdl1(&mut self, val: bool)

Swap data lane 1 pins This bit swaps the pins on clock lane.

pub const fn ftxsmcl(&self) -> bool

Force in TX Stop mode the clock lane This bit forces the clock lane in TX stop mode. It is used to initialize a lane module in transmit mode. It causes the lane module to immediately jump to transmit control mode and to begin transmitting a stop state (LP-11). It can be used to go back in TX mode after a wrong BTA sequence.

pub fn set_ftxsmcl(&mut self, val: bool)

Force in TX Stop mode the clock lane This bit forces the clock lane in TX stop mode. It is used to initialize a lane module in transmit mode. It causes the lane module to immediately jump to transmit control mode and to begin transmitting a stop state (LP-11). It can be used to go back in TX mode after a wrong BTA sequence.

pub const fn ftxsmdl(&self) -> bool

Force in TX Stop mode the data lanes This bit forces the data lanes in TX stop mode. It is used to initialize a lane module in transmit mode. It causes the lane module to immediately jump to transmit control mode and to begin transmitting a stop state (LP-11). It can be used to go back in TX mode after a wrong BTA sequence.

pub fn set_ftxsmdl(&mut self, val: bool)

Force in TX Stop mode the data lanes This bit forces the data lanes in TX stop mode. It is used to initialize a lane module in transmit mode. It causes the lane module to immediately jump to transmit control mode and to begin transmitting a stop state (LP-11). It can be used to go back in TX mode after a wrong BTA sequence.

Trait Implementations§

§

impl Clone for Wpcr0

§

fn clone(&self) -> Wpcr0

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Wpcr0

§

fn default() -> Wpcr0

Returns the “default value” for a type. Read more
§

impl PartialEq for Wpcr0

§

fn eq(&self, other: &Wpcr0) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Wpcr0

§

impl Eq for Wpcr0

§

impl StructuralEq for Wpcr0

§

impl StructuralPartialEq for Wpcr0

Auto Trait Implementations§

§

impl RefUnwindSafe for Wpcr0

§

impl Send for Wpcr0

§

impl Sync for Wpcr0

§

impl Unpin for Wpcr0

§

impl UnwindSafe for Wpcr0

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.