pub type R = crate::R<DSTrs>;
pub type W = crate::W<DSTrs>;
pub type DstaddrR = crate::FieldReader<u32>;
pub type DstaddrW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn dstaddr(&self) -> DstaddrR {
DstaddrR::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DST")
.field("dstaddr", &self.dstaddr())
.finish()
}
}
impl W {
#[inline(always)]
pub fn dstaddr(&mut self) -> DstaddrW<'_, DSTrs> {
DstaddrW::new(self, 0)
}
}
pub struct DSTrs;
impl crate::RegisterSpec for DSTrs {
type Ux = u32;
}
impl crate::Readable for DSTrs {}
impl crate::Writable for DSTrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DSTrs {}