#[doc = "Reader of register ISR"]
pub type R = crate::R<u32, super::ISR>;
#[doc = "Reader of field `DRDY`"]
pub type DRDY_R = crate::R<bool, bool>;
#[doc = "Reader of field `OVRE`"]
pub type OVRE_R = crate::R<bool, bool>;
impl R {
#[doc = "Bit 0 - Data Ready Interrupt Status"]
#[inline(always)]
pub fn drdy(&self) -> DRDY_R {
DRDY_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Overrun Error Interrupt Status"]
#[inline(always)]
pub fn ovre(&self) -> OVRE_R {
OVRE_R::new(((self.bits >> 1) & 0x01) != 0)
}
}