#[doc = "Reader of register SRIS"]
pub type R = crate::R<u32, super::SRIS>;
#[doc = "Reader of field `DATARIS`"]
pub type DATARIS_R = crate::R<bool, bool>;
#[doc = "Reader of field `STARTRIS`"]
pub type STARTRIS_R = crate::R<bool, bool>;
#[doc = "Reader of field `STOPRIS`"]
pub type STOPRIS_R = crate::R<bool, bool>;
impl R {
#[doc = "Bit 0 - Data Raw Interrupt Status"]
#[inline(always)]
pub fn dataris(&self) -> DATARIS_R {
DATARIS_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Start Condition Raw Interrupt Status"]
#[inline(always)]
pub fn startris(&self) -> STARTRIS_R {
STARTRIS_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Stop Condition Raw Interrupt Status"]
#[inline(always)]
pub fn stopris(&self) -> STOPRIS_R {
STOPRIS_R::new(((self.bits >> 2) & 0x01) != 0)
}
}