#[doc = "Register `STIR` writer"]
pub type W = crate::W<StirSpec>;
#[doc = "Field `INTID` writer - Interrupt ID of the interrupt to trigger"]
pub type IntidW<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>;
impl W {
#[doc = "Bits 0:8 - Interrupt ID of the interrupt to trigger"]
#[inline(always)]
#[must_use]
pub fn intid(&mut self) -> IntidW<StirSpec> {
IntidW::new(self, 0)
}
}
#[doc = "Software Trigger Interrupt Register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`stir::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct StirSpec;
impl crate::RegisterSpec for StirSpec {
type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`stir::W`](W) writer structure"]
impl crate::Writable for StirSpec {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets STIR to value 0"]
impl crate::Resettable for StirSpec {
const RESET_VALUE: u32 = 0;
}