Struct MIPI_DSI_HOST

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

MIPI Display Interface Host

Implementations§

Source§

impl MIPI_DSI_HOST

Source

pub const PTR: *const RegisterBlock = {0x500a0000 as *const mipi_dsi_host::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

Source

pub fn version(&self) -> &VERSION

0x00 - NA

Source

pub fn pwr_up(&self) -> &PWR_UP

0x04 - NA

Source

pub fn clkmgr_cfg(&self) -> &CLKMGR_CFG

0x08 - NA

Source

pub fn dpi_vcid(&self) -> &DPI_VCID

0x0c - NA

Source

pub fn dpi_color_coding(&self) -> &DPI_COLOR_CODING

0x10 - NA

Source

pub fn dpi_cfg_pol(&self) -> &DPI_CFG_POL

0x14 - NA

Source

pub fn dpi_lp_cmd_tim(&self) -> &DPI_LP_CMD_TIM

0x18 - NA

Source

pub fn dbi_vcid(&self) -> &DBI_VCID

0x1c - NA

Source

pub fn dbi_cfg(&self) -> &DBI_CFG

0x20 - NA

Source

pub fn dbi_partitioning_en(&self) -> &DBI_PARTITIONING_EN

0x24 - NA

Source

pub fn dbi_cmdsize(&self) -> &DBI_CMDSIZE

0x28 - NA

Source

pub fn pckhdl_cfg(&self) -> &PCKHDL_CFG

0x2c - NA

Source

pub fn gen_vcid(&self) -> &GEN_VCID

0x30 - NA

Source

pub fn mode_cfg(&self) -> &MODE_CFG

0x34 - NA

Source

pub fn vid_mode_cfg(&self) -> &VID_MODE_CFG

0x38 - NA

Source

pub fn vid_pkt_size(&self) -> &VID_PKT_SIZE

0x3c - NA

Source

pub fn vid_num_chunks(&self) -> &VID_NUM_CHUNKS

0x40 - NA

Source

pub fn vid_null_size(&self) -> &VID_NULL_SIZE

0x44 - NA

Source

pub fn vid_hsa_time(&self) -> &VID_HSA_TIME

0x48 - NA

Source

pub fn vid_hbp_time(&self) -> &VID_HBP_TIME

0x4c - NA

Source

pub fn vid_hline_time(&self) -> &VID_HLINE_TIME

0x50 - NA

Source

pub fn vid_vsa_lines(&self) -> &VID_VSA_LINES

0x54 - NA

Source

pub fn vid_vbp_lines(&self) -> &VID_VBP_LINES

0x58 - NA

Source

pub fn vid_vfp_lines(&self) -> &VID_VFP_LINES

0x5c - NA

Source

pub fn vid_vactive_lines(&self) -> &VID_VACTIVE_LINES

0x60 - NA

Source

pub fn edpi_cmd_size(&self) -> &EDPI_CMD_SIZE

0x64 - NA

Source

pub fn cmd_mode_cfg(&self) -> &CMD_MODE_CFG

0x68 - NA

Source

pub fn gen_hdr(&self) -> &GEN_HDR

0x6c - NA

Source

pub fn gen_pld_data(&self) -> &GEN_PLD_DATA

0x70 - NA

Source

pub fn cmd_pkt_status(&self) -> &CMD_PKT_STATUS

0x74 - NA

Source

pub fn to_cnt_cfg(&self) -> &TO_CNT_CFG

0x78 - NA

Source

pub fn hs_rd_to_cnt(&self) -> &HS_RD_TO_CNT

0x7c - NA

Source

pub fn lp_rd_to_cnt(&self) -> &LP_RD_TO_CNT

0x80 - NA

Source

pub fn hs_wr_to_cnt(&self) -> &HS_WR_TO_CNT

0x84 - NA

Source

pub fn lp_wr_to_cnt(&self) -> &LP_WR_TO_CNT

0x88 - NA

Source

pub fn bta_to_cnt(&self) -> &BTA_TO_CNT

0x8c - NA

Source

pub fn sdf_3d(&self) -> &SDF_3D

0x90 - NA

Source

pub fn lpclk_ctrl(&self) -> &LPCLK_CTRL

0x94 - NA

Source

pub fn phy_tmr_lpclk_cfg(&self) -> &PHY_TMR_LPCLK_CFG

0x98 - NA

Source

pub fn phy_tmr_cfg(&self) -> &PHY_TMR_CFG

0x9c - NA

Source

pub fn phy_rstz(&self) -> &PHY_RSTZ

0xa0 - NA

Source

pub fn phy_if_cfg(&self) -> &PHY_IF_CFG

0xa4 - NA

Source

pub fn phy_ulps_ctrl(&self) -> &PHY_ULPS_CTRL

0xa8 - NA

Source

pub fn phy_tx_triggers(&self) -> &PHY_TX_TRIGGERS

0xac - NA

Source

pub fn phy_status(&self) -> &PHY_STATUS

0xb0 - NA

Source

pub fn phy_tst_ctrl0(&self) -> &PHY_TST_CTRL0

0xb4 - NA

Source

pub fn phy_tst_ctrl1(&self) -> &PHY_TST_CTRL1

0xb8 - NA

Source

pub fn int_st0(&self) -> &INT_ST0

0xbc - NA

Source

pub fn int_st1(&self) -> &INT_ST1

0xc0 - NA

Source

pub fn int_msk0(&self) -> &INT_MSK0

0xc4 - NA

Source

pub fn int_msk1(&self) -> &INT_MSK1

0xc8 - NA

Source

pub fn phy_cal(&self) -> &PHY_CAL

0xcc - NA

Source

pub fn int_force0(&self) -> &INT_FORCE0

0xd8 - NA

Source

pub fn int_force1(&self) -> &INT_FORCE1

0xdc - NA

Source

pub fn dsc_parameter(&self) -> &DSC_PARAMETER

0xf0 - NA

Source

pub fn phy_tmr_rd_cfg(&self) -> &PHY_TMR_RD_CFG

0xf4 - NA

Source

pub fn vid_shadow_ctrl(&self) -> &VID_SHADOW_CTRL

0x100 - NA

Source

pub fn dpi_vcid_act(&self) -> &DPI_VCID_ACT

0x10c - NA

Source

pub fn dpi_color_coding_act(&self) -> &DPI_COLOR_CODING_ACT

0x110 - NA

Source

pub fn dpi_lp_cmd_tim_act(&self) -> &DPI_LP_CMD_TIM_ACT

0x118 - NA

Source

pub fn edpi_te_hw_cfg(&self) -> &EDPI_TE_HW_CFG

0x11c - NA

Source

pub fn vid_mode_cfg_act(&self) -> &VID_MODE_CFG_ACT

0x138 - NA

Source

pub fn vid_pkt_size_act(&self) -> &VID_PKT_SIZE_ACT

0x13c - NA

Source

pub fn vid_num_chunks_act(&self) -> &VID_NUM_CHUNKS_ACT

0x140 - NA

Source

pub fn vid_null_size_act(&self) -> &VID_NULL_SIZE_ACT

0x144 - NA

Source

pub fn vid_hsa_time_act(&self) -> &VID_HSA_TIME_ACT

0x148 - NA

Source

pub fn vid_hbp_time_act(&self) -> &VID_HBP_TIME_ACT

0x14c - NA

Source

pub fn vid_hline_time_act(&self) -> &VID_HLINE_TIME_ACT

0x150 - NA

Source

pub fn vid_vsa_lines_act(&self) -> &VID_VSA_LINES_ACT

0x154 - NA

Source

pub fn vid_vbp_lines_act(&self) -> &VID_VBP_LINES_ACT

0x158 - NA

Source

pub fn vid_vfp_lines_act(&self) -> &VID_VFP_LINES_ACT

0x15c - NA

Source

pub fn vid_vactive_lines_act(&self) -> &VID_VACTIVE_LINES_ACT

0x160 - NA

Source

pub fn vid_pkt_status(&self) -> &VID_PKT_STATUS

0x168 - NA

Source

pub fn sdf_3d_act(&self) -> &SDF_3D_ACT

0x190 - NA

Trait Implementations§

Source§

impl Debug for MIPI_DSI_HOST

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for MIPI_DSI_HOST

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Send for MIPI_DSI_HOST

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.