1#[doc = "Register `STIR` writer"]
2pub type W = crate::W<STIR_SPEC>;
3#[doc = "Field `INTID` writer - Interrupt ID of the interrupt to trigger"]
4pub type INTID_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>;
5impl W {
6 #[doc = "Bits 0:8 - Interrupt ID of the interrupt to trigger"]
7 #[inline(always)]
8 pub fn intid(&mut self) -> INTID_W<STIR_SPEC> {
9 INTID_W::new(self, 0)
10 }
11}
12#[doc = "Software Trigger Interrupt Register\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`stir::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct STIR_SPEC;
14impl crate::RegisterSpec for STIR_SPEC {
15 type Ux = u32;
16}
17#[doc = "`write(|w| ..)` method takes [`stir::W`](W) writer structure"]
18impl crate::Writable for STIR_SPEC {
19 type Safety = crate::Unsafe;
20 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
21 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
22}
23#[doc = "`reset()` method sets STIR to value 0"]
24impl crate::Resettable for STIR_SPEC {
25 const RESET_VALUE: u32 = 0;
26}