pub type R = crate::R<SYNCBUSYrs>;
pub type Lfaclken0R = crate::BitReader;
pub type Lfapresc0R = crate::BitReader;
pub type Lfbclken0R = crate::BitReader;
pub type Lfbpresc0R = crate::BitReader;
pub type Lfeclken0R = crate::BitReader;
pub type Lfepresc0R = crate::BitReader;
pub type HfrcobsyR = crate::BitReader;
pub type AuxhfrcobsyR = crate::BitReader;
pub type LfrcobsyR = crate::BitReader;
pub type LfrcovrefbsyR = crate::BitReader;
pub type HfxobsyR = crate::BitReader;
pub type LfxobsyR = crate::BitReader;
impl R {
#[inline(always)]
pub fn lfaclken0(&self) -> Lfaclken0R {
Lfaclken0R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn lfapresc0(&self) -> Lfapresc0R {
Lfapresc0R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn lfbclken0(&self) -> Lfbclken0R {
Lfbclken0R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn lfbpresc0(&self) -> Lfbpresc0R {
Lfbpresc0R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn lfeclken0(&self) -> Lfeclken0R {
Lfeclken0R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn lfepresc0(&self) -> Lfepresc0R {
Lfepresc0R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn hfrcobsy(&self) -> HfrcobsyR {
HfrcobsyR::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn auxhfrcobsy(&self) -> AuxhfrcobsyR {
AuxhfrcobsyR::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn lfrcobsy(&self) -> LfrcobsyR {
LfrcobsyR::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn lfrcovrefbsy(&self) -> LfrcovrefbsyR {
LfrcovrefbsyR::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn hfxobsy(&self) -> HfxobsyR {
HfxobsyR::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn lfxobsy(&self) -> LfxobsyR {
LfxobsyR::new(((self.bits >> 29) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SYNCBUSY")
.field("lfaclken0", &self.lfaclken0())
.field("lfapresc0", &self.lfapresc0())
.field("lfbclken0", &self.lfbclken0())
.field("lfbpresc0", &self.lfbpresc0())
.field("lfeclken0", &self.lfeclken0())
.field("lfepresc0", &self.lfepresc0())
.field("hfrcobsy", &self.hfrcobsy())
.field("auxhfrcobsy", &self.auxhfrcobsy())
.field("lfrcobsy", &self.lfrcobsy())
.field("lfrcovrefbsy", &self.lfrcovrefbsy())
.field("hfxobsy", &self.hfxobsy())
.field("lfxobsy", &self.lfxobsy())
.finish()
}
}
pub struct SYNCBUSYrs;
impl crate::RegisterSpec for SYNCBUSYrs {
type Ux = u32;
}
impl crate::Readable for SYNCBUSYrs {}
impl crate::Resettable for SYNCBUSYrs {}