stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `CALFACT2` reader
pub type R = crate::R<CALFACT2rs>;
///Register `CALFACT2` writer
pub type W = crate::W<CALFACT2rs>;
///Field `LINCALFACT` reader - Linearity Calibration Factor
pub type LINCALFACT_R = crate::FieldReader<u32>;
///Field `LINCALFACT` writer - Linearity Calibration Factor
pub type LINCALFACT_W<'a, REG> = crate::FieldWriter<'a, REG, 30, u32, crate::Safe>;
impl R {
    ///Bits 0:29 - Linearity Calibration Factor
    #[inline(always)]
    pub fn lincalfact(&self) -> LINCALFACT_R {
        LINCALFACT_R::new(self.bits & 0x3fff_ffff)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("CALFACT2").field("lincalfact", &self.lincalfact()).finish()
    }
}
impl W {
    ///Bits 0:29 - Linearity Calibration Factor
    #[inline(always)]
    pub fn lincalfact(&mut self) -> LINCALFACT_W<CALFACT2rs> {
        LINCALFACT_W::new(self, 0)
    }
}
/**ADC Calibration Factor register 2

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