Struct rk3399_pac::MipiDsiHost0
source · pub struct MipiDsiHost0 { /* private fields */ }
Expand description
MIPI Display Serial Interface (DSI) Host 0 Registers
Implementations§
source§impl MipiDsiHost0
impl MipiDsiHost0
sourcepub const PTR: *const RegisterBlock = {0xff960000 as *const mipi_dsi_host::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xff960000 as *const mipi_dsi_host::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
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>§
sourcepub fn clkmgr_cfg(&self) -> &ClkmgrCfg
pub fn clkmgr_cfg(&self) -> &ClkmgrCfg
0x08 - Internal Clock Dividers Configuration Register
sourcepub fn dpi_color_coding(&self) -> &DpiColorCoding
pub fn dpi_color_coding(&self) -> &DpiColorCoding
0x10 - DPI Color Coding Register
sourcepub fn dpi_cfg_pol(&self) -> &DpiCfgPol
pub fn dpi_cfg_pol(&self) -> &DpiCfgPol
0x14 - DPI Polarity Configuration Register
sourcepub fn dpi_lp_cmd_tim(&self) -> &DpiLpCmdTim
pub fn dpi_lp_cmd_tim(&self) -> &DpiLpCmdTim
0x18 - Low-Power Command Timing Configuration Register
sourcepub fn pckhdl_cfg(&self) -> &PckhdlCfg
pub fn pckhdl_cfg(&self) -> &PckhdlCfg
0x2c - Packet Handler Configuration Register
sourcepub fn vid_mode_cfg(&self) -> &VidModeCfg
pub fn vid_mode_cfg(&self) -> &VidModeCfg
0x38 - Video Mode Configuration Register
sourcepub fn vid_pkt_size(&self) -> &VidPktSize
pub fn vid_pkt_size(&self) -> &VidPktSize
0x3c - Video Packet Size Register
sourcepub fn vid_num_chunks(&self) -> &VidNumChunks
pub fn vid_num_chunks(&self) -> &VidNumChunks
0x40 - Number Of Chunks Register
sourcepub fn vid_null_size(&self) -> &VidNullSize
pub fn vid_null_size(&self) -> &VidNullSize
0x44 - Null Packet Size Register
sourcepub fn vid_hsa_time(&self) -> &VidHsaTime
pub fn vid_hsa_time(&self) -> &VidHsaTime
0x48 - Horizontal Sync Active Time Register
sourcepub fn vid_hbp_time(&self) -> &VidHbpTime
pub fn vid_hbp_time(&self) -> &VidHbpTime
0x4c - Register0005 Abstract
sourcepub fn vid_hline_time(&self) -> &VidHlineTime
pub fn vid_hline_time(&self) -> &VidHlineTime
0x50 - Line Time Register
sourcepub fn vid_vsa_lines(&self) -> &VidVsaLines
pub fn vid_vsa_lines(&self) -> &VidVsaLines
0x54 - VID_VSA_LINES
sourcepub fn vid_vbp_lines(&self) -> &VidVbpLines
pub fn vid_vbp_lines(&self) -> &VidVbpLines
0x58 - Vertical Back Porch Period Register
sourcepub fn vid_vfp_lines(&self) -> &VidVfpLines
pub fn vid_vfp_lines(&self) -> &VidVfpLines
0x5c - Vertical Front Porch Period Register
sourcepub fn vid_vactive_lines(&self) -> &VidVactiveLines
pub fn vid_vactive_lines(&self) -> &VidVactiveLines
0x60 - Vertical Resolution Register
sourcepub fn edpi_cmd_size(&self) -> &EdpiCmdSize
pub fn edpi_cmd_size(&self) -> &EdpiCmdSize
0x64 - eDPI Packet Size Register
sourcepub fn cmd_mode_cfg(&self) -> &CmdModeCfg
pub fn cmd_mode_cfg(&self) -> &CmdModeCfg
0x68 - Command Mode Configuration Register
sourcepub fn gen_pld_data(&self) -> &GenPldData
pub fn gen_pld_data(&self) -> &GenPldData
0x70 - Generic Payload Data In And Out Register
sourcepub fn cmd_pkt_status(&self) -> &CmdPktStatus
pub fn cmd_pkt_status(&self) -> &CmdPktStatus
0x74 - Command Packet Status Register
sourcepub fn to_cnt_cfg(&self) -> &ToCntCfg
pub fn to_cnt_cfg(&self) -> &ToCntCfg
0x78 - Timeout Timers Configuration Register
sourcepub fn hs_rd_to_cnt(&self) -> &HsRdToCnt
pub fn hs_rd_to_cnt(&self) -> &HsRdToCnt
0x7c - Peripheral Response Timeout Definition after Hi
sourcepub fn lp_rd_to_cnt(&self) -> &LpRdToCnt
pub fn lp_rd_to_cnt(&self) -> &LpRdToCnt
0x80 - Peripheral Response Timeout Definition after Lo
sourcepub fn hs_wr_to_cnt(&self) -> &HsWrToCnt
pub fn hs_wr_to_cnt(&self) -> &HsWrToCnt
0x84 - Peripheral Response Timeout Definition after Hi
sourcepub fn lp_wr_to_cnt(&self) -> &LpWrToCnt
pub fn lp_wr_to_cnt(&self) -> &LpWrToCnt
0x88 - Peripheral Response Timeout Definition after Lo
sourcepub fn bta_to_cnt(&self) -> &BtaToCnt
pub fn bta_to_cnt(&self) -> &BtaToCnt
0x8c - Peripheral Response Timeout Definition after B
sourcepub fn lpclk_ctrl(&self) -> &LpclkCtrl
pub fn lpclk_ctrl(&self) -> &LpclkCtrl
0x94 - Low-power in Clock Lane Register
sourcepub fn phy_tmr_lpclk_cfg(&self) -> &PhyTmrLpclkCfg
pub fn phy_tmr_lpclk_cfg(&self) -> &PhyTmrLpclkCfg
0x98 - D-PHY Timing Configuration for the Clock Lane
sourcepub fn phy_tmr_cfg(&self) -> &PhyTmrCfg
pub fn phy_tmr_cfg(&self) -> &PhyTmrCfg
0x9c - D-PHY Data Lanes Timing Configuration Registe
sourcepub fn phy_if_cfg(&self) -> &PhyIfCfg
pub fn phy_if_cfg(&self) -> &PhyIfCfg
0xa4 - D-PHY Interface Configuration Register
sourcepub fn phy_ulps_ctrl(&self) -> &PhyUlpsCtrl
pub fn phy_ulps_ctrl(&self) -> &PhyUlpsCtrl
0xa8 - D-PHY Ultra Low-Power Control Register
sourcepub fn phy_tx_triggers(&self) -> &PhyTxTriggers
pub fn phy_tx_triggers(&self) -> &PhyTxTriggers
0xac - D-PHY Transmit Triggers Register
sourcepub fn phy_status(&self) -> &PhyStatus
pub fn phy_status(&self) -> &PhyStatus
0xb0 - Register0010 Abstract
sourcepub fn phy_tst_ctrl0(&self) -> &PhyTstCtrl0
pub fn phy_tst_ctrl0(&self) -> &PhyTstCtrl0
0xb4 - D-PHY Test Interface Control 0 Register
sourcepub fn phy_tst_ctrl1(&self) -> &PhyTstCtrl1
pub fn phy_tst_ctrl1(&self) -> &PhyTstCtrl1
0xb8 - D-PHY Test Interface Control 1 Register
sourcepub fn int_force0(&self) -> &IntForce0
pub fn int_force0(&self) -> &IntForce0
0xd8 - Force Interrupt Configuration Register
sourcepub fn int_force1(&self) -> &IntForce1
pub fn int_force1(&self) -> &IntForce1
0xdc - Force Interrupt Configuration Register