stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `P0IER` reader
pub type R = crate::R<P0IERrs>;
///Register `P0IER` writer
pub type W = crate::W<P0IERrs>;
///Field `LINEIE` reader - Multi-line capture completed interrupt enable
pub type LINEIE_R = crate::BitReader;
///Field `LINEIE` writer - Multi-line capture completed interrupt enable
pub type LINEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `FRAMEIE` reader - Frame capture completed interrupt enable
pub type FRAMEIE_R = crate::BitReader;
///Field `FRAMEIE` writer - Frame capture completed interrupt enable
pub type FRAMEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `VSYNCIE` reader - VSYNC interrupt enable
pub type VSYNCIE_R = crate::BitReader;
///Field `VSYNCIE` writer - VSYNC interrupt enable
pub type VSYNCIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `LIMITIE` reader - Limit interrupt enable
pub type LIMITIE_R = crate::BitReader;
///Field `LIMITIE` writer - Limit interrupt enable
pub type LIMITIE_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `OVRIE` reader - Overrun interrupt enable
pub type OVRIE_R = crate::BitReader;
///Field `OVRIE` writer - Overrun interrupt enable
pub type OVRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bit 0 - Multi-line capture completed interrupt enable
    #[inline(always)]
    pub fn lineie(&self) -> LINEIE_R {
        LINEIE_R::new((self.bits & 1) != 0)
    }
    ///Bit 1 - Frame capture completed interrupt enable
    #[inline(always)]
    pub fn frameie(&self) -> FRAMEIE_R {
        FRAMEIE_R::new(((self.bits >> 1) & 1) != 0)
    }
    ///Bit 2 - VSYNC interrupt enable
    #[inline(always)]
    pub fn vsyncie(&self) -> VSYNCIE_R {
        VSYNCIE_R::new(((self.bits >> 2) & 1) != 0)
    }
    ///Bit 6 - Limit interrupt enable
    #[inline(always)]
    pub fn limitie(&self) -> LIMITIE_R {
        LIMITIE_R::new(((self.bits >> 6) & 1) != 0)
    }
    ///Bit 7 - Overrun interrupt enable
    #[inline(always)]
    pub fn ovrie(&self) -> OVRIE_R {
        OVRIE_R::new(((self.bits >> 7) & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("P0IER")
            .field("lineie", &self.lineie())
            .field("frameie", &self.frameie())
            .field("vsyncie", &self.vsyncie())
            .field("limitie", &self.limitie())
            .field("ovrie", &self.ovrie())
            .finish()
    }
}
impl W {
    ///Bit 0 - Multi-line capture completed interrupt enable
    #[inline(always)]
    pub fn lineie(&mut self) -> LINEIE_W<P0IERrs> {
        LINEIE_W::new(self, 0)
    }
    ///Bit 1 - Frame capture completed interrupt enable
    #[inline(always)]
    pub fn frameie(&mut self) -> FRAMEIE_W<P0IERrs> {
        FRAMEIE_W::new(self, 1)
    }
    ///Bit 2 - VSYNC interrupt enable
    #[inline(always)]
    pub fn vsyncie(&mut self) -> VSYNCIE_W<P0IERrs> {
        VSYNCIE_W::new(self, 2)
    }
    ///Bit 6 - Limit interrupt enable
    #[inline(always)]
    pub fn limitie(&mut self) -> LIMITIE_W<P0IERrs> {
        LIMITIE_W::new(self, 6)
    }
    ///Bit 7 - Overrun interrupt enable
    #[inline(always)]
    pub fn ovrie(&mut self) -> OVRIE_W<P0IERrs> {
        OVRIE_W::new(self, 7)
    }
}
/**DCMIPP Pipe0 interrupt enable register

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