pub type R = crate::R<HFIRrs>;
pub type W = crate::W<HFIRrs>;
pub type FRIVL_R = crate::FieldReader<u16>;
pub type FRIVL_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn frivl(&self) -> FRIVL_R {
FRIVL_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("HFIR")
.field("frivl", &self.frivl())
.finish()
}
}
impl W {
#[inline(always)]
pub fn frivl(&mut self) -> FRIVL_W<HFIRrs> {
FRIVL_W::new(self, 0)
}
}
pub struct HFIRrs;
impl crate::RegisterSpec for HFIRrs {
type Ux = u32;
}
impl crate::Readable for HFIRrs {}
impl crate::Writable for HFIRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for HFIRrs {
const RESET_VALUE: u32 = 0xea60;
}