stm32f1_staging/stm32f102/sdio/
resp2.rs

1///Register `RESP2` reader
2pub type R = crate::R<RESP2rs>;
3///Field `CARDSTATUS2` reader - Card Status
4pub type CARDSTATUS2_R = crate::FieldReader<u32>;
5impl R {
6    ///Bits 0:31 - Card Status
7    #[inline(always)]
8    pub fn cardstatus2(&self) -> CARDSTATUS2_R {
9        CARDSTATUS2_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("RESP2").field("cardstatus2", &self.cardstatus2()).finish()
15    }
16}
17/**response 1..4 register
18
19You can [`read`](crate::Reg::read) this register and get [`resp2::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F102.html#SDIO:RESP2)*/
22pub struct RESP2rs;
23impl crate::RegisterSpec for RESP2rs {
24    type Ux = u32;
25}
26///`read()` method returns [`resp2::R`](R) reader structure
27impl crate::Readable for RESP2rs {}
28///`reset()` method sets RESP2 to value 0
29impl crate::Resettable for RESP2rs {}