esp32c6_lp/pmu/
vdd_spi_status.rs

1#[doc = "Register `VDD_SPI_STATUS` reader"]
2pub type R = crate::R<VDD_SPI_STATUS_SPEC>;
3#[doc = "Field `STABLE_VDD_SPI_PWR_DRV` reader - need_des"]
4pub type STABLE_VDD_SPI_PWR_DRV_R = crate::BitReader;
5impl R {
6    #[doc = "Bit 31 - need_des"]
7    #[inline(always)]
8    pub fn stable_vdd_spi_pwr_drv(&self) -> STABLE_VDD_SPI_PWR_DRV_R {
9        STABLE_VDD_SPI_PWR_DRV_R::new(((self.bits >> 31) & 1) != 0)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("VDD_SPI_STATUS")
16            .field("stable_vdd_spi_pwr_drv", &self.stable_vdd_spi_pwr_drv())
17            .finish()
18    }
19}
20#[doc = "need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`vdd_spi_status::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct VDD_SPI_STATUS_SPEC;
22impl crate::RegisterSpec for VDD_SPI_STATUS_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`vdd_spi_status::R`](R) reader structure"]
26impl crate::Readable for VDD_SPI_STATUS_SPEC {}
27#[doc = "`reset()` method sets VDD_SPI_STATUS to value 0"]
28impl crate::Resettable for VDD_SPI_STATUS_SPEC {
29    const RESET_VALUE: u32 = 0;
30}