stm32f1_staging/stm32f101/sdio/
respcmd.rspub type R = crate::R<RESPCMDrs>;
pub type RESPCMD_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn respcmd(&self) -> RESPCMD_R {
RESPCMD_R::new((self.bits & 0x3f) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RESPCMD")
.field("respcmd", &self.respcmd())
.finish()
}
}
pub struct RESPCMDrs;
impl crate::RegisterSpec for RESPCMDrs {
type Ux = u32;
}
impl crate::Readable for RESPCMDrs {}
impl crate::Resettable for RESPCMDrs {
const RESET_VALUE: u32 = 0;
}