stm32f1 0.16.0

Device support crates for STM32F1 devices
Documentation
///Register `LTR` reader
pub type R = crate::R<LTRrs>;
///Register `LTR` writer
pub type W = crate::W<LTRrs>;
///Field `LT` reader - Analog watchdog lower threshold
pub type LT_R = crate::FieldReader<u16>;
///Field `LT` writer - Analog watchdog lower threshold
pub type LT_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16, crate::Safe>;
impl R {
    ///Bits 0:11 - Analog watchdog lower threshold
    #[inline(always)]
    pub fn lt(&self) -> LT_R {
        LT_R::new((self.bits & 0x0fff) as u16)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LTR").field("lt", &self.lt()).finish()
    }
}
impl W {
    ///Bits 0:11 - Analog watchdog lower threshold
    #[inline(always)]
    pub fn lt(&mut self) -> LT_W<LTRrs> {
        LT_W::new(self, 0)
    }
}
/**watchdog lower threshold register

You can [`read`](crate::Reg::read) this register and get [`ltr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ltr::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/STM32F102.html#ADC1:LTR)*/
pub struct LTRrs;
impl crate::RegisterSpec for LTRrs {
    type Ux = u32;
}
///`read()` method returns [`ltr::R`](R) reader structure
impl crate::Readable for LTRrs {}
///`write(|w| ..)` method takes [`ltr::W`](W) writer structure
impl crate::Writable for LTRrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets LTR to value 0
impl crate::Resettable for LTRrs {}