pub type R = crate::R<CIFRrs>;
pub type LSIRDYF_R = crate::BitReader;
pub type LSERDYF_R = crate::BitReader;
pub type HSIRDYF_R = crate::BitReader;
pub type HSERDYF_R = crate::BitReader;
pub type PLLRDYF_R = crate::BitReader;
pub type CSSF_R = crate::BitReader;
pub type LSECSSF_R = crate::BitReader;
pub type HSI48RDYF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn lsirdyf(&self) -> LSIRDYF_R {
LSIRDYF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn lserdyf(&self) -> LSERDYF_R {
LSERDYF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn hsirdyf(&self) -> HSIRDYF_R {
HSIRDYF_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn hserdyf(&self) -> HSERDYF_R {
HSERDYF_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn pllrdyf(&self) -> PLLRDYF_R {
PLLRDYF_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn cssf(&self) -> CSSF_R {
CSSF_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn lsecssf(&self) -> LSECSSF_R {
LSECSSF_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn hsi48rdyf(&self) -> HSI48RDYF_R {
HSI48RDYF_R::new(((self.bits >> 10) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CIFR")
.field("lsirdyf", &self.lsirdyf())
.field("lserdyf", &self.lserdyf())
.field("hsirdyf", &self.hsirdyf())
.field("hserdyf", &self.hserdyf())
.field("pllrdyf", &self.pllrdyf())
.field("cssf", &self.cssf())
.field("lsecssf", &self.lsecssf())
.field("hsi48rdyf", &self.hsi48rdyf())
.finish()
}
}
pub struct CIFRrs;
impl crate::RegisterSpec for CIFRrs {
type Ux = u32;
}
impl crate::Readable for CIFRrs {}
impl crate::Resettable for CIFRrs {}