stm32f4/stm32f401/sdio/
respcmd.rs

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