pub type R = crate::R<DR_10rs>;
pub type DRNL1_R = crate::FieldReader<u16>;
pub type DRNL2_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn drnl1(&self) -> DRNL1_R {
DRNL1_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn drnl2(&self) -> DRNL2_R {
DRNL2_R::new(((self.bits >> 16) & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DR_10")
.field("drnl1", &self.drnl1())
.field("drnl2", &self.drnl2())
.finish()
}
}
pub struct DR_10rs;
impl crate::RegisterSpec for DR_10rs {
type Ux = u32;
}
impl crate::Readable for DR_10rs {}
impl crate::Resettable for DR_10rs {}