esp32c3 0.32.2

Peripheral access crate for the ESP32-C3
Documentation
#[doc = "Register `SP_MAX` reader"]
pub type R = crate::R<SP_MAX_SPEC>;
#[doc = "Register `SP_MAX` writer"]
pub type W = crate::W<SP_MAX_SPEC>;
#[doc = "Field `SP_MAX` reader - reg_core_0_sp_max"]
pub type SP_MAX_R = crate::FieldReader<u32>;
#[doc = "Field `SP_MAX` writer - reg_core_0_sp_max"]
pub type SP_MAX_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - reg_core_0_sp_max"]
    #[inline(always)]
    pub fn sp_max(&self) -> SP_MAX_R {
        SP_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("SP_MAX")
            .field("sp_max", &self.sp_max())
            .finish()
    }
}
impl W {
    #[doc = "Bits 0:31 - reg_core_0_sp_max"]
    #[inline(always)]
    pub fn sp_max(&mut self) -> SP_MAX_W<'_, SP_MAX_SPEC> {
        SP_MAX_W::new(self, 0)
    }
}
#[doc = "ASSIST_DEBUG_CORE_0_SP_MAX_REG\n\nYou can [`read`](crate::Reg::read) this register and get [`sp_max::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sp_max::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SP_MAX_SPEC;
impl crate::RegisterSpec for SP_MAX_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`sp_max::R`](R) reader structure"]
impl crate::Readable for SP_MAX_SPEC {}
#[doc = "`write(|w| ..)` method takes [`sp_max::W`](W) writer structure"]
impl crate::Writable for SP_MAX_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SP_MAX to value 0xffff_ffff"]
impl crate::Resettable for SP_MAX_SPEC {
    const RESET_VALUE: u32 = 0xffff_ffff;
}