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