muscab1_pac/dualtimer/
timer1ris.rs1#[doc = "Register `TIMER1RIS` reader"]
2pub type R = crate::R<Timer1risSpec>;
3#[doc = "Field `RIS` reader - Raw Timer Interrupt"]
4pub type RisR = crate::BitReader;
5impl R {
6 #[doc = "Bit 0 - Raw Timer Interrupt"]
7 #[inline(always)]
8 pub fn ris(&self) -> RisR {
9 RisR::new((self.bits & 1) != 0)
10 }
11}
12#[doc = "Timer 1 Raw Interrupt Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`timer1ris::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct Timer1risSpec;
14impl crate::RegisterSpec for Timer1risSpec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`timer1ris::R`](R) reader structure"]
18impl crate::Readable for Timer1risSpec {}
19#[doc = "`reset()` method sets TIMER1RIS to value 0"]
20impl crate::Resettable for Timer1risSpec {
21 const RESET_VALUE: u32 = 0;
22}