stm32f1_staging/stm32f101/sdio/
respi1.rs

1///Register `RESPI1` reader
2pub type R = crate::R<RESPI1rs>;
3///Field `CARDSTATUS1` reader - CARDSTATUS1
4pub type CARDSTATUS1_R = crate::FieldReader<u32>;
5impl R {
6    ///Bits 0:31 - CARDSTATUS1
7    #[inline(always)]
8    pub fn cardstatus1(&self) -> CARDSTATUS1_R {
9        CARDSTATUS1_R::new(self.bits)
10    }
11}
12impl core::fmt::Debug for R {
13    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14        f.debug_struct("RESPI1").field("cardstatus1", &self.cardstatus1()).finish()
15    }
16}
17/**Bits 31:0 = CARDSTATUS1
18
19You can [`read`](crate::Reg::read) this register and get [`respi1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F101.html#SDIO:RESPI1)*/
22pub struct RESPI1rs;
23impl crate::RegisterSpec for RESPI1rs {
24    type Ux = u32;
25}
26///`read()` method returns [`respi1::R`](R) reader structure
27impl crate::Readable for RESPI1rs {}
28///`reset()` method sets RESPI1 to value 0
29impl crate::Resettable for RESPI1rs {}