efm32pg1b-pac 0.4.3

Peripheral access API for Silicon Labs EFM32PG1B microcontrollers
Documentation
///Register `IFS` writer
pub type W = crate::W<IFSrs>;
///Field `COMP0` writer - Set COMP0 Interrupt Flag
pub type Comp0W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `COMP1` writer - Set COMP1 Interrupt Flag
pub type Comp1W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `UF` writer - Set UF Interrupt Flag
pub type UfW<'a, REG> = crate::BitWriter<'a, REG>;
///Field `REP0` writer - Set REP0 Interrupt Flag
pub type Rep0W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `REP1` writer - Set REP1 Interrupt Flag
pub type Rep1W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<IFSrs> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        write!(f, "(not readable)")
    }
}
impl W {
    ///Bit 0 - Set COMP0 Interrupt Flag
    #[inline(always)]
    pub fn comp0(&mut self) -> Comp0W<'_, IFSrs> {
        Comp0W::new(self, 0)
    }
    ///Bit 1 - Set COMP1 Interrupt Flag
    #[inline(always)]
    pub fn comp1(&mut self) -> Comp1W<'_, IFSrs> {
        Comp1W::new(self, 1)
    }
    ///Bit 2 - Set UF Interrupt Flag
    #[inline(always)]
    pub fn uf(&mut self) -> UfW<'_, IFSrs> {
        UfW::new(self, 2)
    }
    ///Bit 3 - Set REP0 Interrupt Flag
    #[inline(always)]
    pub fn rep0(&mut self) -> Rep0W<'_, IFSrs> {
        Rep0W::new(self, 3)
    }
    ///Bit 4 - Set REP1 Interrupt Flag
    #[inline(always)]
    pub fn rep1(&mut self) -> Rep1W<'_, IFSrs> {
        Rep1W::new(self, 4)
    }
}
///Interrupt Flag Set Register
///
///You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ifs::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
pub struct IFSrs;
impl crate::RegisterSpec for IFSrs {
    type Ux = u32;
}
///`write(|w| ..)` method takes [`ifs::W`](W) writer structure
impl crate::Writable for IFSrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets IFS to value 0
impl crate::Resettable for IFSrs {}