pub type R = crate::R<IDRrs>;
pub type IDR0_R = crate::BitReader;
pub type IDR1_R = crate::BitReader;
pub type IDR2_R = crate::BitReader;
pub type IDR3_R = crate::BitReader;
pub type IDR4_R = crate::BitReader;
pub type IDR5_R = crate::BitReader;
pub type IDR6_R = crate::BitReader;
pub type IDR7_R = crate::BitReader;
pub type IDR8_R = crate::BitReader;
pub type IDR9_R = crate::BitReader;
pub type IDR10_R = crate::BitReader;
pub type IDR11_R = crate::BitReader;
pub type IDR12_R = crate::BitReader;
pub type IDR13_R = crate::BitReader;
pub type IDR14_R = crate::BitReader;
pub type IDR15_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn idr0(&self) -> IDR0_R {
IDR0_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn idr1(&self) -> IDR1_R {
IDR1_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn idr2(&self) -> IDR2_R {
IDR2_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn idr3(&self) -> IDR3_R {
IDR3_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn idr4(&self) -> IDR4_R {
IDR4_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn idr5(&self) -> IDR5_R {
IDR5_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn idr6(&self) -> IDR6_R {
IDR6_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn idr7(&self) -> IDR7_R {
IDR7_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn idr8(&self) -> IDR8_R {
IDR8_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn idr9(&self) -> IDR9_R {
IDR9_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn idr10(&self) -> IDR10_R {
IDR10_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn idr11(&self) -> IDR11_R {
IDR11_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn idr12(&self) -> IDR12_R {
IDR12_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn idr13(&self) -> IDR13_R {
IDR13_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn idr14(&self) -> IDR14_R {
IDR14_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn idr15(&self) -> IDR15_R {
IDR15_R::new(((self.bits >> 15) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IDR")
.field("idr0", &self.idr0())
.field("idr1", &self.idr1())
.field("idr2", &self.idr2())
.field("idr3", &self.idr3())
.field("idr4", &self.idr4())
.field("idr5", &self.idr5())
.field("idr6", &self.idr6())
.field("idr7", &self.idr7())
.field("idr8", &self.idr8())
.field("idr9", &self.idr9())
.field("idr10", &self.idr10())
.field("idr11", &self.idr11())
.field("idr12", &self.idr12())
.field("idr13", &self.idr13())
.field("idr14", &self.idr14())
.field("idr15", &self.idr15())
.finish()
}
}
pub struct IDRrs;
impl crate::RegisterSpec for IDRrs {
type Ux = u32;
}
impl crate::Readable for IDRrs {}
impl crate::Resettable for IDRrs {}