pub type R = crate::R<DMACRX_IWTRrs>;
pub type W = crate::W<DMACRX_IWTRrs>;
pub type RWT_R = crate::FieldReader;
pub type RWT_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn rwt(&self) -> RWT_R {
RWT_R::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DMACRxIWTR").field("rwt", &self.rwt()).finish()
}
}
impl W {
#[inline(always)]
pub fn rwt(&mut self) -> RWT_W<DMACRX_IWTRrs> {
RWT_W::new(self, 0)
}
}
pub struct DMACRX_IWTRrs;
impl crate::RegisterSpec for DMACRX_IWTRrs {
type Ux = u32;
}
impl crate::Readable for DMACRX_IWTRrs {}
impl crate::Writable for DMACRX_IWTRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DMACRX_IWTRrs {}