pub type R = crate::R<RISRrs>;
pub type INRIS_R = crate::BitReader;
pub type OUTRIS_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn inris(&self) -> INRIS_R {
INRIS_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn outris(&self) -> OUTRIS_R {
OUTRIS_R::new(((self.bits >> 1) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RISR")
.field("outris", &self.outris())
.field("inris", &self.inris())
.finish()
}
}
pub struct RISRrs;
impl crate::RegisterSpec for RISRrs {
type Ux = u32;
}
impl crate::Readable for RISRrs {}
impl crate::Resettable for RISRrs {
const RESET_VALUE: u32 = 0x01;
}