esp32c5 0.2.0

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