pub type R = crate::R<DCNTRrs>;
pub type DATACOUNT_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn datacount(&self) -> DATACOUNT_R {
DATACOUNT_R::new(self.bits & 0x01ff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DCNTR").field("datacount", &self.datacount()).finish()
}
}
pub struct DCNTRrs;
impl crate::RegisterSpec for DCNTRrs {
type Ux = u32;
}
impl crate::Readable for DCNTRrs {}
impl crate::Resettable for DCNTRrs {}