stm32f1_staging/stm32f102/sdio/
resp1.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
///Register `RESP1` reader
pub type R = crate::R<RESP1rs>;
///Field `CARDSTATUS1` reader - Card Status
pub type CARDSTATUS1_R = crate::FieldReader<u32>;
impl R {
    ///Bits 0:31 - Card Status
    #[inline(always)]
    pub fn cardstatus1(&self) -> CARDSTATUS1_R {
        CARDSTATUS1_R::new(self.bits)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("RESP1")
            .field("cardstatus1", &self.cardstatus1())
            .finish()
    }
}
/**response 1..4 register

You can [`read`](crate::Reg::read) this register and get [`resp1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).

See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F102.html#SDIO:RESP1)*/
pub struct RESP1rs;
impl crate::RegisterSpec for RESP1rs {
    type Ux = u32;
}
///`read()` method returns [`resp1::R`](R) reader structure
impl crate::Readable for RESP1rs {}
///`reset()` method sets RESP1 to value 0
impl crate::Resettable for RESP1rs {
    const RESET_VALUE: u32 = 0;
}