nuc1xx/int/irq22_src.rs
1#[doc = "Reader of register IRQ22_SRC"]
2pub type R = crate::R<u32, super::IRQ22_SRC>;
3#[doc = "Reader of field `INT_SRC`"]
4pub type INT_SRC_R = crate::R<u8, u8>;
5impl R {
6 #[doc = "Bits 0:2 - Reserved"]
7 #[inline(always)]
8 pub fn int_src(&self) -> INT_SRC_R {
9 INT_SRC_R::new((self.bits & 0x07) as u8)
10 }
11}