stm32mp1 0.16.0

Device support crates for STM32MP1 devices
Documentation
///Register `BPCR` reader
pub type R = crate::R<BPCRrs>;
///Register `BPCR` writer
pub type W = crate::W<BPCRrs>;
///Field `AVBP` reader - AVBP
pub type AVBP_R = crate::FieldReader<u16>;
///Field `AVBP` writer - AVBP
pub type AVBP_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>;
///Field `AHBP` reader - AHBP
pub type AHBP_R = crate::FieldReader<u16>;
///Field `AHBP` writer - AHBP
pub type AHBP_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>;
impl R {
    ///Bits 0:11 - AVBP
    #[inline(always)]
    pub fn avbp(&self) -> AVBP_R {
        AVBP_R::new((self.bits & 0x0fff) as u16)
    }
    ///Bits 16:27 - AHBP
    #[inline(always)]
    pub fn ahbp(&self) -> AHBP_R {
        AHBP_R::new(((self.bits >> 16) & 0x0fff) as u16)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("BPCR")
            .field("avbp", &self.avbp())
            .field("ahbp", &self.ahbp())
            .finish()
    }
}
impl W {
    ///Bits 0:11 - AVBP
    #[inline(always)]
    pub fn avbp(&mut self) -> AVBP_W<BPCRrs> {
        AVBP_W::new(self, 0)
    }
    ///Bits 16:27 - AHBP
    #[inline(always)]
    pub fn ahbp(&mut self) -> AHBP_W<BPCRrs> {
        AHBP_W::new(self, 16)
    }
}
/**This register defines the accumulated number of horizontal synchronization and back porch pixels minus 1 (HSYNCwidth+HBP-1) and the accumulated number of vertical synchronization and back porch lines minus 1 (VSYNCheight+VBP-1). Refer to Figure274 and Section36.4: LTDC programmable parameters for an example of configuration.

You can [`read`](crate::Reg::read) this register and get [`bpcr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`bpcr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

See register [structure](https://stm32-rs.github.io/stm32-rs/STM32MP157.html#LTDC:BPCR)*/
pub struct BPCRrs;
impl crate::RegisterSpec for BPCRrs {
    type Ux = u32;
}
///`read()` method returns [`bpcr::R`](R) reader structure
impl crate::Readable for BPCRrs {}
///`write(|w| ..)` method takes [`bpcr::W`](W) writer structure
impl crate::Writable for BPCRrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets BPCR to value 0
impl crate::Resettable for BPCRrs {}