stm32f1_staging/stm32f102/sdio/
resp4.rs

1///Register `RESP4` reader
2pub type R = crate::R<RESP4rs>;
3///Field `CARDSTATUS4` reader - Card Status
4pub type CARDSTATUS4_R = crate::FieldReader<u32>;
5impl R {
6    ///Bits 0:31 - Card Status
7    #[inline(always)]
8    pub fn cardstatus4(&self) -> CARDSTATUS4_R {
9        CARDSTATUS4_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("RESP4").field("cardstatus4", &self.cardstatus4()).finish()
15    }
16}
17/**response 1..4 register
18
19You can [`read`](crate::Reg::read) this register and get [`resp4::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:RESP4)*/
22pub struct RESP4rs;
23impl crate::RegisterSpec for RESP4rs {
24    type Ux = u32;
25}
26///`read()` method returns [`resp4::R`](R) reader structure
27impl crate::Readable for RESP4rs {}
28///`reset()` method sets RESP4 to value 0
29impl crate::Resettable for RESP4rs {}