mik32-pac 1.1.0

Peripheral access crate for the MIK32 Amur (К1948ВК018) RISC-V microcontroller
Documentation
#[doc = "Register `RRTC_REG0` reader"]
pub type R = crate::R<RrtcReg0Spec>;
#[doc = "Register `RRTC_REG0` writer"]
pub type W = crate::W<RrtcReg0Spec>;
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        write!(f, "{}", self.bits())
    }
}
impl W {}
#[doc = "Регистры общего назначения REG0\n\nYou can [`read`](crate::Reg::read) this register and get [`rrtc_reg0::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rrtc_reg0::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RrtcReg0Spec;
impl crate::RegisterSpec for RrtcReg0Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`rrtc_reg0::R`](R) reader structure"]
impl crate::Readable for RrtcReg0Spec {}
#[doc = "`write(|w| ..)` method takes [`rrtc_reg0::W`](W) writer structure"]
impl crate::Writable for RrtcReg0Spec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets RRTC_REG0 to value 0"]
impl crate::Resettable for RrtcReg0Spec {}