rk3399-pac 0.1.4

Peripheral Access Crate (PAC) for the RK3399 SoC from Rockchip
Documentation
#[doc = "Register `PCIE_RC_CAPABILITIES_POINTER` reader"]
pub type R = crate::R<PcieRcCapabilitiesPointerSpec>;
#[doc = "Field `CP` reader - Capabilities Pointer \\[CP\\]\n\nContains pointer to the first PCI\n\nCapability Structure. This field is set\n\nby default to the value defined in the\n\nRTL file reg_defaults.h. It can be re-\n\nwritten independently for every\n\nFunction from the local management\n\nAPB bus."]
pub type CpR = crate::FieldReader;
#[doc = "Field `R15` reader - Reserved \\[R15\\]\n\nReserved"]
pub type R15R = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:7 - Capabilities Pointer \\[CP\\]\n\nContains pointer to the first PCI\n\nCapability Structure. This field is set\n\nby default to the value defined in the\n\nRTL file reg_defaults.h. It can be re-\n\nwritten independently for every\n\nFunction from the local management\n\nAPB bus."]
    #[inline(always)]
    pub fn cp(&self) -> CpR {
        CpR::new((self.bits & 0xff) as u8)
    }
    #[doc = "Bits 8:31 - Reserved \\[R15\\]\n\nReserved"]
    #[inline(always)]
    pub fn r15(&self) -> R15R {
        R15R::new((self.bits >> 8) & 0x00ff_ffff)
    }
}
#[doc = "Capabilities Pointer\n\nReserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pcie_rc_capabilities_pointer::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct PcieRcCapabilitiesPointerSpec;
impl crate::RegisterSpec for PcieRcCapabilitiesPointerSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`pcie_rc_capabilities_pointer::R`](R) reader structure"]
impl crate::Readable for PcieRcCapabilitiesPointerSpec {}
#[doc = "`reset()` method sets PCIE_RC_CAPABILITIES_POINTER to value 0x80"]
impl crate::Resettable for PcieRcCapabilitiesPointerSpec {
    const RESET_VALUE: u32 = 0x80;
}