pub type R = crate::R<IFLrs>;
pub type OfR = crate::BitReader;
pub type UfR = crate::BitReader;
pub type DirchgR = crate::BitReader;
pub type Cc0R = crate::BitReader;
pub type Cc1R = crate::BitReader;
pub type Cc2R = crate::BitReader;
pub type Cc3R = crate::BitReader;
pub type Icbof0R = crate::BitReader;
pub type Icbof1R = crate::BitReader;
pub type Icbof2R = crate::BitReader;
pub type Icbof3R = crate::BitReader;
impl R {
#[inline(always)]
pub fn of(&self) -> OfR {
OfR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn uf(&self) -> UfR {
UfR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn dirchg(&self) -> DirchgR {
DirchgR::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn cc0(&self) -> Cc0R {
Cc0R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn cc1(&self) -> Cc1R {
Cc1R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn cc2(&self) -> Cc2R {
Cc2R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn cc3(&self) -> Cc3R {
Cc3R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn icbof0(&self) -> Icbof0R {
Icbof0R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn icbof1(&self) -> Icbof1R {
Icbof1R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn icbof2(&self) -> Icbof2R {
Icbof2R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn icbof3(&self) -> Icbof3R {
Icbof3R::new(((self.bits >> 11) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IFL")
.field("of", &self.of())
.field("uf", &self.uf())
.field("dirchg", &self.dirchg())
.field("cc0", &self.cc0())
.field("cc1", &self.cc1())
.field("cc2", &self.cc2())
.field("cc3", &self.cc3())
.field("icbof0", &self.icbof0())
.field("icbof1", &self.icbof1())
.field("icbof2", &self.icbof2())
.field("icbof3", &self.icbof3())
.finish()
}
}
pub struct IFLrs;
impl crate::RegisterSpec for IFLrs {
type Ux = u32;
}
impl crate::Readable for IFLrs {}
impl crate::Resettable for IFLrs {}