#[doc = "Register `DENALI_PHY_165` reader"]
pub type R = crate::R<DenaliPhy165Spec>;
#[doc = "Field `PHY_RDDQS_GATE_SLV_DLY_ENC_OBS_1` reader - Observation register for read DQS gate slave delay encoded value for slice 1."]
pub type PhyRddqsGateSlvDlyEncObs1R = crate::FieldReader<u16>;
#[doc = "Field `PHY_WRDQS_BASE_SLV_DLY_ENC_OBS_1` reader - Observation register for write DQS base slave delay encoded value for slice 1."]
pub type PhyWrdqsBaseSlvDlyEncObs1R = crate::FieldReader;
#[doc = "Field `PHY_WRDQ_BASE_SLV_DLY_ENC_OBS_1` reader - Observation register for write DQ base slave delay encoded value for slice 1."]
pub type PhyWrdqBaseSlvDlyEncObs1R = crate::FieldReader;
impl R {
#[doc = "Bits 0:9 - Observation register for read DQS gate slave delay encoded value for slice 1."]
#[inline(always)]
pub fn phy_rddqs_gate_slv_dly_enc_obs_1(&self) -> PhyRddqsGateSlvDlyEncObs1R {
PhyRddqsGateSlvDlyEncObs1R::new((self.bits & 0x03ff) as u16)
}
#[doc = "Bits 16:22 - Observation register for write DQS base slave delay encoded value for slice 1."]
#[inline(always)]
pub fn phy_wrdqs_base_slv_dly_enc_obs_1(&self) -> PhyWrdqsBaseSlvDlyEncObs1R {
PhyWrdqsBaseSlvDlyEncObs1R::new(((self.bits >> 16) & 0x7f) as u8)
}
#[doc = "Bits 24:31 - Observation register for write DQ base slave delay encoded value for slice 1."]
#[inline(always)]
pub fn phy_wrdq_base_slv_dly_enc_obs_1(&self) -> PhyWrdqBaseSlvDlyEncObs1R {
PhyWrdqBaseSlvDlyEncObs1R::new(((self.bits >> 24) & 0xff) as u8)
}
}
#[doc = "\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`denali_phy_165::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DenaliPhy165Spec;
impl crate::RegisterSpec for DenaliPhy165Spec {
type Ux = u32;
}
#[doc = "`read()` method returns [`denali_phy_165::R`](R) reader structure"]
impl crate::Readable for DenaliPhy165Spec {}
#[doc = "`reset()` method sets DENALI_PHY_165 to value 0"]
impl crate::Resettable for DenaliPhy165Spec {
const RESET_VALUE: u32 = 0;
}