pub type R = crate::R<DR8rs>;
pub type W = crate::W<DR8rs>;
pub type DR_R = crate::FieldReader;
pub type DR_W<'a, REG> = crate::FieldWriter<'a, REG, 8, u8, 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("DR8").field("dr", &self.dr()).finish()
}
}
impl W {
#[inline(always)]
pub fn dr(&mut self) -> DR_W<DR8rs> {
DR_W::new(self, 0)
}
}
pub struct DR8rs;
impl crate::RegisterSpec for DR8rs {
type Ux = u8;
}
impl crate::Readable for DR8rs {}
impl crate::Writable for DR8rs {
type Safety = crate::Safe;
}
impl crate::Resettable for DR8rs {}