stm32g0 0.16.0

Device support crates for STM32G0 devices
Documentation
///Register `WUTR` reader
pub type R = crate::R<WUTRrs>;
///Register `WUTR` writer
pub type W = crate::W<WUTRrs>;
///Field `WUT` reader - Wakeup auto-reload value bits
pub type WUT_R = crate::FieldReader<u16>;
///Field `WUT` writer - Wakeup auto-reload value bits
pub type WUT_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
impl R {
    ///Bits 0:15 - Wakeup auto-reload value bits
    #[inline(always)]
    pub fn wut(&self) -> WUT_R {
        WUT_R::new((self.bits & 0xffff) as u16)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WUTR").field("wut", &self.wut()).finish()
    }
}
impl W {
    ///Bits 0:15 - Wakeup auto-reload value bits
    #[inline(always)]
    pub fn wut(&mut self) -> WUT_W<WUTRrs> {
        WUT_W::new(self, 0)
    }
}
/**wakeup timer register

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