pub type R = crate::R<DMACTX_DLARrs>;
pub type W = crate::W<DMACTX_DLARrs>;
pub type TDESLA_R = crate::FieldReader<u32>;
pub type TDESLA_W<'a, REG> = crate::FieldWriter<'a, REG, 30, u32>;
impl R {
#[inline(always)]
pub fn tdesla(&self) -> TDESLA_R {
TDESLA_R::new((self.bits >> 2) & 0x3fff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DMACTxDLAR").field("tdesla", &self.tdesla()).finish()
}
}
impl W {
#[inline(always)]
pub fn tdesla(&mut self) -> TDESLA_W<DMACTX_DLARrs> {
TDESLA_W::new(self, 2)
}
}
pub struct DMACTX_DLARrs;
impl crate::RegisterSpec for DMACTX_DLARrs {
type Ux = u32;
}
impl crate::Readable for DMACTX_DLARrs {}
impl crate::Writable for DMACTX_DLARrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DMACTX_DLARrs {}