rk3399-pac 0.1.4

Peripheral Access Crate (PAC) for the RK3399 SoC from Rockchip
Documentation
#[doc = "Register `DENALI_PHY_421` reader"]
pub type R = crate::R<DenaliPhy421Spec>;
#[doc = "Field `PHY_RDDQS_GATE_SLV_DLY_ENC_OBS_3` reader - Observation register for read DQS gate slave delay encoded value for slice 3."]
pub type PhyRddqsGateSlvDlyEncObs3R = crate::FieldReader<u16>;
#[doc = "Field `PHY_WRDQS_BASE_SLV_DLY_ENC_OBS_3` reader - Observation register for write DQS base slave delay encoded value for slice 3."]
pub type PhyWrdqsBaseSlvDlyEncObs3R = crate::FieldReader;
#[doc = "Field `PHY_WRDQ_BASE_SLV_DLY_ENC_OBS_3` reader - Observation register for write DQ base slave delay encoded value for slice 3."]
pub type PhyWrdqBaseSlvDlyEncObs3R = crate::FieldReader;
impl R {
    #[doc = "Bits 0:9 - Observation register for read DQS gate slave delay encoded value for slice 3."]
    #[inline(always)]
    pub fn phy_rddqs_gate_slv_dly_enc_obs_3(&self) -> PhyRddqsGateSlvDlyEncObs3R {
        PhyRddqsGateSlvDlyEncObs3R::new((self.bits & 0x03ff) as u16)
    }
    #[doc = "Bits 16:22 - Observation register for write DQS base slave delay encoded value for slice 3."]
    #[inline(always)]
    pub fn phy_wrdqs_base_slv_dly_enc_obs_3(&self) -> PhyWrdqsBaseSlvDlyEncObs3R {
        PhyWrdqsBaseSlvDlyEncObs3R::new(((self.bits >> 16) & 0x7f) as u8)
    }
    #[doc = "Bits 24:31 - Observation register for write DQ base slave delay encoded value for slice 3."]
    #[inline(always)]
    pub fn phy_wrdq_base_slv_dly_enc_obs_3(&self) -> PhyWrdqBaseSlvDlyEncObs3R {
        PhyWrdqBaseSlvDlyEncObs3R::new(((self.bits >> 24) & 0xff) as u8)
    }
}
#[doc = "\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`denali_phy_421::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DenaliPhy421Spec;
impl crate::RegisterSpec for DenaliPhy421Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`denali_phy_421::R`](R) reader structure"]
impl crate::Readable for DenaliPhy421Spec {}
#[doc = "`reset()` method sets DENALI_PHY_421 to value 0"]
impl crate::Resettable for DenaliPhy421Spec {
    const RESET_VALUE: u32 = 0;
}