pub type R = crate::R<DR8rs>;
pub type W = crate::W<DR8rs>;
pub type DR8_R = crate::FieldReader;
pub type DR8_W<'a, REG> = crate::FieldWriter<'a, REG, 8, u8, crate::Safe>;
impl R {
#[inline(always)]
pub fn dr8(&self) -> DR8_R {
DR8_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("dr8", &self.dr8()).finish()
}
}
impl W {
#[inline(always)]
pub fn dr8(&mut self) -> DR8_W<DR8rs> {
DR8_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 {
const RESET_VALUE: u8 = 0xff;
}