pub type R = crate::R<NDAT1rs>;
pub type W = crate::W<NDAT1rs>;
pub type ND0_R = crate::BitReader;
pub type ND0_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND1_R = crate::BitReader;
pub type ND1_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND2_R = crate::BitReader;
pub type ND2_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND3_R = crate::BitReader;
pub type ND3_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND4_R = crate::BitReader;
pub type ND4_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND5_R = crate::BitReader;
pub type ND5_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND6_R = crate::BitReader;
pub type ND6_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND7_R = crate::BitReader;
pub type ND7_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND8_R = crate::BitReader;
pub type ND8_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND9_R = crate::BitReader;
pub type ND9_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND10_R = crate::BitReader;
pub type ND10_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND11_R = crate::BitReader;
pub type ND11_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND12_R = crate::BitReader;
pub type ND12_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND13_R = crate::BitReader;
pub type ND13_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND14_R = crate::BitReader;
pub type ND14_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND15_R = crate::BitReader;
pub type ND15_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND16_R = crate::BitReader;
pub type ND16_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND17_R = crate::BitReader;
pub type ND17_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND18_R = crate::BitReader;
pub type ND18_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND19_R = crate::BitReader;
pub type ND19_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND20_R = crate::BitReader;
pub type ND20_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND21_R = crate::BitReader;
pub type ND21_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND22_R = crate::BitReader;
pub type ND22_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND23_R = crate::BitReader;
pub type ND23_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND24_R = crate::BitReader;
pub type ND24_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND25_R = crate::BitReader;
pub type ND25_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND26_R = crate::BitReader;
pub type ND26_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND27_R = crate::BitReader;
pub type ND27_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND28_R = crate::BitReader;
pub type ND28_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND29_R = crate::BitReader;
pub type ND29_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND30_R = crate::BitReader;
pub type ND30_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ND31_R = crate::BitReader;
pub type ND31_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn nd0(&self) -> ND0_R {
ND0_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn nd1(&self) -> ND1_R {
ND1_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn nd2(&self) -> ND2_R {
ND2_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn nd3(&self) -> ND3_R {
ND3_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn nd4(&self) -> ND4_R {
ND4_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn nd5(&self) -> ND5_R {
ND5_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn nd6(&self) -> ND6_R {
ND6_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn nd7(&self) -> ND7_R {
ND7_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn nd8(&self) -> ND8_R {
ND8_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn nd9(&self) -> ND9_R {
ND9_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn nd10(&self) -> ND10_R {
ND10_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn nd11(&self) -> ND11_R {
ND11_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn nd12(&self) -> ND12_R {
ND12_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn nd13(&self) -> ND13_R {
ND13_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn nd14(&self) -> ND14_R {
ND14_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn nd15(&self) -> ND15_R {
ND15_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn nd16(&self) -> ND16_R {
ND16_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn nd17(&self) -> ND17_R {
ND17_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn nd18(&self) -> ND18_R {
ND18_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn nd19(&self) -> ND19_R {
ND19_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn nd20(&self) -> ND20_R {
ND20_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn nd21(&self) -> ND21_R {
ND21_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn nd22(&self) -> ND22_R {
ND22_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn nd23(&self) -> ND23_R {
ND23_R::new(((self.bits >> 23) & 1) != 0)
}
#[inline(always)]
pub fn nd24(&self) -> ND24_R {
ND24_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn nd25(&self) -> ND25_R {
ND25_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn nd26(&self) -> ND26_R {
ND26_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn nd27(&self) -> ND27_R {
ND27_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn nd28(&self) -> ND28_R {
ND28_R::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn nd29(&self) -> ND29_R {
ND29_R::new(((self.bits >> 29) & 1) != 0)
}
#[inline(always)]
pub fn nd30(&self) -> ND30_R {
ND30_R::new(((self.bits >> 30) & 1) != 0)
}
#[inline(always)]
pub fn nd31(&self) -> ND31_R {
ND31_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("NDAT1")
.field("nd0", &self.nd0())
.field("nd1", &self.nd1())
.field("nd2", &self.nd2())
.field("nd3", &self.nd3())
.field("nd4", &self.nd4())
.field("nd5", &self.nd5())
.field("nd6", &self.nd6())
.field("nd7", &self.nd7())
.field("nd8", &self.nd8())
.field("nd9", &self.nd9())
.field("nd10", &self.nd10())
.field("nd11", &self.nd11())
.field("nd12", &self.nd12())
.field("nd13", &self.nd13())
.field("nd14", &self.nd14())
.field("nd15", &self.nd15())
.field("nd16", &self.nd16())
.field("nd17", &self.nd17())
.field("nd18", &self.nd18())
.field("nd19", &self.nd19())
.field("nd20", &self.nd20())
.field("nd21", &self.nd21())
.field("nd22", &self.nd22())
.field("nd23", &self.nd23())
.field("nd24", &self.nd24())
.field("nd25", &self.nd25())
.field("nd26", &self.nd26())
.field("nd27", &self.nd27())
.field("nd28", &self.nd28())
.field("nd29", &self.nd29())
.field("nd30", &self.nd30())
.field("nd31", &self.nd31())
.finish()
}
}
impl W {
#[inline(always)]
pub fn nd0(&mut self) -> ND0_W<NDAT1rs> {
ND0_W::new(self, 0)
}
#[inline(always)]
pub fn nd1(&mut self) -> ND1_W<NDAT1rs> {
ND1_W::new(self, 1)
}
#[inline(always)]
pub fn nd2(&mut self) -> ND2_W<NDAT1rs> {
ND2_W::new(self, 2)
}
#[inline(always)]
pub fn nd3(&mut self) -> ND3_W<NDAT1rs> {
ND3_W::new(self, 3)
}
#[inline(always)]
pub fn nd4(&mut self) -> ND4_W<NDAT1rs> {
ND4_W::new(self, 4)
}
#[inline(always)]
pub fn nd5(&mut self) -> ND5_W<NDAT1rs> {
ND5_W::new(self, 5)
}
#[inline(always)]
pub fn nd6(&mut self) -> ND6_W<NDAT1rs> {
ND6_W::new(self, 6)
}
#[inline(always)]
pub fn nd7(&mut self) -> ND7_W<NDAT1rs> {
ND7_W::new(self, 7)
}
#[inline(always)]
pub fn nd8(&mut self) -> ND8_W<NDAT1rs> {
ND8_W::new(self, 8)
}
#[inline(always)]
pub fn nd9(&mut self) -> ND9_W<NDAT1rs> {
ND9_W::new(self, 9)
}
#[inline(always)]
pub fn nd10(&mut self) -> ND10_W<NDAT1rs> {
ND10_W::new(self, 10)
}
#[inline(always)]
pub fn nd11(&mut self) -> ND11_W<NDAT1rs> {
ND11_W::new(self, 11)
}
#[inline(always)]
pub fn nd12(&mut self) -> ND12_W<NDAT1rs> {
ND12_W::new(self, 12)
}
#[inline(always)]
pub fn nd13(&mut self) -> ND13_W<NDAT1rs> {
ND13_W::new(self, 13)
}
#[inline(always)]
pub fn nd14(&mut self) -> ND14_W<NDAT1rs> {
ND14_W::new(self, 14)
}
#[inline(always)]
pub fn nd15(&mut self) -> ND15_W<NDAT1rs> {
ND15_W::new(self, 15)
}
#[inline(always)]
pub fn nd16(&mut self) -> ND16_W<NDAT1rs> {
ND16_W::new(self, 16)
}
#[inline(always)]
pub fn nd17(&mut self) -> ND17_W<NDAT1rs> {
ND17_W::new(self, 17)
}
#[inline(always)]
pub fn nd18(&mut self) -> ND18_W<NDAT1rs> {
ND18_W::new(self, 18)
}
#[inline(always)]
pub fn nd19(&mut self) -> ND19_W<NDAT1rs> {
ND19_W::new(self, 19)
}
#[inline(always)]
pub fn nd20(&mut self) -> ND20_W<NDAT1rs> {
ND20_W::new(self, 20)
}
#[inline(always)]
pub fn nd21(&mut self) -> ND21_W<NDAT1rs> {
ND21_W::new(self, 21)
}
#[inline(always)]
pub fn nd22(&mut self) -> ND22_W<NDAT1rs> {
ND22_W::new(self, 22)
}
#[inline(always)]
pub fn nd23(&mut self) -> ND23_W<NDAT1rs> {
ND23_W::new(self, 23)
}
#[inline(always)]
pub fn nd24(&mut self) -> ND24_W<NDAT1rs> {
ND24_W::new(self, 24)
}
#[inline(always)]
pub fn nd25(&mut self) -> ND25_W<NDAT1rs> {
ND25_W::new(self, 25)
}
#[inline(always)]
pub fn nd26(&mut self) -> ND26_W<NDAT1rs> {
ND26_W::new(self, 26)
}
#[inline(always)]
pub fn nd27(&mut self) -> ND27_W<NDAT1rs> {
ND27_W::new(self, 27)
}
#[inline(always)]
pub fn nd28(&mut self) -> ND28_W<NDAT1rs> {
ND28_W::new(self, 28)
}
#[inline(always)]
pub fn nd29(&mut self) -> ND29_W<NDAT1rs> {
ND29_W::new(self, 29)
}
#[inline(always)]
pub fn nd30(&mut self) -> ND30_W<NDAT1rs> {
ND30_W::new(self, 30)
}
#[inline(always)]
pub fn nd31(&mut self) -> ND31_W<NDAT1rs> {
ND31_W::new(self, 31)
}
}
pub struct NDAT1rs;
impl crate::RegisterSpec for NDAT1rs {
type Ux = u32;
}
impl crate::Readable for NDAT1rs {}
impl crate::Writable for NDAT1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for NDAT1rs {}