efm32pg1b-pac 0.4.3

Peripheral access API for Silicon Labs EFM32PG1B microcontrollers
Documentation
///Register `SYNCBUSY` reader
pub type R = crate::R<SYNCBUSYrs>;
///Field `LFACLKEN0` reader - Low Frequency a Clock Enable 0 Busy
pub type Lfaclken0R = crate::BitReader;
///Field `LFAPRESC0` reader - Low Frequency a Prescaler 0 Busy
pub type Lfapresc0R = crate::BitReader;
///Field `LFBCLKEN0` reader - Low Frequency B Clock Enable 0 Busy
pub type Lfbclken0R = crate::BitReader;
///Field `LFBPRESC0` reader - Low Frequency B Prescaler 0 Busy
pub type Lfbpresc0R = crate::BitReader;
///Field `LFECLKEN0` reader - Low Frequency E Clock Enable 0 Busy
pub type Lfeclken0R = crate::BitReader;
///Field `LFEPRESC0` reader - Low Frequency E Prescaler 0 Busy
pub type Lfepresc0R = crate::BitReader;
///Field `HFRCOBSY` reader - HFRCO Busy
pub type HfrcobsyR = crate::BitReader;
///Field `AUXHFRCOBSY` reader - AUXHFRCO Busy
pub type AuxhfrcobsyR = crate::BitReader;
///Field `LFRCOBSY` reader - LFRCO Busy
pub type LfrcobsyR = crate::BitReader;
///Field `LFRCOVREFBSY` reader - LFRCO VREF Busy
pub type LfrcovrefbsyR = crate::BitReader;
///Field `HFXOBSY` reader - HFXO Busy
pub type HfxobsyR = crate::BitReader;
///Field `LFXOBSY` reader - LFXO Busy
pub type LfxobsyR = crate::BitReader;
impl R {
    ///Bit 0 - Low Frequency a Clock Enable 0 Busy
    #[inline(always)]
    pub fn lfaclken0(&self) -> Lfaclken0R {
        Lfaclken0R::new((self.bits & 1) != 0)
    }
    ///Bit 2 - Low Frequency a Prescaler 0 Busy
    #[inline(always)]
    pub fn lfapresc0(&self) -> Lfapresc0R {
        Lfapresc0R::new(((self.bits >> 2) & 1) != 0)
    }
    ///Bit 4 - Low Frequency B Clock Enable 0 Busy
    #[inline(always)]
    pub fn lfbclken0(&self) -> Lfbclken0R {
        Lfbclken0R::new(((self.bits >> 4) & 1) != 0)
    }
    ///Bit 6 - Low Frequency B Prescaler 0 Busy
    #[inline(always)]
    pub fn lfbpresc0(&self) -> Lfbpresc0R {
        Lfbpresc0R::new(((self.bits >> 6) & 1) != 0)
    }
    ///Bit 16 - Low Frequency E Clock Enable 0 Busy
    #[inline(always)]
    pub fn lfeclken0(&self) -> Lfeclken0R {
        Lfeclken0R::new(((self.bits >> 16) & 1) != 0)
    }
    ///Bit 18 - Low Frequency E Prescaler 0 Busy
    #[inline(always)]
    pub fn lfepresc0(&self) -> Lfepresc0R {
        Lfepresc0R::new(((self.bits >> 18) & 1) != 0)
    }
    ///Bit 24 - HFRCO Busy
    #[inline(always)]
    pub fn hfrcobsy(&self) -> HfrcobsyR {
        HfrcobsyR::new(((self.bits >> 24) & 1) != 0)
    }
    ///Bit 25 - AUXHFRCO Busy
    #[inline(always)]
    pub fn auxhfrcobsy(&self) -> AuxhfrcobsyR {
        AuxhfrcobsyR::new(((self.bits >> 25) & 1) != 0)
    }
    ///Bit 26 - LFRCO Busy
    #[inline(always)]
    pub fn lfrcobsy(&self) -> LfrcobsyR {
        LfrcobsyR::new(((self.bits >> 26) & 1) != 0)
    }
    ///Bit 27 - LFRCO VREF Busy
    #[inline(always)]
    pub fn lfrcovrefbsy(&self) -> LfrcovrefbsyR {
        LfrcovrefbsyR::new(((self.bits >> 27) & 1) != 0)
    }
    ///Bit 28 - HFXO Busy
    #[inline(always)]
    pub fn hfxobsy(&self) -> HfxobsyR {
        HfxobsyR::new(((self.bits >> 28) & 1) != 0)
    }
    ///Bit 29 - LFXO Busy
    #[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()
    }
}
///Synchronization Busy Register
///
///You can [`read`](crate::Reg::read) this register and get [`syncbusy::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
pub struct SYNCBUSYrs;
impl crate::RegisterSpec for SYNCBUSYrs {
    type Ux = u32;
}
///`read()` method returns [`syncbusy::R`](R) reader structure
impl crate::Readable for SYNCBUSYrs {}
///`reset()` method sets SYNCBUSY to value 0
impl crate::Resettable for SYNCBUSYrs {}