pub type R = crate::R<NDAT2rs>;
pub type W = crate::W<NDAT2rs>;
pub type ND32_R = crate::BitReader;
pub type ND32_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND33_R = crate::BitReader;
pub type ND33_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND34_R = crate::BitReader;
pub type ND34_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND35_R = crate::BitReader;
pub type ND35_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND36_R = crate::BitReader;
pub type ND36_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND37_R = crate::BitReader;
pub type ND37_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND38_R = crate::BitReader;
pub type ND38_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND39_R = crate::BitReader;
pub type ND39_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND40_R = crate::BitReader;
pub type ND40_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND41_R = crate::BitReader;
pub type ND41_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND42_R = crate::BitReader;
pub type ND42_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND43_R = crate::BitReader;
pub type ND43_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND44_R = crate::BitReader;
pub type ND44_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND45_R = crate::BitReader;
pub type ND45_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND46_R = crate::BitReader;
pub type ND46_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND47_R = crate::BitReader;
pub type ND47_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND48_R = crate::BitReader;
pub type ND48_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND49_R = crate::BitReader;
pub type ND49_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND50_R = crate::BitReader;
pub type ND50_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND51_R = crate::BitReader;
pub type ND51_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND52_R = crate::BitReader;
pub type ND52_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND53_R = crate::BitReader;
pub type ND53_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND54_R = crate::BitReader;
pub type ND54_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND55_R = crate::BitReader;
pub type ND55_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND56_R = crate::BitReader;
pub type ND56_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND57_R = crate::BitReader;
pub type ND57_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND58_R = crate::BitReader;
pub type ND58_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND59_R = crate::BitReader;
pub type ND59_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND60_R = crate::BitReader;
pub type ND60_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND61_R = crate::BitReader;
pub type ND61_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND62_R = crate::BitReader;
pub type ND62_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND63_R = crate::BitReader;
pub type ND63_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn nd32(&self) -> ND32_R {
ND32_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn nd33(&self) -> ND33_R {
ND33_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn nd34(&self) -> ND34_R {
ND34_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn nd35(&self) -> ND35_R {
ND35_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn nd36(&self) -> ND36_R {
ND36_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn nd37(&self) -> ND37_R {
ND37_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn nd38(&self) -> ND38_R {
ND38_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn nd39(&self) -> ND39_R {
ND39_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn nd40(&self) -> ND40_R {
ND40_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn nd41(&self) -> ND41_R {
ND41_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn nd42(&self) -> ND42_R {
ND42_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn nd43(&self) -> ND43_R {
ND43_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn nd44(&self) -> ND44_R {
ND44_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn nd45(&self) -> ND45_R {
ND45_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn nd46(&self) -> ND46_R {
ND46_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn nd47(&self) -> ND47_R {
ND47_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn nd48(&self) -> ND48_R {
ND48_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn nd49(&self) -> ND49_R {
ND49_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn nd50(&self) -> ND50_R {
ND50_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn nd51(&self) -> ND51_R {
ND51_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn nd52(&self) -> ND52_R {
ND52_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn nd53(&self) -> ND53_R {
ND53_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn nd54(&self) -> ND54_R {
ND54_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn nd55(&self) -> ND55_R {
ND55_R::new(((self.bits >> 23) & 1) != 0)
}
#[inline(always)]
pub fn nd56(&self) -> ND56_R {
ND56_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn nd57(&self) -> ND57_R {
ND57_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn nd58(&self) -> ND58_R {
ND58_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn nd59(&self) -> ND59_R {
ND59_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn nd60(&self) -> ND60_R {
ND60_R::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn nd61(&self) -> ND61_R {
ND61_R::new(((self.bits >> 29) & 1) != 0)
}
#[inline(always)]
pub fn nd62(&self) -> ND62_R {
ND62_R::new(((self.bits >> 30) & 1) != 0)
}
#[inline(always)]
pub fn nd63(&self) -> ND63_R {
ND63_R::new(((self.bits >> 31) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("NDAT2")
.field("nd32", &self.nd32())
.field("nd33", &self.nd33())
.field("nd34", &self.nd34())
.field("nd35", &self.nd35())
.field("nd36", &self.nd36())
.field("nd37", &self.nd37())
.field("nd38", &self.nd38())
.field("nd39", &self.nd39())
.field("nd40", &self.nd40())
.field("nd41", &self.nd41())
.field("nd42", &self.nd42())
.field("nd43", &self.nd43())
.field("nd44", &self.nd44())
.field("nd45", &self.nd45())
.field("nd46", &self.nd46())
.field("nd47", &self.nd47())
.field("nd48", &self.nd48())
.field("nd49", &self.nd49())
.field("nd50", &self.nd50())
.field("nd51", &self.nd51())
.field("nd52", &self.nd52())
.field("nd53", &self.nd53())
.field("nd54", &self.nd54())
.field("nd55", &self.nd55())
.field("nd56", &self.nd56())
.field("nd57", &self.nd57())
.field("nd58", &self.nd58())
.field("nd59", &self.nd59())
.field("nd60", &self.nd60())
.field("nd61", &self.nd61())
.field("nd62", &self.nd62())
.field("nd63", &self.nd63())
.finish()
}
}
impl W {
#[inline(always)]
pub fn nd32(&mut self) -> ND32_W<NDAT2rs> {
ND32_W::new(self, 0)
}
#[inline(always)]
pub fn nd33(&mut self) -> ND33_W<NDAT2rs> {
ND33_W::new(self, 1)
}
#[inline(always)]
pub fn nd34(&mut self) -> ND34_W<NDAT2rs> {
ND34_W::new(self, 2)
}
#[inline(always)]
pub fn nd35(&mut self) -> ND35_W<NDAT2rs> {
ND35_W::new(self, 3)
}
#[inline(always)]
pub fn nd36(&mut self) -> ND36_W<NDAT2rs> {
ND36_W::new(self, 4)
}
#[inline(always)]
pub fn nd37(&mut self) -> ND37_W<NDAT2rs> {
ND37_W::new(self, 5)
}
#[inline(always)]
pub fn nd38(&mut self) -> ND38_W<NDAT2rs> {
ND38_W::new(self, 6)
}
#[inline(always)]
pub fn nd39(&mut self) -> ND39_W<NDAT2rs> {
ND39_W::new(self, 7)
}
#[inline(always)]
pub fn nd40(&mut self) -> ND40_W<NDAT2rs> {
ND40_W::new(self, 8)
}
#[inline(always)]
pub fn nd41(&mut self) -> ND41_W<NDAT2rs> {
ND41_W::new(self, 9)
}
#[inline(always)]
pub fn nd42(&mut self) -> ND42_W<NDAT2rs> {
ND42_W::new(self, 10)
}
#[inline(always)]
pub fn nd43(&mut self) -> ND43_W<NDAT2rs> {
ND43_W::new(self, 11)
}
#[inline(always)]
pub fn nd44(&mut self) -> ND44_W<NDAT2rs> {
ND44_W::new(self, 12)
}
#[inline(always)]
pub fn nd45(&mut self) -> ND45_W<NDAT2rs> {
ND45_W::new(self, 13)
}
#[inline(always)]
pub fn nd46(&mut self) -> ND46_W<NDAT2rs> {
ND46_W::new(self, 14)
}
#[inline(always)]
pub fn nd47(&mut self) -> ND47_W<NDAT2rs> {
ND47_W::new(self, 15)
}
#[inline(always)]
pub fn nd48(&mut self) -> ND48_W<NDAT2rs> {
ND48_W::new(self, 16)
}
#[inline(always)]
pub fn nd49(&mut self) -> ND49_W<NDAT2rs> {
ND49_W::new(self, 17)
}
#[inline(always)]
pub fn nd50(&mut self) -> ND50_W<NDAT2rs> {
ND50_W::new(self, 18)
}
#[inline(always)]
pub fn nd51(&mut self) -> ND51_W<NDAT2rs> {
ND51_W::new(self, 19)
}
#[inline(always)]
pub fn nd52(&mut self) -> ND52_W<NDAT2rs> {
ND52_W::new(self, 20)
}
#[inline(always)]
pub fn nd53(&mut self) -> ND53_W<NDAT2rs> {
ND53_W::new(self, 21)
}
#[inline(always)]
pub fn nd54(&mut self) -> ND54_W<NDAT2rs> {
ND54_W::new(self, 22)
}
#[inline(always)]
pub fn nd55(&mut self) -> ND55_W<NDAT2rs> {
ND55_W::new(self, 23)
}
#[inline(always)]
pub fn nd56(&mut self) -> ND56_W<NDAT2rs> {
ND56_W::new(self, 24)
}
#[inline(always)]
pub fn nd57(&mut self) -> ND57_W<NDAT2rs> {
ND57_W::new(self, 25)
}
#[inline(always)]
pub fn nd58(&mut self) -> ND58_W<NDAT2rs> {
ND58_W::new(self, 26)
}
#[inline(always)]
pub fn nd59(&mut self) -> ND59_W<NDAT2rs> {
ND59_W::new(self, 27)
}
#[inline(always)]
pub fn nd60(&mut self) -> ND60_W<NDAT2rs> {
ND60_W::new(self, 28)
}
#[inline(always)]
pub fn nd61(&mut self) -> ND61_W<NDAT2rs> {
ND61_W::new(self, 29)
}
#[inline(always)]
pub fn nd62(&mut self) -> ND62_W<NDAT2rs> {
ND62_W::new(self, 30)
}
#[inline(always)]
pub fn nd63(&mut self) -> ND63_W<NDAT2rs> {
ND63_W::new(self, 31)
}
}
pub struct NDAT2rs;
impl crate::RegisterSpec for NDAT2rs {
type Ux = u32;
}
impl crate::Readable for NDAT2rs {}
impl crate::Writable for NDAT2rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for NDAT2rs {}