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