stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `LTR1` reader
pub type R = crate::R<LTR1rs>;
///Register `LTR1` writer
pub type W = crate::W<LTR1rs>;
///Field `LTR1` reader - Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy) Note: The software is allowed to write these bits only when ADSTART=0 and JADSTART=0 (which ensures that no conversion is ongoing).
pub type LTR1_R = crate::FieldReader<u32>;
///Field `LTR1` writer - Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy) Note: The software is allowed to write these bits only when ADSTART=0 and JADSTART=0 (which ensures that no conversion is ongoing).
pub type LTR1_W<'a, REG> = crate::FieldWriter<'a, REG, 26, u32, crate::Safe>;
impl R {
    ///Bits 0:25 - Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy) Note: The software is allowed to write these bits only when ADSTART=0 and JADSTART=0 (which ensures that no conversion is ongoing).
    #[inline(always)]
    pub fn ltr1(&self) -> LTR1_R {
        LTR1_R::new(self.bits & 0x03ff_ffff)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LTR1").field("ltr1", &self.ltr1()).finish()
    }
}
impl W {
    ///Bits 0:25 - Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy) Note: The software is allowed to write these bits only when ADSTART=0 and JADSTART=0 (which ensures that no conversion is ongoing).
    #[inline(always)]
    pub fn ltr1(&mut self) -> LTR1_W<LTR1rs> {
        LTR1_W::new(self, 0)
    }
}
/**ADC watchdog threshold register 1

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