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