stm32f1_staging/stm32f102/sdio/
resp4.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 `RESP4` reader
pub type R = crate::R<RESP4rs>;
///Field `CARDSTATUS4` reader - Card Status
pub type CARDSTATUS4_R = crate::FieldReader<u32>;
impl R {
    ///Bits 0:31 - Card Status
    #[inline(always)]
    pub fn cardstatus4(&self) -> CARDSTATUS4_R {
        CARDSTATUS4_R::new(self.bits)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("RESP4")
            .field("cardstatus4", &self.cardstatus4())
            .finish()
    }
}
/**response 1..4 register

You can [`read`](crate::Reg::read) this register and get [`resp4::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:RESP4)*/
pub struct RESP4rs;
impl crate::RegisterSpec for RESP4rs {
    type Ux = u32;
}
///`read()` method returns [`resp4::R`](R) reader structure
impl crate::Readable for RESP4rs {}
///`reset()` method sets RESP4 to value 0
impl crate::Resettable for RESP4rs {
    const RESET_VALUE: u32 = 0;
}