pub type R = crate::R<DRrs>;
pub type W = crate::W<DRrs>;
pub type DR_R = crate::FieldReader<u32>;
pub type DR_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn dr(&self) -> DR_R {
DR_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DR").field("dr", &self.dr()).finish()
}
}
impl W {
#[inline(always)]
pub fn dr(&mut self) -> DR_W<DRrs> {
DR_W::new(self, 0)
}
}
pub struct DRrs;
impl crate::RegisterSpec for DRrs {
type Ux = u32;
}
impl crate::Readable for DRrs {}
impl crate::Writable for DRrs {
type Safety = crate::Safe;
}
impl crate::Resettable for DRrs {
const RESET_VALUE: u32 = 0xffff_ffff;
}