pub type R = crate::R<FGORrs>;
pub type W = crate::W<FGORrs>;
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("FGOR").field("lo", &self.lo()).finish()
}
}
impl W {
#[inline(always)]
pub fn lo(&mut self) -> LO_W<FGORrs> {
LO_W::new(self, 0)
}
}
pub struct FGORrs;
impl crate::RegisterSpec for FGORrs {
type Ux = u32;
}
impl crate::Readable for FGORrs {}
impl crate::Writable for FGORrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for FGORrs {}