gd32f4pac 0.9.2

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