esp32 0.40.2

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