embassy-stm32

Crates

git

Versions

stm32h757xi-cm7

Flavors

DsiHostPhyConfig

Struct DsiHostPhyConfig 

Source
pub struct DsiHostPhyConfig {
Show 14 fields pub lanes: DsiHostPhyLanes, pub stop_wait_time: u8, pub tx_escape_div: u8, pub acr: bool, pub crc_rx: bool, pub ecc_rx: bool, pub eotp_rx: bool, pub eotp_tx: bool, pub bta: bool, pub clock_hs2lp: u16, pub clock_lp2hs: u16, pub data_hs2lp: u8, pub data_lp2hs: u8, pub data_mrd: u16,
}
Expand description

DSI PHY Configuration

Fields§

§lanes: DsiHostPhyLanes

Number of DSI PHY lanes

§stop_wait_time: u8

Stop wait time. Minimum wait period to request a high speed transmission after the stop state

§tx_escape_div: u8

TX escape clock div relative to lane byte clock

§acr: bool

D-PHY automatic clock lane control. Stops providing clock automatically.

§crc_rx: bool

Enable CRC RX enable

§ecc_rx: bool

Enable ECC RX enable

§eotp_rx: bool

EoTp RX enable

§eotp_tx: bool

EoTp TX enable

§bta: bool

Bus Turnaround enable

§clock_hs2lp: u16

Clock high speed to low power timing

§clock_lp2hs: u16

Clock low power to high speed timing

§data_hs2lp: u8

Data high speed to low power timing

§data_lp2hs: u8

Data low power to high speed timing

§data_mrd: u16

Data maximum read time

Auto Trait Implementations§

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

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.