pub type R = crate::R<IFrs>;
pub type UfR = crate::BitReader;
pub type OfR = crate::BitReader;
pub type DircngR = crate::BitReader;
pub type AuxofR = crate::BitReader;
pub type TccR = crate::BitReader;
pub type OqsterrR = crate::BitReader;
impl R {
#[inline(always)]
pub fn uf(&self) -> UfR {
UfR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn of(&self) -> OfR {
OfR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn dircng(&self) -> DircngR {
DircngR::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn auxof(&self) -> AuxofR {
AuxofR::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn tcc(&self) -> TccR {
TccR::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn oqsterr(&self) -> OqsterrR {
OqsterrR::new(((self.bits >> 5) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IF")
.field("uf", &self.uf())
.field("of", &self.of())
.field("dircng", &self.dircng())
.field("auxof", &self.auxof())
.field("tcc", &self.tcc())
.field("oqsterr", &self.oqsterr())
.finish()
}
}
pub struct IFrs;
impl crate::RegisterSpec for IFrs {
type Ux = u32;
}
impl crate::Readable for IFrs {}
impl crate::Resettable for IFrs {}