stm32f4/stm32f413/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")
15 .field("datacount", &self.datacount())
16 .finish()
17 }
18}
19pub struct DCOUNTrs;
25impl crate::RegisterSpec for DCOUNTrs {
26 type Ux = u32;
27}
28impl crate::Readable for DCOUNTrs {}
30impl crate::Resettable for DCOUNTrs {}