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