d1-pac 0.0.32

Peripheral access API for Allwinner D1 SoC generated from unofficial SVD file
Documentation
#[doc = "Register `dmac_pkg_num%s` reader"]
pub type R = crate::R<DMAC_PKG_NUM_SPEC>;
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        write!(f, "{}", self.bits())
    }
}
impl core::fmt::Debug for crate::generic::Reg<DMAC_PKG_NUM_SPEC> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        core::fmt::Debug::fmt(&self.read(), f)
    }
}
#[doc = "DMAC Package Number Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dmac_pkg_num::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DMAC_PKG_NUM_SPEC;
impl crate::RegisterSpec for DMAC_PKG_NUM_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`dmac_pkg_num::R`](R) reader structure"]
impl crate::Readable for DMAC_PKG_NUM_SPEC {}
#[doc = "`reset()` method sets dmac_pkg_num%s to value 0"]
impl crate::Resettable for DMAC_PKG_NUM_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}