efm32pg1b-pac 0.4.3

Peripheral access API for Silicon Labs EFM32PG1B microcontrollers
Documentation
///Register `LFACLKEN0` reader
pub type R = crate::R<LFACLKEN0rs>;
///Register `LFACLKEN0` writer
pub type W = crate::W<LFACLKEN0rs>;
///Field `LETIMER0` reader - Low Energy Timer 0 Clock Enable
pub type Letimer0R = crate::BitReader;
///Field `LETIMER0` writer - Low Energy Timer 0 Clock Enable
pub type Letimer0W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bit 0 - Low Energy Timer 0 Clock Enable
    #[inline(always)]
    pub fn letimer0(&self) -> Letimer0R {
        Letimer0R::new((self.bits & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LFACLKEN0")
            .field("letimer0", &self.letimer0())
            .finish()
    }
}
impl W {
    ///Bit 0 - Low Energy Timer 0 Clock Enable
    #[inline(always)]
    pub fn letimer0(&mut self) -> Letimer0W<'_, LFACLKEN0rs> {
        Letimer0W::new(self, 0)
    }
}
///Low Frequency a Clock Enable Register 0 (Async Reg)
///
///You can [`read`](crate::Reg::read) this register and get [`lfaclken0::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lfaclken0::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
pub struct LFACLKEN0rs;
impl crate::RegisterSpec for LFACLKEN0rs {
    type Ux = u32;
}
///`read()` method returns [`lfaclken0::R`](R) reader structure
impl crate::Readable for LFACLKEN0rs {}
///`write(|w| ..)` method takes [`lfaclken0::W`](W) writer structure
impl crate::Writable for LFACLKEN0rs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets LFACLKEN0 to value 0
impl crate::Resettable for LFACLKEN0rs {}