pub type R = crate::R<DMACTX_RLRrs>;
pub type W = crate::W<DMACTX_RLRrs>;
pub type TDRL_R = crate::FieldReader<u16>;
pub type TDRL_W<'a, REG> = crate::FieldWriter<'a, REG, 10, u16>;
impl R {
#[inline(always)]
pub fn tdrl(&self) -> TDRL_R {
TDRL_R::new((self.bits & 0x03ff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DMACTxRLR").field("tdrl", &self.tdrl()).finish()
}
}
impl W {
#[inline(always)]
pub fn tdrl(&mut self) -> TDRL_W<DMACTX_RLRrs> {
TDRL_W::new(self, 0)
}
}
pub struct DMACTX_RLRrs;
impl crate::RegisterSpec for DMACTX_RLRrs {
type Ux = u32;
}
impl crate::Readable for DMACTX_RLRrs {}
impl crate::Writable for DMACTX_RLRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DMACTX_RLRrs {}