gd32f4pac 0.9.2

Device support crate for GD32F4 devices
Documentation
#[doc = "Register `CH1M1ADDR` reader"]
pub type R = crate::R<Ch1m1addrSpec>;
#[doc = "Register `CH1M1ADDR` writer"]
pub type W = crate::W<Ch1m1addrSpec>;
#[doc = "Field `M1ADDR` reader - Memory 1 base address"]
pub type M1addrR = crate::FieldReader<u32>;
#[doc = "Field `M1ADDR` writer - Memory 1 base address"]
pub type M1addrW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - Memory 1 base address"]
    #[inline(always)]
    pub fn m1addr(&self) -> M1addrR {
        M1addrR::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - Memory 1 base address"]
    #[inline(always)]
    pub fn m1addr(&mut self) -> M1addrW<Ch1m1addrSpec> {
        M1addrW::new(self, 0)
    }
}
#[doc = "Channel 1 memory 1 base address register\n\nYou can [`read`](crate::Reg::read) this register and get [`ch1m1addr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ch1m1addr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Ch1m1addrSpec;
impl crate::RegisterSpec for Ch1m1addrSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ch1m1addr::R`](R) reader structure"]
impl crate::Readable for Ch1m1addrSpec {}
#[doc = "`write(|w| ..)` method takes [`ch1m1addr::W`](W) writer structure"]
impl crate::Writable for Ch1m1addrSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets CH1M1ADDR to value 0"]
impl crate::Resettable for Ch1m1addrSpec {}