stm32f1_staging/stm32f102/sdio/
dcount.rs1pub type R = crate::R<DCOUNTrs>;
3pub type DATACOUNT_R = crate::FieldReader<u32>;
5impl R {
6 #[inline(always)]
8 pub fn datacount(&self) -> DATACOUNT_R {
9 DATACOUNT_R::new(self.bits & 0x01ff_ffff)
10 }
11}
12impl core::fmt::Debug for R {
13 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14 f.debug_struct("DCOUNT").field("datacount", &self.datacount()).finish()
15 }
16}
17pub struct DCOUNTrs;
23impl crate::RegisterSpec for DCOUNTrs {
24 type Ux = u32;
25}
26impl crate::Readable for DCOUNTrs {}
28impl crate::Resettable for DCOUNTrs {}