Struct rk3399_pac::TypecPhy1
source · pub struct TypecPhy1 { /* private fields */ }
Expand description
Type-C PHY 1 Registers
Implementations§
source§impl TypecPhy1
impl TypecPhy1
sourcepub const PTR: *const RegisterBlock = {0xff800000 as *const typec_phy::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xff800000 as *const typec_phy::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 pma_lane_cfg(&self) -> &PmaLaneCfg
pub fn pma_lane_cfg(&self) -> &PmaLaneCfg
0x30000 - PMA lane configuration register
sourcepub fn pipe_cmn_ctrl1(&self) -> &PipeCmnCtrl1
pub fn pipe_cmn_ctrl1(&self) -> &PipeCmnCtrl1
0x30004 - PIPE common control1 register
sourcepub fn pipe_cmn_ctrl2(&self) -> &PipeCmnCtrl2
pub fn pipe_cmn_ctrl2(&self) -> &PipeCmnCtrl2
0x30008 - PIPE common control2 register
sourcepub fn pipe_com_lock_cfg1(&self) -> &PipeComLockCfg1
pub fn pipe_com_lock_cfg1(&self) -> &PipeComLockCfg1
0x3000c - PIPE comma lock configuration1 register
sourcepub fn pipe_com_lock_cfg2(&self) -> &PipeComLockCfg2
pub fn pipe_com_lock_cfg2(&self) -> &PipeComLockCfg2
0x30010 - PIPE comma lock configuration2 register
sourcepub fn pipe_rcv_det_inh(&self) -> &PipeRcvDetInh
pub fn pipe_rcv_det_inh(&self) -> &PipeRcvDetInh
0x30014 - PIPE receiver detect inhibit register
sourcepub fn dp_mode_ctl(&self) -> &DpModeCtl
pub fn dp_mode_ctl(&self) -> &DpModeCtl
0x30020 - DP Mode Control register
sourcepub fn dp_clk_ctl(&self) -> &DpClkCtl
pub fn dp_clk_ctl(&self) -> &DpClkCtl
0x30024 - DP Clock Control register
sourcepub fn usb_ber_cnt(&self) -> &UsbBerCnt
pub fn usb_ber_cnt(&self) -> &UsbBerCnt
0x31000 - USB loopback slave BER count isolation register
sourcepub fn dp_tx_ctl_lane0(&self) -> &DpTxCtlLane0
pub fn dp_tx_ctl_lane0(&self) -> &DpTxCtlLane0
0x31020 - DP Lane Configuration register
sourcepub fn dp_tx_ctl_lane1(&self) -> &DpTxCtlLane1
pub fn dp_tx_ctl_lane1(&self) -> &DpTxCtlLane1
0x31120 - DP Lane Configuration register
sourcepub fn dp_tx_ctl_lane2(&self) -> &DpTxCtlLane2
pub fn dp_tx_ctl_lane2(&self) -> &DpTxCtlLane2
0x31220 - DP Lane Configuration register
sourcepub fn dp_tx_ctl_lane3(&self) -> &DpTxCtlLane3
pub fn dp_tx_ctl_lane3(&self) -> &DpTxCtlLane3
0x31320 - DP Lane Configuration register
sourcepub fn pma_cmn_ctrl1(&self) -> &PmaCmnCtrl1
pub fn pma_cmn_ctrl1(&self) -> &PmaCmnCtrl1
0x32000 - PMA common control1 register
sourcepub fn pma_iso_pll_ctrl0(&self) -> &PmaIsoPllCtrl0
pub fn pma_iso_pll_ctrl0(&self) -> &PmaIsoPllCtrl0
0x32044 - PMA PLL control0 isolation register
sourcepub fn pma_iso_pll_ctrl1(&self) -> &PmaIsoPllCtrl1
pub fn pma_iso_pll_ctrl1(&self) -> &PmaIsoPllCtrl1
0x32048 - PMA PLL control1 isolation register
sourcepub fn isolation_ctrl(&self) -> &IsolationCtrl
pub fn isolation_ctrl(&self) -> &IsolationCtrl
0x3207c - Isolation control register
sourcepub fn pma_iso_xcvr_ctrl_lane0(&self) -> &PmaIsoXcvrCtrlLane0
pub fn pma_iso_xcvr_ctrl_lane0(&self) -> &PmaIsoXcvrCtrlLane0
0x33040 - PMA Isolation Tansceiver control register
sourcepub fn pma_iso_tx_cfg_lane0(&self) -> &PmaIsoTxCfgLane0
pub fn pma_iso_tx_cfg_lane0(&self) -> &PmaIsoTxCfgLane0
0x33044 - PMA TX configuration register
sourcepub fn pma_iso_link_mode_lane0(&self) -> &PmaIsoLinkModeLane0
pub fn pma_iso_link_mode_lane0(&self) -> &PmaIsoLinkModeLane0
0x33048 - PMA Isolation mode control register
sourcepub fn pma_iso_pwrst_ctrl_lane0(&self) -> &PmaIsoPwrstCtrlLane0
pub fn pma_iso_pwrst_ctrl_lane0(&self) -> &PmaIsoPwrstCtrlLane0
0x3304c - PMA Isolation power state control register
sourcepub fn pma_iso_tx_data_lo_lane0(&self) -> &PmaIsoTxDataLoLane0
pub fn pma_iso_tx_data_lo_lane0(&self) -> &PmaIsoTxDataLoLane0
0x33050 - PMA transmit low data isolation register
sourcepub fn pma_iso_tx_data_hi_lane0(&self) -> &PmaIsoTxDataHiLane0
pub fn pma_iso_tx_data_hi_lane0(&self) -> &PmaIsoTxDataHiLane0
0x33054 - PMA transmit high data isolation register
sourcepub fn pma_iso_rx_data_lo_lane0(&self) -> &PmaIsoRxDataLoLane0
pub fn pma_iso_rx_data_lo_lane0(&self) -> &PmaIsoRxDataLoLane0
0x33058 - PMA receive low data isolation register
sourcepub fn pma_iso_rx_data_hi_lane0(&self) -> &PmaIsoRxDataHiLane0
pub fn pma_iso_rx_data_hi_lane0(&self) -> &PmaIsoRxDataHiLane0
0x3305c - PMA receive high data isolation register
sourcepub fn pma_iso_xcvr_ctrl_lane1(&self) -> &PmaIsoXcvrCtrlLane1
pub fn pma_iso_xcvr_ctrl_lane1(&self) -> &PmaIsoXcvrCtrlLane1
0x33140 - PMA Isolation Tansceiver control register
sourcepub fn pma_iso_tx_cfg_lane1(&self) -> &PmaIsoTxCfgLane1
pub fn pma_iso_tx_cfg_lane1(&self) -> &PmaIsoTxCfgLane1
0x33144 - PMA TX configuration register
sourcepub fn pma_iso_link_mode_lane1(&self) -> &PmaIsoLinkModeLane1
pub fn pma_iso_link_mode_lane1(&self) -> &PmaIsoLinkModeLane1
0x33148 - PMA Isolation mode control register
sourcepub fn pma_iso_pwrst_ctrl_lane1(&self) -> &PmaIsoPwrstCtrlLane1
pub fn pma_iso_pwrst_ctrl_lane1(&self) -> &PmaIsoPwrstCtrlLane1
0x3314c - PMA Isolation power state control register
sourcepub fn pma_iso_tx_data_lo_lane1(&self) -> &PmaIsoTxDataLoLane1
pub fn pma_iso_tx_data_lo_lane1(&self) -> &PmaIsoTxDataLoLane1
0x33150 - PMA transmit low data isolation register
sourcepub fn pma_iso_tx_data_hi_lane1(&self) -> &PmaIsoTxDataHiLane1
pub fn pma_iso_tx_data_hi_lane1(&self) -> &PmaIsoTxDataHiLane1
0x33154 - PMA transmit high data isolation register
sourcepub fn pma_iso_rx_data_lo_lane1(&self) -> &PmaIsoRxDataLoLane1
pub fn pma_iso_rx_data_lo_lane1(&self) -> &PmaIsoRxDataLoLane1
0x33158 - PMA receive low data isolation register
sourcepub fn pma_iso_rx_data_hi_lane1(&self) -> &PmaIsoRxDataHiLane1
pub fn pma_iso_rx_data_hi_lane1(&self) -> &PmaIsoRxDataHiLane1
0x3315c - PMA receive high data isolation register
sourcepub fn pma_iso_xcvr_ctrl_lane2(&self) -> &PmaIsoXcvrCtrlLane2
pub fn pma_iso_xcvr_ctrl_lane2(&self) -> &PmaIsoXcvrCtrlLane2
0x33240 - PMA Isolation Tansceiver control register
sourcepub fn pma_iso_tx_cfg_lane2(&self) -> &PmaIsoTxCfgLane2
pub fn pma_iso_tx_cfg_lane2(&self) -> &PmaIsoTxCfgLane2
0x33244 - PMA TX configuration register
sourcepub fn pma_iso_link_mode_lane2(&self) -> &PmaIsoLinkModeLane2
pub fn pma_iso_link_mode_lane2(&self) -> &PmaIsoLinkModeLane2
0x33248 - PMA Isolation mode control register
sourcepub fn pma_iso_pwrst_ctrl_lane2(&self) -> &PmaIsoPwrstCtrlLane2
pub fn pma_iso_pwrst_ctrl_lane2(&self) -> &PmaIsoPwrstCtrlLane2
0x3324c - PMA Isolation power state control register
sourcepub fn pma_iso_tx_data_lo_lane2(&self) -> &PmaIsoTxDataLoLane2
pub fn pma_iso_tx_data_lo_lane2(&self) -> &PmaIsoTxDataLoLane2
0x33250 - PMA transmit low data isolation register
sourcepub fn pma_iso_tx_data_hi_lane2(&self) -> &PmaIsoTxDataHiLane2
pub fn pma_iso_tx_data_hi_lane2(&self) -> &PmaIsoTxDataHiLane2
0x33254 - PMA transmit high data isolation register
sourcepub fn pma_iso_rx_data_lo_lane2(&self) -> &PmaIsoRxDataLoLane2
pub fn pma_iso_rx_data_lo_lane2(&self) -> &PmaIsoRxDataLoLane2
0x33258 - PMA receive low data isolation register
sourcepub fn pma_iso_rx_data_hi_lane2(&self) -> &PmaIsoRxDataHiLane2
pub fn pma_iso_rx_data_hi_lane2(&self) -> &PmaIsoRxDataHiLane2
0x3325c - PMA receive high data isolation register
sourcepub fn pma_iso_xcvr_ctrl_lane3(&self) -> &PmaIsoXcvrCtrlLane3
pub fn pma_iso_xcvr_ctrl_lane3(&self) -> &PmaIsoXcvrCtrlLane3
0x33340 - PMA Isolation Tansceiver control register
sourcepub fn pma_iso_tx_cfg_lane3(&self) -> &PmaIsoTxCfgLane3
pub fn pma_iso_tx_cfg_lane3(&self) -> &PmaIsoTxCfgLane3
0x33344 - PMA TX configuration register
sourcepub fn pma_iso_link_mode_lane3(&self) -> &PmaIsoLinkModeLane3
pub fn pma_iso_link_mode_lane3(&self) -> &PmaIsoLinkModeLane3
0x33348 - PMA Isolation mode control register
sourcepub fn pma_iso_pwrst_ctrl_lane3(&self) -> &PmaIsoPwrstCtrlLane3
pub fn pma_iso_pwrst_ctrl_lane3(&self) -> &PmaIsoPwrstCtrlLane3
0x3334c - PMA Isolation power state control register
sourcepub fn pma_iso_tx_data_lo_lane3(&self) -> &PmaIsoTxDataLoLane3
pub fn pma_iso_tx_data_lo_lane3(&self) -> &PmaIsoTxDataLoLane3
0x33350 - PMA transmit low data isolation register
sourcepub fn pma_iso_tx_data_hi_lane3(&self) -> &PmaIsoTxDataHiLane3
pub fn pma_iso_tx_data_hi_lane3(&self) -> &PmaIsoTxDataHiLane3
0x33354 - PMA transmit high data isolation register
sourcepub fn pma_iso_rx_data_lo_lane3(&self) -> &PmaIsoRxDataLoLane3
pub fn pma_iso_rx_data_lo_lane3(&self) -> &PmaIsoRxDataLoLane3
0x33358 - PMA receive low data isolation register
sourcepub fn pma_iso_rx_data_hi_lane3(&self) -> &PmaIsoRxDataHiLane3
pub fn pma_iso_rx_data_hi_lane3(&self) -> &PmaIsoRxDataHiLane3
0x3335c - PMA receive high data isolation register