pub struct Config { /* private fields */ }Expand description
Bus-level configuration.
Implementations§
Source§impl Config
impl Config
Sourcepub fn with_num_data_lanes(self, num_data_lanes: DataLanes) -> Self
pub fn with_num_data_lanes(self, num_data_lanes: DataLanes) -> Self
Assign the given value to the num_data_lanes field.
Sourcepub fn num_data_lanes(&self) -> DataLanes
pub fn num_data_lanes(&self) -> DataLanes
Number of active D-PHY data lanes.
Sourcepub fn with_lane_bit_rate_mbps(self, lane_bit_rate_mbps: f32) -> Self
pub fn with_lane_bit_rate_mbps(self, lane_bit_rate_mbps: f32) -> Self
Assign the given value to the lane_bit_rate_mbps field.
Sourcepub fn lane_bit_rate_mbps(&self) -> f32
pub fn lane_bit_rate_mbps(&self) -> f32
Lane bit rate in Mbps (80–1500).
Sourcepub fn with_phy_pll_refclk(
self,
phy_pll_refclk: MipiDsiPhyPllRefclkConfig,
) -> Self
pub fn with_phy_pll_refclk( self, phy_pll_refclk: MipiDsiPhyPllRefclkConfig, ) -> Self
Assign the given value to the phy_pll_refclk field.
Sourcepub fn phy_pll_refclk(&self) -> MipiDsiPhyPllRefclkConfig
pub fn phy_pll_refclk(&self) -> MipiDsiPhyPllRefclkConfig
PLL reference clock source for the D-PHY.
APLL is not yet modelled in the clock tree and cannot be selected here.
Sourcepub fn with_force_clock_lane_hs(self, force_clock_lane_hs: bool) -> Self
pub fn with_force_clock_lane_hs(self, force_clock_lane_hs: bool) -> Self
Assign the given value to the force_clock_lane_hs field.
Sourcepub fn force_clock_lane_hs(&self) -> bool
pub fn force_clock_lane_hs(&self) -> bool
Keep the clock lane continuously in HS mode (true) or use auto mode
where the DSI host manages HS↔LP transitions (false).
Trait Implementations§
impl Copy for Config
Available on crate feature
unstable only.impl StructuralPartialEq for Config
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)