pub type R = crate::R<OORrs>;
pub type W = crate::W<OORrs>;
pub type LO_R = crate::FieldReader<u16>;
pub type LO_W<'a, REG> = crate::FieldWriter<'a, REG, 14, u16, crate::Safe>;
impl R {
#[inline(always)]
pub fn lo(&self) -> LO_R {
LO_R::new((self.bits & 0x3fff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("OOR").field("lo", &self.lo()).finish()
}
}
impl W {
#[inline(always)]
pub fn lo(&mut self) -> LO_W<OORrs> {
LO_W::new(self, 0)
}
}
pub struct OORrs;
impl crate::RegisterSpec for OORrs {
type Ux = u32;
}
impl crate::Readable for OORrs {}
impl crate::Writable for OORrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for OORrs {}