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