#[doc = "Register `AREA_DRAM0_1_MAX` reader"]
pub type R = crate::R<AREA_DRAM0_1_MAX_SPEC>;
#[doc = "Register `AREA_DRAM0_1_MAX` writer"]
pub type W = crate::W<AREA_DRAM0_1_MAX_SPEC>;
#[doc = "Field `AREA_DRAM0_1_MAX` reader - reg_core_0_area_dram0_1_max"]
pub type AREA_DRAM0_1_MAX_R = crate::FieldReader<u32>;
#[doc = "Field `AREA_DRAM0_1_MAX` writer - reg_core_0_area_dram0_1_max"]
pub type AREA_DRAM0_1_MAX_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - reg_core_0_area_dram0_1_max"]
    #[inline(always)]
    pub fn area_dram0_1_max(&self) -> AREA_DRAM0_1_MAX_R {
        AREA_DRAM0_1_MAX_R::new(self.bits)
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("AREA_DRAM0_1_MAX")
            .field("area_dram0_1_max", &self.area_dram0_1_max())
            .finish()
    }
}
impl W {
    #[doc = "Bits 0:31 - reg_core_0_area_dram0_1_max"]
    #[inline(always)]
    pub fn area_dram0_1_max(&mut self) -> AREA_DRAM0_1_MAX_W<'_, AREA_DRAM0_1_MAX_SPEC> {
        AREA_DRAM0_1_MAX_W::new(self, 0)
    }
}
#[doc = "ASSIST_DEBUG_CORE_0_AREA_DRAM0_1_MAX_REG\n\nYou can [`read`](crate::Reg::read) this register and get [`area_dram0_1_max::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`area_dram0_1_max::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct AREA_DRAM0_1_MAX_SPEC;
impl crate::RegisterSpec for AREA_DRAM0_1_MAX_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`area_dram0_1_max::R`](R) reader structure"]
impl crate::Readable for AREA_DRAM0_1_MAX_SPEC {}
#[doc = "`write(|w| ..)` method takes [`area_dram0_1_max::W`](W) writer structure"]
impl crate::Writable for AREA_DRAM0_1_MAX_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets AREA_DRAM0_1_MAX to value 0"]
impl crate::Resettable for AREA_DRAM0_1_MAX_SPEC {}
