stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `WIER` reader
pub type R = crate::R<WIERrs>;
///Register `WIER` writer
pub type W = crate::W<WIERrs>;
///Field `TEIE` reader - Tearing effect interrupt enable
pub type TEIE_R = crate::BitReader;
///Field `TEIE` writer - Tearing effect interrupt enable
pub type TEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `ERIE` reader - End of refresh interrupt enable
pub type ERIE_R = crate::BitReader;
///Field `ERIE` writer - End of refresh interrupt enable
pub type ERIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `PLLLIE` reader - PLL lock interrupt enable
pub type PLLLIE_R = crate::BitReader;
///Field `PLLLIE` writer - PLL lock interrupt enable
pub type PLLLIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `PLLUIE` reader - PLL unlock interrupt enable
pub type PLLUIE_R = crate::BitReader;
///Field `PLLUIE` writer - PLL unlock interrupt enable
pub type PLLUIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `RRIE` reader - Regulator ready interrupt enable
pub type RRIE_R = crate::BitReader;
///Field `RRIE` writer - Regulator ready interrupt enable
pub type RRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bit 0 - Tearing effect interrupt enable
    #[inline(always)]
    pub fn teie(&self) -> TEIE_R {
        TEIE_R::new((self.bits & 1) != 0)
    }
    ///Bit 1 - End of refresh interrupt enable
    #[inline(always)]
    pub fn erie(&self) -> ERIE_R {
        ERIE_R::new(((self.bits >> 1) & 1) != 0)
    }
    ///Bit 9 - PLL lock interrupt enable
    #[inline(always)]
    pub fn plllie(&self) -> PLLLIE_R {
        PLLLIE_R::new(((self.bits >> 9) & 1) != 0)
    }
    ///Bit 10 - PLL unlock interrupt enable
    #[inline(always)]
    pub fn plluie(&self) -> PLLUIE_R {
        PLLUIE_R::new(((self.bits >> 10) & 1) != 0)
    }
    ///Bit 13 - Regulator ready interrupt enable
    #[inline(always)]
    pub fn rrie(&self) -> RRIE_R {
        RRIE_R::new(((self.bits >> 13) & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WIER")
            .field("teie", &self.teie())
            .field("erie", &self.erie())
            .field("plllie", &self.plllie())
            .field("plluie", &self.plluie())
            .field("rrie", &self.rrie())
            .finish()
    }
}
impl W {
    ///Bit 0 - Tearing effect interrupt enable
    #[inline(always)]
    pub fn teie(&mut self) -> TEIE_W<WIERrs> {
        TEIE_W::new(self, 0)
    }
    ///Bit 1 - End of refresh interrupt enable
    #[inline(always)]
    pub fn erie(&mut self) -> ERIE_W<WIERrs> {
        ERIE_W::new(self, 1)
    }
    ///Bit 9 - PLL lock interrupt enable
    #[inline(always)]
    pub fn plllie(&mut self) -> PLLLIE_W<WIERrs> {
        PLLLIE_W::new(self, 9)
    }
    ///Bit 10 - PLL unlock interrupt enable
    #[inline(always)]
    pub fn plluie(&mut self) -> PLLUIE_W<WIERrs> {
        PLLUIE_W::new(self, 10)
    }
    ///Bit 13 - Regulator ready interrupt enable
    #[inline(always)]
    pub fn rrie(&mut self) -> RRIE_W<WIERrs> {
        RRIE_W::new(self, 13)
    }
}
/**DSI wrapper interrupt enable register

You can [`read`](crate::Reg::read) this register and get [`wier::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wier::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct WIERrs;
impl crate::RegisterSpec for WIERrs {
    type Ux = u32;
}
///`read()` method returns [`wier::R`](R) reader structure
impl crate::Readable for WIERrs {}
///`write(|w| ..)` method takes [`wier::W`](W) writer structure
impl crate::Writable for WIERrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets WIER to value 0
impl crate::Resettable for WIERrs {}