esp32 0.40.1

Peripheral access crate for the ESP32
Documentation
#[doc = "Register `APPCPU_CTRL_A` reader"]
pub type R = crate::R<APPCPU_CTRL_A_SPEC>;
#[doc = "Register `APPCPU_CTRL_A` writer"]
pub type W = crate::W<APPCPU_CTRL_A_SPEC>;
#[doc = "Field `APPCPU_RESETTING` reader - "]
pub type APPCPU_RESETTING_R = crate::BitReader;
#[doc = "Field `APPCPU_RESETTING` writer - "]
pub type APPCPU_RESETTING_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    #[doc = "Bit 0"]
    #[inline(always)]
    pub fn appcpu_resetting(&self) -> APPCPU_RESETTING_R {
        APPCPU_RESETTING_R::new((self.bits & 1) != 0)
    }
}
#[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("APPCPU_CTRL_A")
            .field("appcpu_resetting", &self.appcpu_resetting())
            .finish()
    }
}
impl W {
    #[doc = "Bit 0"]
    #[inline(always)]
    pub fn appcpu_resetting(&mut self) -> APPCPU_RESETTING_W<'_, APPCPU_CTRL_A_SPEC> {
        APPCPU_RESETTING_W::new(self, 0)
    }
}
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`appcpu_ctrl_a::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`appcpu_ctrl_a::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct APPCPU_CTRL_A_SPEC;
impl crate::RegisterSpec for APPCPU_CTRL_A_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`appcpu_ctrl_a::R`](R) reader structure"]
impl crate::Readable for APPCPU_CTRL_A_SPEC {}
#[doc = "`write(|w| ..)` method takes [`appcpu_ctrl_a::W`](W) writer structure"]
impl crate::Writable for APPCPU_CTRL_A_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets APPCPU_CTRL_A to value 0x01"]
impl crate::Resettable for APPCPU_CTRL_A_SPEC {
    const RESET_VALUE: u32 = 0x01;
}